public interface CustomFieldValuePersister
Modifier and Type | Method and Description |
---|---|
void |
createValues(CustomField field,
Long issueId,
PersistenceFieldType persistenceFieldType,
Collection value) |
void |
createValues(CustomField field,
Long issueId,
PersistenceFieldType persistenceFieldType,
Collection values,
String parentKey) |
Set<Long> |
getIssueIdsWithValue(CustomField field,
PersistenceFieldType persistenceFieldType,
Object value)
Return a set of issue ids that have a certain value.
|
List<Object> |
getValues(CustomField field,
Long issueId,
PersistenceFieldType persistenceFieldType) |
List<Object> |
getValues(CustomField field,
Long issueId,
PersistenceFieldType persistenceFieldType,
String parentKey) |
Set<Long> |
removeAllValues(String customFieldId)
Called when removing a field.
|
Set<Long> |
removeValue(CustomField field,
Long issueId,
PersistenceFieldType persistenceFieldType,
Object value)
Removes a specific custom field value for the given custom field, from a given issue, of a particular type.
|
void |
updateValues(CustomField field,
Long issueId,
PersistenceFieldType persistenceFieldType,
Collection values) |
void |
updateValues(CustomField field,
Long issueId,
PersistenceFieldType persistenceFieldType,
Collection values,
String parentKey) |
void createValues(CustomField field, Long issueId, PersistenceFieldType persistenceFieldType, Collection value)
void createValues(CustomField field, Long issueId, PersistenceFieldType persistenceFieldType, Collection values, @Nullable String parentKey)
void updateValues(CustomField field, Long issueId, PersistenceFieldType persistenceFieldType, Collection values)
void updateValues(CustomField field, Long issueId, PersistenceFieldType persistenceFieldType, Collection values, @Nullable String parentKey)
Set<Long> removeValue(CustomField field, Long issueId, PersistenceFieldType persistenceFieldType, Object value)
field
- the custom field.issueId
- the issue.persistenceFieldType
- the data type of the valuevalue
- the value to delete.List<Object> getValues(CustomField field, Long issueId, PersistenceFieldType persistenceFieldType)
List<Object> getValues(CustomField field, Long issueId, PersistenceFieldType persistenceFieldType, String parentKey)
Set<Long> getIssueIdsWithValue(CustomField field, PersistenceFieldType persistenceFieldType, Object value)
field
- CustomFieldpersistenceFieldType
- PersistenceFieldTypevalue
- Value objectCopyright © 2002-2015 Atlassian. All Rights Reserved.