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, 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.
 

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

List<Scheme> getSchemes(List<org.ofbiz.core.entity.GenericValue> 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

List<Scheme> getSchemesWithEntitiesComparable(List<org.ofbiz.core.entity.GenericValue> schemeGVs)

getScheme

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.

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.