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 ConstantsManagerprotected final IssueIndexingServiceprotected final IssueManagerprotected final OfBizDelegatorprotected final QueryDslAccessor -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractIssueConstantsManager(ConstantsManager constantsManager, OfBizDelegator ofBizDelegator, IssueIndexingService issueIndexingService, IssueManager issueManager, QueryDslAccessor queryDslAccessor) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected org.ofbiz.core.entity.GenericValuecreateConstant(Map<String, Object> fields) protected abstract Stringprotected longprotected Stringprotected voidprotected voidprotected voidpostProcess(T constant) protected voidremoveConstant(com.querydsl.core.types.dsl.StringPath field, T oldConstant, String newId) Removes a constant value.protected voidremovePropertySet(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.GenericEntityExceptionIndexException
-
removePropertySet
protected void removePropertySet(org.ofbiz.core.entity.GenericValue constantGv) -
postProcess
-
clearCaches
protected void clearCaches() -
getIssueConstantField
-
getAllValues
-
moveUp
-
moveDown
-