com.atlassian.jira.config
Interface ConstantsManager
- All Known Implementing Classes:
- DefaultConstantsManager
- public interface ConstantsManager
Method Summary |
boolean |
constantExists(java.lang.String constantType,
java.lang.String name)
|
void |
createIssueType(java.lang.String name,
java.lang.Long sequence,
java.lang.String style,
java.lang.String description,
java.lang.String iconurl)
Note this metod does not validate the input - i.e. |
java.util.List |
expandIssueTypeIds(java.util.Collection issueTypeIds)
Converts the 'special' ids of issue types to a list of issue type ids
For example, converts a special id to a list of all sub-task issue types |
java.util.List |
getAllIssueTypes()
|
org.ofbiz.core.entity.GenericValue |
getConstant(java.lang.String constantType,
java.lang.String id)
|
org.ofbiz.core.entity.GenericValue |
getConstantByName(java.lang.String constantType,
java.lang.String name)
|
java.util.List |
getEditableSubTaskIssueTypes()
|
org.ofbiz.core.entity.GenericValue |
getIssueType(java.lang.String id)
|
java.util.Collection |
getIssueTypes()
|
java.util.Collection |
getPriorities()
|
org.ofbiz.core.entity.GenericValue |
getPriority(java.lang.String id)
|
org.ofbiz.core.entity.GenericValue |
getResolution(java.lang.String id)
|
java.util.Collection |
getResolutions()
|
org.ofbiz.core.entity.GenericValue |
getStatus(java.lang.String id)
|
java.util.Collection |
getStatuses()
|
java.util.Collection |
getSubTaskIssueTypes()
Retrieves all the sub-task issue types |
void |
refresh()
|
void |
refreshIssueTypes()
|
void |
refreshPriorities()
|
void |
refreshResolutions()
|
void |
refreshStatuses()
|
void |
removeIssueType(java.lang.String id)
|
void |
storeIssueTypes(java.util.List issueTypes)
|
void |
updateIssueType(java.lang.String id,
java.lang.String name,
java.lang.Long sequence,
java.lang.String style,
java.lang.String description,
java.lang.String iconurl)
|
ALL_STANDARD_ISSUE_TYPES
public static final java.lang.String ALL_STANDARD_ISSUE_TYPES
- See Also:
- Constant Field Values
ALL_SUB_TASK_ISSUE_TYPES
public static final java.lang.String ALL_SUB_TASK_ISSUE_TYPES
- See Also:
- Constant Field Values
ALL_ISSUE_TYPES
public static final java.lang.String ALL_ISSUE_TYPES
- See Also:
- Constant Field Values
PRIORITY_CONSTANT_TYPE
public static final java.lang.String PRIORITY_CONSTANT_TYPE
- See Also:
- Constant Field Values
STATUS_CONSTANT_TYPE
public static final java.lang.String STATUS_CONSTANT_TYPE
- See Also:
- Constant Field Values
RESOLUTION_CONSTANT_TYPE
public static final java.lang.String RESOLUTION_CONSTANT_TYPE
- See Also:
- Constant Field Values
ISSUE_TYPE_CONSTANT_TYPE
public static final java.lang.String ISSUE_TYPE_CONSTANT_TYPE
- See Also:
- Constant Field Values
getPriorities
public java.util.Collection getPriorities()
getPriority
public org.ofbiz.core.entity.GenericValue getPriority(java.lang.String id)
refreshPriorities
public void refreshPriorities()
getResolutions
public java.util.Collection getResolutions()
getResolution
public org.ofbiz.core.entity.GenericValue getResolution(java.lang.String id)
refreshResolutions
public void refreshResolutions()
getIssueTypes
public java.util.Collection getIssueTypes()
getIssueType
public org.ofbiz.core.entity.GenericValue getIssueType(java.lang.String id)
refreshIssueTypes
public void refreshIssueTypes()
getStatus
public org.ofbiz.core.entity.GenericValue getStatus(java.lang.String id)
getStatuses
public java.util.Collection getStatuses()
refreshStatuses
public void refreshStatuses()
getConstant
public org.ofbiz.core.entity.GenericValue getConstant(java.lang.String constantType,
java.lang.String id)
constantExists
public boolean constantExists(java.lang.String constantType,
java.lang.String name)
createIssueType
public void createIssueType(java.lang.String name,
java.lang.Long sequence,
java.lang.String style,
java.lang.String description,
java.lang.String iconurl)
throws CreateException
- Note this metod does not validate the input - i.e. It does not check for duplicate names etc.
- Parameters:
name
- sequence
- style
- description
- iconurl
-
- Throws:
CreateException
updateIssueType
public void updateIssueType(java.lang.String id,
java.lang.String name,
java.lang.Long sequence,
java.lang.String style,
java.lang.String description,
java.lang.String iconurl)
throws StoreException
- Throws:
StoreException
removeIssueType
public void removeIssueType(java.lang.String id)
throws RemoveException
- Throws:
RemoveException
getConstantByName
public org.ofbiz.core.entity.GenericValue getConstantByName(java.lang.String constantType,
java.lang.String name)
getSubTaskIssueTypes
public java.util.Collection getSubTaskIssueTypes()
- Retrieves all the sub-task issue types
- Returns:
getEditableSubTaskIssueTypes
public java.util.List getEditableSubTaskIssueTypes()
getAllIssueTypes
public java.util.List getAllIssueTypes()
storeIssueTypes
public void storeIssueTypes(java.util.List issueTypes)
throws StoreException
- Throws:
StoreException
refresh
public void refresh()
expandIssueTypeIds
public java.util.List expandIssueTypeIds(java.util.Collection issueTypeIds)
- Converts the 'special' ids of issue types to a list of issue type ids
For example, converts a special id to a list of all sub-task issue types
- Parameters:
issueTypeIds
-
- Returns:
Copyright © 2002-2005 Atlassian. All Rights Reserved.