|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Manager for issue types, statuses, priorities and resolutions.
Field Summary | |
static String |
ALL_ISSUE_TYPES
|
static String |
ALL_STANDARD_ISSUE_TYPES
|
static String |
ALL_SUB_TASK_ISSUE_TYPES
|
static String |
ISSUE_TYPE_CONSTANT_TYPE
|
static String |
PRIORITY_CONSTANT_TYPE
|
static String |
RESOLUTION_CONSTANT_TYPE
|
static String |
STATUS_CONSTANT_TYPE
|
Method Summary | |
boolean |
constantExists(String constantType,
String name)
|
List |
convertToConstantObjects(String constantType,
Collection ids)
Converts the list of ids to the objects of appropriate types |
org.ofbiz.core.entity.GenericValue |
createIssueType(String name,
Long sequence,
String style,
String description,
String iconurl)
Note this metod does not validate the input - i.e. |
List |
expandIssueTypeIds(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 |
List |
getAllIssueTypeIds()
|
Collection |
getAllIssueTypeObjects()
|
List |
getAllIssueTypes()
|
org.ofbiz.core.entity.GenericValue |
getConstant(String constantType,
String id)
|
org.ofbiz.core.entity.GenericValue |
getConstantByName(String constantType,
String name)
|
IssueConstant |
getConstantObject(String constantType,
String id)
Returns an IssueConstant object for the given type & id. |
Collection |
getConstantObjects(String constantType)
|
org.ofbiz.core.entity.GenericValue |
getDefaultPriority()
|
List |
getEditableSubTaskIssueTypes()
|
IssueConstant |
getIssueConstant(org.ofbiz.core.entity.GenericValue issueConstantGV)
|
org.ofbiz.core.entity.GenericValue |
getIssueType(String id)
|
IssueType |
getIssueTypeObject(String id)
|
Collection |
getIssueTypes()
Retrieve regular (non-subtask) issue types. |
Collection |
getPriorities()
|
org.ofbiz.core.entity.GenericValue |
getPriority(String id)
|
Priority |
getPriorityObject(String id)
|
Collection |
getPriorityObjects()
|
Collection |
getRegularIssueTypeObjects()
|
org.ofbiz.core.entity.GenericValue |
getResolution(String id)
|
Resolution |
getResolutionObject(String id)
|
Collection |
getResolutionObjects()
|
Collection |
getResolutions()
Deprecated. We should look to use getResolutionObjects instead |
org.ofbiz.core.entity.GenericValue |
getStatus(String id)
|
Status |
getStatusByName(String name)
|
Collection |
getStatuses()
|
Status |
getStatusObject(String id)
|
Collection |
getStatusObjects()
|
Collection |
getSubTaskIssueTypeObjects()
|
Collection |
getSubTaskIssueTypes()
Retrieves all the sub-task issue types |
void |
refresh()
|
void |
refreshIssueTypes()
|
void |
refreshPriorities()
|
void |
refreshResolutions()
|
void |
refreshStatuses()
|
void |
removeIssueType(String id)
|
void |
storeIssueTypes(List issueTypes)
|
void |
updateIssueType(String id,
String name,
Long sequence,
String style,
String description,
String iconurl)
|
void |
validateCreateIssueType(String name,
String style,
String description,
String iconurl,
ErrorCollection errors,
String nameFieldName)
|
Field Detail |
public static final String ALL_STANDARD_ISSUE_TYPES
public static final String ALL_SUB_TASK_ISSUE_TYPES
public static final String ALL_ISSUE_TYPES
public static final String PRIORITY_CONSTANT_TYPE
public static final String STATUS_CONSTANT_TYPE
public static final String RESOLUTION_CONSTANT_TYPE
public static final String ISSUE_TYPE_CONSTANT_TYPE
Method Detail |
public Collection getPriorities()
public Collection getPriorityObjects()
public org.ofbiz.core.entity.GenericValue getPriority(String id)
public Priority getPriorityObject(String id)
public org.ofbiz.core.entity.GenericValue getDefaultPriority()
public void refreshPriorities()
public Collection getResolutions()
GenericValue
s.public Collection getResolutionObjects()
public org.ofbiz.core.entity.GenericValue getResolution(String id)
public Resolution getResolutionObject(String id)
public void refreshResolutions()
public Collection getIssueTypes()
GenericValue
spublic org.ofbiz.core.entity.GenericValue getIssueType(String id)
public IssueType getIssueTypeObject(String id)
public void refreshIssueTypes()
public org.ofbiz.core.entity.GenericValue getStatus(String id)
public Status getStatusObject(String id)
public Collection getStatuses()
public Collection getStatusObjects()
public void refreshStatuses()
public org.ofbiz.core.entity.GenericValue getConstant(String constantType, String id)
public IssueConstant getConstantObject(String constantType, String id)
IssueConstant
object for the given type & id.
constantType
- case insensitiveid
- of the constant
public Collection getConstantObjects(String constantType)
public List convertToConstantObjects(String constantType, Collection ids)
constantType
- the constant type. Case insenstiveids
- list of constant ids or GenericValues
public boolean constantExists(String constantType, String name)
public org.ofbiz.core.entity.GenericValue createIssueType(String name, Long sequence, String style, String description, String iconurl) throws CreateException
name
- sequence
- style
- description
- iconurl
-
CreateException
public void validateCreateIssueType(String name, String style, String description, String iconurl, ErrorCollection errors, String nameFieldName)
public void updateIssueType(String id, String name, Long sequence, String style, String description, String iconurl) throws StoreException
StoreException
public void removeIssueType(String id) throws RemoveException
RemoveException
public org.ofbiz.core.entity.GenericValue getConstantByName(String constantType, String name)
public Collection getSubTaskIssueTypes()
public List getEditableSubTaskIssueTypes()
public List getAllIssueTypes()
public void storeIssueTypes(List issueTypes) throws StoreException
StoreException
public void refresh()
public List expandIssueTypeIds(Collection issueTypeIds)
issueTypeIds
- public List getAllIssueTypeIds()
public IssueConstant getIssueConstant(org.ofbiz.core.entity.GenericValue issueConstantGV)
public Collection getAllIssueTypeObjects()
public Collection getRegularIssueTypeObjects()
public Collection getSubTaskIssueTypeObjects()
public Status getStatusByName(String name)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |