Package com.atlassian.jira.project
Class DefaultProjectPropertiesManager
java.lang.Object
com.atlassian.jira.project.DefaultProjectPropertiesManager
- All Implemented Interfaces:
Startable
,InitializingComponent
,ProjectPropertiesManager
public class DefaultProjectPropertiesManager
extends Object
implements ProjectPropertiesManager, Startable, InitializingComponent
Default implementation for
ProjectPropertiesManager
.- Since:
- v6.1
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultProjectPropertiesManager
(com.atlassian.cache.CacheManager cacheManager, QueryDslAccessor queryDslAccessor, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called after all the beans are constructed and the ApplicationContext is fully populated.com.opensymphony.module.propertyset.PropertySet
getPropertySet
(long projectId) Retrieve all properties associated with the given project.com.opensymphony.module.propertyset.PropertySet
getPropertySet
(Project project) Retrieve all properties associated with the given project.void
onClearCache
(ClearCacheEvent event) void
void
start()
This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
-
Field Details
-
PROJECT_ENTITY_NAME
- See Also:
-
-
Constructor Details
-
DefaultProjectPropertiesManager
public DefaultProjectPropertiesManager(com.atlassian.cache.CacheManager cacheManager, QueryDslAccessor queryDslAccessor, com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
-
-
Method Details
-
afterInstantiation
Description copied from interface:InitializingComponent
Called after all the beans are constructed and the ApplicationContext is fully populated. Order of execution is order of bean creation, driven by InitializingComponentProcessor.- Specified by:
afterInstantiation
in interfaceInitializingComponent
- Throws:
Exception
-
start
Description copied from interface:Startable
This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework. -
getPropertySet
Description copied from interface:ProjectPropertiesManager
Retrieve all properties associated with the given project.The returned PropertySet is mutable and could be used to directly update data in database.
- Specified by:
getPropertySet
in interfaceProjectPropertiesManager
- Parameters:
project
- project- Returns:
- the property set associated with the project
-
getPropertySet
public com.opensymphony.module.propertyset.PropertySet getPropertySet(long projectId) Description copied from interface:ProjectPropertiesManager
Retrieve all properties associated with the given project.The returned PropertySet is mutable and could be used to directly update data in database.
- Specified by:
getPropertySet
in interfaceProjectPropertiesManager
- Parameters:
projectId
- ID of the project- Returns:
- the property set associated with the project
-
onClearCache
-
onDatabaseImportCompleted
-