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 aGenericValue
that represents aScheme
and 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 aGenericValue
that represents aScheme
and aCollection
of GenericValue's representing aSchemeEntity
and 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 aGenericValue
that represents aScheme
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 Details
-
getScheme
Will take aGenericValue
that represents aScheme
and return the actual Scheme object and it's associated entities.- Parameters:
schemeGV
-- Returns:
- the scheme represented by the GenericValue
-
getSchemes
-
getSchemeWithEntitiesComparable
Will take aGenericValue
that represents aScheme
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
-
getScheme
Scheme getScheme(org.ofbiz.core.entity.GenericValue schemeGV, Collection<org.ofbiz.core.entity.GenericValue> schemeEntityGVs) This will take aGenericValue
that represents aScheme
and aCollection
of GenericValue's representing aSchemeEntity
and return the actual Scheme object and it's associated entities as objects.- Parameters:
schemeGV
-- Returns:
- the scheme represented by the GenericValue
-