Package com.atlassian.jira.config
Class AbstractIssueConstantsManager<T extends IssueConstant>
java.lang.Object
com.atlassian.jira.config.AbstractIssueConstantsManager<T>
- Direct Known Subclasses:
DefaultIssueTypeManager
,DefaultPriorityManager
,DefaultResolutionManager
,DefaultStatusManager
- Since:
- v5.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ConstantsManager
protected final IssueIndexingService
protected final IssueManager
protected final OfBizDelegator
protected final QueryDslAccessor
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractIssueConstantsManager
(ConstantsManager constantsManager, OfBizDelegator ofBizDelegator, IssueIndexingService issueIndexingService, IssueManager issueManager, QueryDslAccessor queryDslAccessor) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected org.ofbiz.core.entity.GenericValue
createConstant
(Map<String, Object> fields) protected abstract String
protected long
protected String
protected void
protected void
protected void
postProcess
(T constant) protected void
removeConstant
(com.querydsl.core.types.dsl.StringPath field, T oldConstant, String newId) Removes a constant value.protected void
removePropertySet
(org.ofbiz.core.entity.GenericValue constantGv)
-
Field Details
-
constantsManager
-
ofBizDelegator
-
issueIndexingService
-
issueManager
-
queryDslAccessor
-
-
Constructor Details
-
AbstractIssueConstantsManager
protected AbstractIssueConstantsManager(ConstantsManager constantsManager, OfBizDelegator ofBizDelegator, IssueIndexingService issueIndexingService, IssueManager issueManager, QueryDslAccessor queryDslAccessor)
-
-
Method Details
-
createConstant
-
getMaxSequenceNo
protected long getMaxSequenceNo() -
getNextStringId
-
removeConstant
protected void removeConstant(com.querydsl.core.types.dsl.StringPath field, T oldConstant, String newId) throws org.ofbiz.core.entity.GenericEntityException, IndexException Removes a constant value.- Parameters:
field
- The field in QIssue which may contain the constantoldConstant
- The constant to be removednewId
- The ID of the constant to replace it with- Throws:
org.ofbiz.core.entity.GenericEntityException
IndexException
-
removePropertySet
protected void removePropertySet(org.ofbiz.core.entity.GenericValue constantGv) -
postProcess
-
clearCaches
protected void clearCaches() -
getIssueConstantField
-
getAllValues
-
moveUp
-
moveDown
-