com.atlassian.jira.config
Class AbstractIssueConstantsManager<T extends IssueConstant>

java.lang.Object
  extended by com.atlassian.jira.config.AbstractIssueConstantsManager<T>
Direct Known Subclasses:
DefaultIssueTypeManager, DefaultPriorityManager, DefaultResolutionManager, DefaultStatusManager

public abstract class AbstractIssueConstantsManager<T extends IssueConstant>
extends Object

Since:
v5.0

Field Summary
protected  ConstantsManager constantsManager
           
protected  IssueIndexManager issueIndexManager
           
protected  OfBizDelegator ofBizDelegator
           
 
Constructor Summary
AbstractIssueConstantsManager(ConstantsManager constantsManager, OfBizDelegator ofBizDelegator, IssueIndexManager issueIndexManager)
           
 
Method Summary
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(String fieldName, T constant, String newId)
           
protected  void removePropertySet(org.ofbiz.core.entity.GenericValue constantGv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

constantsManager

protected final ConstantsManager constantsManager

ofBizDelegator

protected final OfBizDelegator ofBizDelegator

issueIndexManager

protected final IssueIndexManager issueIndexManager
Constructor Detail

AbstractIssueConstantsManager

public AbstractIssueConstantsManager(ConstantsManager constantsManager,
                                     OfBizDelegator ofBizDelegator,
                                     IssueIndexManager issueIndexManager)
Method Detail

createConstant

protected org.ofbiz.core.entity.GenericValue createConstant(Map<String,Object> fields)

getMaxSequenceNo

protected long getMaxSequenceNo()

getNextStringId

protected String getNextStringId()
                          throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

removeConstant

protected void removeConstant(String fieldName,
                              T constant,
                              String newId)
                       throws org.ofbiz.core.entity.GenericEntityException,
                              IndexException
Throws:
org.ofbiz.core.entity.GenericEntityException
IndexException

removePropertySet

protected void removePropertySet(org.ofbiz.core.entity.GenericValue constantGv)

postProcess

protected void postProcess(T constant)

clearCaches

protected void clearCaches()

getIssueConstantField

protected abstract String getIssueConstantField()

getAllValues

protected abstract List<T> getAllValues()

moveUp

protected void moveUp(T constant)

moveDown

protected void moveDown(T constant)


Copyright © 2002-2015 Atlassian. All Rights Reserved.