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 TypeMethodDescriptionvoidCalled after all the beans are constructed and the ApplicationContext is fully populated.com.opensymphony.module.propertyset.PropertySetgetPropertySet(long projectId) Retrieve all properties associated with the given project.com.opensymphony.module.propertyset.PropertySetgetPropertySet(Project project) Retrieve all properties associated with the given project.voidonClearCache(ClearCacheEvent event) voidvoidstart()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:InitializingComponentCalled 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:
afterInstantiationin interfaceInitializingComponent- Throws:
Exception
-
start
Description copied from interface:StartableThis 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:ProjectPropertiesManagerRetrieve all properties associated with the given project.The returned PropertySet is mutable and could be used to directly update data in database.
- Specified by:
getPropertySetin 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:ProjectPropertiesManagerRetrieve all properties associated with the given project.The returned PropertySet is mutable and could be used to directly update data in database.
- Specified by:
getPropertySetin interfaceProjectPropertiesManager- Parameters:
projectId- ID of the project- Returns:
- the property set associated with the project
-
onClearCache
-
onDatabaseImportCompleted
-