com.atlassian.jira.scheme
Interface SchemeFactory

All Known Implementing Classes:
DefaultSchemeFactory

public interface SchemeFactory

This will create a Scheme


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, java.util.Collection 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.
 java.util.List getSchemes(java.util.List schemeGVs)
           
 java.util.List getSchemesWithEntitiesComparable(java.util.List 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.
 

Method Detail

getScheme

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.

Parameters:
schemeGV -
Returns:
the scheme represented by the GenericValue

getSchemes

java.util.List getSchemes(java.util.List schemeGVs)

getSchemeWithEntitiesComparable

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.

Parameters:
schemeGV -
Returns:
the scheme represented by the GenericValue

getSchemesWithEntitiesComparable

java.util.List getSchemesWithEntitiesComparable(java.util.List schemeGVs)

getScheme

Scheme getScheme(org.ofbiz.core.entity.GenericValue schemeGV,
                 java.util.Collection 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.

Parameters:
schemeGV -
Returns:
the scheme represented by the GenericValue


Copyright © 2002-2011 Atlassian. All Rights Reserved.