com.atlassian.jira.issue.customfields.persistence
Interface CustomFieldPersister
- All Known Implementing Classes:
- OfBizCustomFieldPersister
- public interface CustomFieldPersister
Method Summary |
void |
createValues(CustomField field,
java.lang.Long issueId,
java.lang.String defaultValueMarker,
PersistenceFieldType persistenceFieldType,
java.util.Collection value)
|
void |
createValues(CustomField field,
java.lang.Long issueId,
java.lang.String defaultValueMarker,
PersistenceFieldType persistenceFieldType,
java.util.Collection values,
java.lang.String parentKey)
|
java.util.List |
getDefaultValues(CustomField field,
PersistenceFieldType persistenceFieldType)
|
java.util.List |
getDefaultValuesForParent(CustomField field,
PersistenceFieldType persistenceFieldType,
java.lang.String parentKey)
|
java.util.Set |
getIssueIdsWithValue(CustomField field,
PersistenceFieldType persistenceFieldType,
java.lang.Object value)
Return a set of issue ids that have a certain value. |
java.util.List |
getSupportedDatabaseTypes()
|
java.util.List |
getValues(CustomField field,
java.lang.Long issueId,
java.lang.String type,
PersistenceFieldType persistenceFieldType)
|
java.util.List |
getValues(CustomField field,
java.lang.Long issueId,
java.lang.String type,
PersistenceFieldType persistenceFieldType,
java.lang.String parentKey)
|
void |
removeAllDefaultValues(CustomField field,
PersistenceFieldType persistenceFieldType)
|
java.util.Set |
removeAllValues(CustomField field)
called when removing a field. |
java.util.Set |
removeValue(CustomField field,
java.lang.Long issueId,
java.lang.String defaultValueMarker,
PersistenceFieldType persistenceFieldType,
java.lang.Object value)
|
void |
setDefaultValues(CustomField field,
PersistenceFieldType persistenceFieldType,
java.util.Collection values,
java.lang.String parentKey)
|
void |
updateValues(CustomField field,
java.lang.Long issueId,
java.lang.String defaultValueMarker,
PersistenceFieldType persistenceFieldType,
java.util.Collection values)
|
void |
updateValues(CustomField field,
java.lang.Long issueId,
java.lang.String defaultValueMarker,
PersistenceFieldType persistenceFieldType,
java.util.Collection values,
java.lang.String parentKey)
|
getSupportedDatabaseTypes
public java.util.List getSupportedDatabaseTypes()
createValues
public void createValues(CustomField field,
java.lang.Long issueId,
java.lang.String defaultValueMarker,
PersistenceFieldType persistenceFieldType,
java.util.Collection value)
updateValues
public void updateValues(CustomField field,
java.lang.Long issueId,
java.lang.String defaultValueMarker,
PersistenceFieldType persistenceFieldType,
java.util.Collection values)
getValues
public java.util.List getValues(CustomField field,
java.lang.Long issueId,
java.lang.String type,
PersistenceFieldType persistenceFieldType)
getIssueIdsWithValue
public java.util.Set getIssueIdsWithValue(CustomField field,
PersistenceFieldType persistenceFieldType,
java.lang.Object value)
- Return a set of issue ids that have a certain value. This is used when you need to do a global
'swap' of a certain custom field value
removeAllValues
public java.util.Set removeAllValues(CustomField field)
- called when removing a field.
return issue IDs affected.
setDefaultValues
public void setDefaultValues(CustomField field,
PersistenceFieldType persistenceFieldType,
java.util.Collection values,
java.lang.String parentKey)
getDefaultValues
public java.util.List getDefaultValues(CustomField field,
PersistenceFieldType persistenceFieldType)
getDefaultValuesForParent
public java.util.List getDefaultValuesForParent(CustomField field,
PersistenceFieldType persistenceFieldType,
java.lang.String parentKey)
createValues
public void createValues(CustomField field,
java.lang.Long issueId,
java.lang.String defaultValueMarker,
PersistenceFieldType persistenceFieldType,
java.util.Collection values,
java.lang.String parentKey)
updateValues
public void updateValues(CustomField field,
java.lang.Long issueId,
java.lang.String defaultValueMarker,
PersistenceFieldType persistenceFieldType,
java.util.Collection values,
java.lang.String parentKey)
removeValue
public java.util.Set removeValue(CustomField field,
java.lang.Long issueId,
java.lang.String defaultValueMarker,
PersistenceFieldType persistenceFieldType,
java.lang.Object value)
getValues
public java.util.List getValues(CustomField field,
java.lang.Long issueId,
java.lang.String type,
PersistenceFieldType persistenceFieldType,
java.lang.String parentKey)
removeAllDefaultValues
public void removeAllDefaultValues(CustomField field,
PersistenceFieldType persistenceFieldType)
Copyright © 2002-2005 Atlassian. All Rights Reserved.