com.atlassian.jira.issue.customfields.persistence
Interface CustomFieldValuePersister

All Known Implementing Classes:
EagerLoadingOfBizCustomFieldPersister, OfBizCustomFieldValuePersister

public interface CustomFieldValuePersister


Method Summary
 void createValues(CustomField field, Long issueId, PersistenceFieldType persistenceFieldType, Collection value)
           
 void createValues(CustomField field, Long issueId, PersistenceFieldType persistenceFieldType, Collection values, String parentKey)
           
 Set getIssueIdsWithValue(CustomField field, PersistenceFieldType persistenceFieldType, Object value)
          Return a set of issue ids that have a certain value.
 List getValues(CustomField field, Long issueId, PersistenceFieldType persistenceFieldType)
           
 List getValues(CustomField field, Long issueId, PersistenceFieldType persistenceFieldType, String parentKey)
           
 Set removeAllValues(CustomField field)
          called when removing a field.
 Set removeValue(CustomField field, Long issueId, PersistenceFieldType persistenceFieldType, Object value)
           
 void updateValues(CustomField field, Long issueId, PersistenceFieldType persistenceFieldType, Collection values)
           
 void updateValues(CustomField field, Long issueId, PersistenceFieldType persistenceFieldType, Collection values, String parentKey)
           
 

Method Detail

createValues

void createValues(CustomField field,
                  Long issueId,
                  PersistenceFieldType persistenceFieldType,
                  Collection value)

createValues

void createValues(CustomField field,
                  Long issueId,
                  PersistenceFieldType persistenceFieldType,
                  Collection values,
                  String parentKey)

updateValues

void updateValues(CustomField field,
                  Long issueId,
                  PersistenceFieldType persistenceFieldType,
                  Collection values)

updateValues

void updateValues(CustomField field,
                  Long issueId,
                  PersistenceFieldType persistenceFieldType,
                  Collection values,
                  String parentKey)

removeValue

Set removeValue(CustomField field,
                Long issueId,
                PersistenceFieldType persistenceFieldType,
                Object value)

getValues

List getValues(CustomField field,
               Long issueId,
               PersistenceFieldType persistenceFieldType)

getValues

List getValues(CustomField field,
               Long issueId,
               PersistenceFieldType persistenceFieldType,
               String parentKey)

getIssueIdsWithValue

Set getIssueIdsWithValue(CustomField field,
                         PersistenceFieldType persistenceFieldType,
                         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

Set removeAllValues(CustomField field)
called when removing a field. return issue IDs affected.



Copyright © 2002-2008 Atlassian. All Rights Reserved.