public abstract class AbstractIssueConstantsManager<T extends IssueConstant> extends Object
Modifier and Type | Field and Description |
---|---|
protected ConstantsManager |
constantsManager |
protected IssueIndexingService |
issueIndexingService |
protected IssueManager |
issueManager |
protected OfBizDelegator |
ofBizDelegator |
protected QueryDslAccessor |
queryDslAccessor |
Constructor and Description |
---|
AbstractIssueConstantsManager(ConstantsManager constantsManager,
OfBizDelegator ofBizDelegator,
IssueIndexingService issueIndexingService,
IssueManager issueManager,
QueryDslAccessor queryDslAccessor) |
Modifier and Type | Method and Description |
---|---|
protected void |
clearCaches() |
protected org.ofbiz.core.entity.GenericValue |
createConstant(Map<String,Object> fields) |
protected abstract List<T> |
getAllValues() |
protected abstract String |
getIssueConstantField() |
protected long |
getMaxSequenceNo() |
protected String |
getNextStringId() |
protected void |
moveDown(T constant) |
protected void |
moveUp(T constant) |
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) |
protected final ConstantsManager constantsManager
protected final OfBizDelegator ofBizDelegator
protected final IssueIndexingService issueIndexingService
protected final IssueManager issueManager
protected final QueryDslAccessor queryDslAccessor
public AbstractIssueConstantsManager(ConstantsManager constantsManager, OfBizDelegator ofBizDelegator, IssueIndexingService issueIndexingService, IssueManager issueManager, QueryDslAccessor queryDslAccessor)
protected org.ofbiz.core.entity.GenericValue createConstant(Map<String,Object> fields)
protected long getMaxSequenceNo()
protected String getNextStringId() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
protected void removeConstant(com.querydsl.core.types.dsl.StringPath field, T oldConstant, String newId) throws org.ofbiz.core.entity.GenericEntityException, IndexException
field
- The field in QIssue which may contain the constantoldConstant
- The constant to be removednewId
- The ID of the constant to replace it withorg.ofbiz.core.entity.GenericEntityException
IndexException
protected void removePropertySet(org.ofbiz.core.entity.GenericValue constantGv)
protected void postProcess(T constant)
protected void clearCaches()
protected abstract String getIssueConstantField()
protected void moveUp(T constant)
protected void moveDown(T constant)
Copyright © 2002-2019 Atlassian. All Rights Reserved.