com.atlassian.jira.scheme
Class DefaultSchemeFactory

java.lang.Object
  extended by com.atlassian.jira.scheme.DefaultSchemeFactory
All Implemented Interfaces:
SchemeFactory

public class DefaultSchemeFactory
extends Object
implements SchemeFactory

The implementation of the SchemeFactory


Field Summary
static String ISSUE_SECURITY_SCHEME
           
static String NOTIFICATION_SCHEME
           
static String PERMISSION_SCHEME
           
static String WORKFLOW_SCHEME
           
 
Constructor Summary
DefaultSchemeFactory()
           
 
Method Summary
 Scheme getScheme(org.ofbiz.core.entity.GenericValue schemeGV)
          Will take a GenericValue that represents a Scheme and return the actual Scheme object and it's associated entities.
 Scheme getScheme(org.ofbiz.core.entity.GenericValue schemeGV, Collection<org.ofbiz.core.entity.GenericValue> schemeEntityGVs)
          This will take a GenericValue that represents a Scheme and a Collection of GenericValue's representing a SchemeEntity and return the actual Scheme object and it's associated entities as objects.
 List<Scheme> getSchemes(List<org.ofbiz.core.entity.GenericValue> schemeGVs)
           
 List<Scheme> getSchemesWithEntitiesComparable(List<org.ofbiz.core.entity.GenericValue> schemeGVs)
           
 Scheme getSchemeWithEntitiesComparable(org.ofbiz.core.entity.GenericValue schemeGV)
          Will take a GenericValue that represents a Scheme and return the actual Scheme object and it's associated entities, NOTE: the entities returned from this method will not have the id field populated this allows you to test the equality of entities ignoring the fact that they are actually representing different records in the persistent store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOTIFICATION_SCHEME

public static final String NOTIFICATION_SCHEME
See Also:
Constant Field Values

PERMISSION_SCHEME

public static final String PERMISSION_SCHEME
See Also:
Constant Field Values

ISSUE_SECURITY_SCHEME

public static final String ISSUE_SECURITY_SCHEME
See Also:
Constant Field Values

WORKFLOW_SCHEME

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

DefaultSchemeFactory

public DefaultSchemeFactory()
Method Detail

getScheme

public Scheme getScheme(org.ofbiz.core.entity.GenericValue schemeGV)
                 throws DataAccessException
Description copied from interface: SchemeFactory
Will take a GenericValue that represents a Scheme and return the actual Scheme object and it's associated entities.

Specified by:
getScheme in interface SchemeFactory
Returns:
the scheme represented by the GenericValue
Throws:
DataAccessException

getSchemes

public List<Scheme> getSchemes(List<org.ofbiz.core.entity.GenericValue> schemeGVs)
                        throws DataAccessException
Specified by:
getSchemes in interface SchemeFactory
Throws:
DataAccessException

getSchemeWithEntitiesComparable

public Scheme getSchemeWithEntitiesComparable(org.ofbiz.core.entity.GenericValue schemeGV)
Description copied from interface: SchemeFactory
Will take a GenericValue that represents a Scheme and return the actual Scheme object and it's associated entities, NOTE: the entities returned from this method will not have the id field populated this allows you to test the equality of entities ignoring the fact that they are actually representing different records in the persistent store.

Specified by:
getSchemeWithEntitiesComparable in interface SchemeFactory
Returns:
the scheme represented by the GenericValue

getSchemesWithEntitiesComparable

public List<Scheme> getSchemesWithEntitiesComparable(List<org.ofbiz.core.entity.GenericValue> schemeGVs)
Specified by:
getSchemesWithEntitiesComparable in interface SchemeFactory

getScheme

public Scheme getScheme(org.ofbiz.core.entity.GenericValue schemeGV,
                        Collection<org.ofbiz.core.entity.GenericValue> schemeEntityGVs)
Description copied from interface: SchemeFactory
This will take a GenericValue that represents a Scheme and a Collection of GenericValue's representing a SchemeEntity and return the actual Scheme object and it's associated entities as objects.

Specified by:
getScheme in interface SchemeFactory
Returns:
the scheme represented by the GenericValue


Copyright © 2002-2015 Atlassian. All Rights Reserved.