Package com.atlassian.jira.scheme
Interface SchemeFactory
- All Known Implementing Classes:
DefaultSchemeFactory
public interface SchemeFactory
This will create a Scheme
-
Method Summary
Modifier and TypeMethodDescriptiongetScheme(org.ofbiz.core.entity.GenericValue schemeGV) Will take aGenericValuethat represents aSchemeand return the actual Scheme object and it's associated entities.getScheme(org.ofbiz.core.entity.GenericValue schemeGV, Collection<org.ofbiz.core.entity.GenericValue> schemeEntityGVs) This will take aGenericValuethat represents aSchemeand aCollectionof GenericValue's representing aSchemeEntityand return the actual Scheme object and it's associated entities as objects.getSchemes(List<org.ofbiz.core.entity.GenericValue> schemeGVs) getSchemesWithEntitiesComparable(List<org.ofbiz.core.entity.GenericValue> schemeGVs) getSchemeWithEntitiesComparable(org.ofbiz.core.entity.GenericValue schemeGV) Will take aGenericValuethat represents aSchemeand 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 Details
-
getScheme
Will take aGenericValuethat represents aSchemeand return the actual Scheme object and it's associated entities.- Parameters:
schemeGV-- Returns:
- the scheme represented by the GenericValue
-
getSchemes
-
getSchemeWithEntitiesComparable
Will take aGenericValuethat represents aSchemeand 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
-
getScheme
Scheme getScheme(org.ofbiz.core.entity.GenericValue schemeGV, Collection<org.ofbiz.core.entity.GenericValue> schemeEntityGVs) This will take aGenericValuethat represents aSchemeand aCollectionof GenericValue's representing aSchemeEntityand return the actual Scheme object and it's associated entities as objects.- Parameters:
schemeGV-- Returns:
- the scheme represented by the GenericValue
-