java.lang.Object | |
↳ | com.atlassian.jira.issue.context.persistence.CachingFieldConfigContextPersister |
@Internal
classes and interfaces can not expect to be compatible with any version
other than the version they were compiled against (even minor version and milestone releases may break binary
compatibility with respect to @Internal
elements).
Caching decorator for FieldConfigContextPersister
. This corresponds to the configurationcontext
table, which is essentially an association table between CustomField
and either a ProjectCategory
or a Project
, but not both (in practice it is always a
Project). Each association also has FieldConfigScheme
as a property of the association, and this is where
things like default values for custom fields are ultimately stored. When both the project and projectCategory are
null, then that database row is in fact a special row holding the FieldConfigScheme for the "Global Context".
See CustomField Configuration - DB Entity Model for a more in-depth explanation of how this all works.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new CachingFieldConfigContextPersister that wraps a new FieldConfigContextPersisterImpl instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clears this CachingFieldConfigContextPersister's cache upon receiving a ClearCacheEvent.
| |||||||||||
Registers this CachingFieldConfigContextPersister's cache in the JIRA instrumentation.
| |||||||||||
Bulk store fieldId/contextNode/scheme triplets.
| |||||||||||
Store a fieldId/contextNode/scheme triplet.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||||||||||
From interface
com.atlassian.jira.extension.Startable
| |||||||||||||||||||||||||
From interface
com.atlassian.jira.issue.context.persistence.FieldConfigContextPersister
|
Creates a new CachingFieldConfigContextPersister that wraps a new FieldConfigContextPersisterImpl instance.
delegator | the OfBizDelegator |
---|---|
projectManager | the ProjectManager |
Clears this CachingFieldConfigContextPersister's cache upon receiving a ClearCacheEvent.
clearCacheEvent | a ClearCacheEvent |
---|
Registers this CachingFieldConfigContextPersister's cache in the JIRA instrumentation.
Exception |
---|
Bulk store fieldId/contextNode/scheme triplets.
Store a fieldId/contextNode/scheme triplet.