com.atlassian.jira.issue.context.persistence
Class FieldConfigContextPersisterImpl

java.lang.Object
  extended by com.atlassian.jira.issue.context.persistence.FieldConfigContextPersisterImpl
All Implemented Interfaces:
com.atlassian.bandana.BandanaPersister, FieldConfigContextPersister

public class FieldConfigContextPersisterImpl
extends Object
implements FieldConfigContextPersister


Field Summary
static String ENTITY_CONFIG
           
static String ENTITY_KEY
           
static String ENTITY_PROJECT
           
static String ENTITY_PROJECT_CATEGORY
           
static String ENTITY_TABLE_NAME
           
 
Constructor Summary
FieldConfigContextPersisterImpl(OfBizDelegator delegator, ProjectManager projectManager, JiraContextTreeManager treeManager)
           
 
Method Summary
 void flushCaches()
           
 List<JiraContextNode> getAllContextsForConfigScheme(FieldConfigScheme fieldConfigScheme)
           
 List getAllContextsForCustomField(String key)
           
 void remove(com.atlassian.bandana.BandanaContext context)
           
 void remove(com.atlassian.bandana.BandanaContext context, String key)
           
 void removeContextsForConfigScheme(Long fieldConfigSchemeId)
           
 void removeContextsForProject(org.ofbiz.core.entity.GenericValue project)
           
 void removeContextsForProjectCategory(org.ofbiz.core.entity.GenericValue projectCategory)
           
 Object retrieve(com.atlassian.bandana.BandanaContext context, String key)
          Returns a Long object representing the id of the FieldConfigScheme
 void store(com.atlassian.bandana.BandanaContext context, String key, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENTITY_TABLE_NAME

public static final String ENTITY_TABLE_NAME
See Also:
Constant Field Values

ENTITY_PROJECT_CATEGORY

public static final String ENTITY_PROJECT_CATEGORY
See Also:
Constant Field Values

ENTITY_PROJECT

public static final String ENTITY_PROJECT
See Also:
Constant Field Values

ENTITY_KEY

public static final String ENTITY_KEY
See Also:
Constant Field Values

ENTITY_CONFIG

public static final String ENTITY_CONFIG
See Also:
Constant Field Values
Constructor Detail

FieldConfigContextPersisterImpl

public FieldConfigContextPersisterImpl(OfBizDelegator delegator,
                                       ProjectManager projectManager,
                                       JiraContextTreeManager treeManager)
Method Detail

getAllContextsForCustomField

public List getAllContextsForCustomField(String key)
Specified by:
getAllContextsForCustomField in interface FieldConfigContextPersister

getAllContextsForConfigScheme

public List<JiraContextNode> getAllContextsForConfigScheme(FieldConfigScheme fieldConfigScheme)
Specified by:
getAllContextsForConfigScheme in interface FieldConfigContextPersister

removeContextsForConfigScheme

public void removeContextsForConfigScheme(Long fieldConfigSchemeId)
Specified by:
removeContextsForConfigScheme in interface FieldConfigContextPersister

removeContextsForProject

public void removeContextsForProject(org.ofbiz.core.entity.GenericValue project)
Specified by:
removeContextsForProject in interface FieldConfigContextPersister

removeContextsForProjectCategory

public void removeContextsForProjectCategory(org.ofbiz.core.entity.GenericValue projectCategory)
Specified by:
removeContextsForProjectCategory in interface FieldConfigContextPersister

retrieve

public Object retrieve(com.atlassian.bandana.BandanaContext context,
                       String key)
Returns a Long object representing the id of the FieldConfigScheme

Specified by:
retrieve in interface com.atlassian.bandana.BandanaPersister
Parameters:
context -
key -

store

public void store(com.atlassian.bandana.BandanaContext context,
                  String key,
                  Object value)
Specified by:
store in interface com.atlassian.bandana.BandanaPersister

flushCaches

public void flushCaches()
Specified by:
flushCaches in interface com.atlassian.bandana.BandanaPersister

remove

public void remove(com.atlassian.bandana.BandanaContext context)
Specified by:
remove in interface com.atlassian.bandana.BandanaPersister

remove

public void remove(com.atlassian.bandana.BandanaContext context,
                   String key)
Specified by:
remove in interface com.atlassian.bandana.BandanaPersister


Copyright © 2002-2009 Atlassian. All Rights Reserved.