|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.issue.managers.DefaultCustomFieldManager
Constructor Summary | |
DefaultCustomFieldManager()
|
Method Summary | |
GenericValue |
createCustomField(java.lang.String fieldName,
java.lang.String description,
int fieldType,
java.lang.String defaultValue,
java.lang.Long project,
java.lang.String issueType,
java.util.List selectValues)
|
GenericValue |
getCustomField(java.lang.Long id)
|
java.util.List |
getCustomField(java.lang.String name)
|
CustomField |
getCustomFieldObject(java.lang.Long id)
|
java.util.List |
getCustomFieldObjects()
|
java.util.List |
getCustomFieldObjects(GenericValue project,
java.util.List issueTypes)
|
GenericValue |
getCustomFieldOption(java.lang.Long id)
|
java.util.List |
getCustomFieldOptions(GenericValue customField)
|
java.util.List |
getCustomFields()
Get all custom fields. |
java.util.List |
getCustomFields(GenericValue issue)
Get all the custom fields for a particular issue. |
java.util.List |
getCustomFields(java.util.List issueTypes,
java.lang.Long projectId)
|
java.util.List |
getCustomFields(java.lang.String issueType,
java.lang.Long projectId)
Get all the custom fields for a particular issue type and project. |
java.util.List |
getCustomFields(java.lang.String issueType,
java.lang.Long projectId,
int customFieldType)
Get all the custom fields for a particular issue type, project and custom field type. |
java.util.List |
getCustomFieldsForType(java.lang.String typeId)
Return custom fields specific to a certain type of issue. |
java.util.List |
getValidCustomFields(java.util.List issueTypes,
java.lang.Long projectId)
|
void |
moveCustomFieldOptionValues(GenericValue customFieldOption,
java.lang.String moveTo)
|
void |
refresh()
|
void |
removeCustomField(GenericValue customField)
|
void |
removeCustomFieldOption(GenericValue customFieldOption)
|
void |
removeCustomFieldOptionValues(GenericValue genericValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultCustomFieldManager()
Method Detail |
public GenericValue createCustomField(java.lang.String fieldName, java.lang.String description, int fieldType, java.lang.String defaultValue, java.lang.Long project, java.lang.String issueType, java.util.List selectValues) throws GenericEntityException
createCustomField
in interface CustomFieldManager
GenericEntityException
public GenericValue getCustomField(java.lang.Long id) throws GenericEntityException
getCustomField
in interface CustomFieldManager
GenericEntityException
public java.util.List getCustomField(java.lang.String name) throws GenericEntityException
getCustomField
in interface CustomFieldManager
GenericEntityException
public java.util.List getCustomFields(GenericValue issue) throws GenericEntityException
CustomFieldManager
getCustomFields
in interface CustomFieldManager
issue
- The issue to get custom fields for.
GenericEntityException
public java.util.List getCustomFields(java.lang.String issueType, java.lang.Long projectId) throws GenericEntityException
CustomFieldManager
getCustomFields
in interface CustomFieldManager
GenericEntityException
public java.util.List getCustomFields(java.util.List issueTypes, java.lang.Long projectId) throws GenericEntityException
getCustomFields
in interface CustomFieldManager
GenericEntityException
public java.util.List getValidCustomFields(java.util.List issueTypes, java.lang.Long projectId) throws GenericEntityException
getValidCustomFields
in interface CustomFieldManager
GenericEntityException
public CustomField getCustomFieldObject(java.lang.Long id)
getCustomFieldObject
in interface CustomFieldManager
public java.util.List getCustomFieldObjects()
getCustomFieldObjects
in interface CustomFieldManager
public void refresh()
refresh
in interface CustomFieldManager
public java.util.List getCustomFieldsForType(java.lang.String typeId) throws GenericEntityException
getCustomFieldsForType
in interface CustomFieldManager
typeId
- Custom field type (eg. IssueFieldConstants.NEWFEATURE_TYPE_ID
GenericEntityException
public java.util.List getCustomFieldObjects(GenericValue project, java.util.List issueTypes)
getCustomFieldObjects
in interface CustomFieldManager
public java.util.List getCustomFields(java.lang.String issueType, java.lang.Long projectId, int customFieldType) throws GenericEntityException
CustomFieldManager
getCustomFields
in interface CustomFieldManager
GenericEntityException
public java.util.List getCustomFields() throws GenericEntityException
CustomFieldManager
getCustomFields
in interface CustomFieldManager
GenericEntityException
public GenericValue getCustomFieldOption(java.lang.Long id) throws GenericEntityException
getCustomFieldOption
in interface CustomFieldManager
GenericEntityException
public java.util.List getCustomFieldOptions(GenericValue customField) throws GenericEntityException
getCustomFieldOptions
in interface CustomFieldManager
GenericEntityException
public void removeCustomField(GenericValue customField) throws GenericEntityException
removeCustomField
in interface CustomFieldManager
GenericEntityException
public void moveCustomFieldOptionValues(GenericValue customFieldOption, java.lang.String moveTo) throws GenericEntityException
moveCustomFieldOptionValues
in interface CustomFieldManager
GenericEntityException
public void removeCustomFieldOption(GenericValue customFieldOption) throws GenericEntityException
removeCustomFieldOption
in interface CustomFieldManager
GenericEntityException
public void removeCustomFieldOptionValues(GenericValue genericValue) throws GenericEntityException
removeCustomFieldOptionValues
in interface CustomFieldManager
GenericEntityException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |