java.lang.Object | |
↳ | com.atlassian.jira.propertyset.DefaultJiraPropertySetFactory |
Default implementation of the JiraPropertySetFactory. It relies heavily on the
com.opensymphony.module.propertyset.ofbiz.OFBizPropertySet
CachingOfBizPropertySet
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This constructor is deprecated.
This is a component. Get it injected or ask the ComponentAccessor for it instead of constructing it.
| |||||||||||
Constructor for use by the DI container.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This is the old form of
buildCachingDefaultPropertySet(String) . | |||||||||||
Returns a caching
PropertySet for the given entity name and an assumed
entity ID of 1 . | |||||||||||
Returns a caching
PropertySet for the given entity name and ID. | |||||||||||
Returns a
PropertySet that caches the return values of the PropertySet that is provided. | |||||||||||
This is the old form of
buildCachingPropertySet(String, Long) . | |||||||||||
Returns an in-memory copy of a property set from the database.
| |||||||||||
Returns a non-caching
PropertySet for the given entity name and ID. | |||||||||||
Returns a non-caching
PropertySet for the given entity name and an assumed
entity ID of 1 . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
This constructor is deprecated.
This is a component. Get it injected or ask the ComponentAccessor for it instead of constructing it.
Constructor for use by plugins that wrongly instantiate their own instance, e.g. see JRADEV-23709.
Constructor for use by the DI container.
jiraCachingPropertySetManager | required |
---|
This is the old form of buildCachingDefaultPropertySet(String)
.
Its bulkLoad
option is no longer significant.
entityName | the entity name for the entity that owns this property set |
---|---|
bulkLoad | Ignored |
PropertySet
Returns a caching PropertySet
for the given entity name and an assumed
entity ID of 1
.
entityName | the entity name for the entity that owns this property set |
---|
PropertySet
Returns a caching PropertySet
for the given entity name and ID.
entityName | the entity name for the entity that owns this property set |
---|---|
entityId | the entity ID for the entity that owns this property set |
PropertySet
Returns a PropertySet
that caches the return values of the PropertySet
that is provided.
This can be used to provide short-term caching around another property set implementation, but its use
is now discouraged.
WARNING: These property sets are not cluster-safe and generally not safe to hold
onto for extended time periods. They do not share cache state with any other cached property set,
even if exactly the same delegate propertySet
is supplied to this method multiple times.
propertySet | the PropertySet to which requests should be delegated when the request is not cached |
---|---|
bulkLoad | If true , then all properties will be loaded into the cache during initialisation of the
property set. |
PropertySet
which wraps the supplied property set with a short term, non-cluster-safe cacheThis is the old form of buildCachingPropertySet(String, Long)
.
Its bulkLoad
option is no longer significant.
entityName | the entity name for the entity that owns this property set |
---|---|
entityId | the entity ID for the entity that owns this property set |
bulkLoad | Ignored |
PropertySet
Returns an in-memory copy of a property set from the database. This property set will not have its configuration saved to the database on each change. It is up to the caller of this method to manually synchronize the returned property set with the database.
entityName | the entity name for the entity that owns this property set |
---|---|
entityId | the entity ID for the entity that owns this property set |
PropertySet
held completely in memory. Changes will not be
written to the database.
Returns a non-caching PropertySet
for the given entity name and ID.
entityName | the entity name for the entity that owns this property set |
---|---|
entityId | the entity ID for the entity that owns this property set |
PropertySet
Returns a non-caching PropertySet
for the given entity name and an assumed
entity ID of 1
.
entityName | the entity name for the entity that owns this property set |
---|
PropertySet