Interface SchemeFactory

All Known Implementing Classes:
DefaultSchemeFactory

public interface SchemeFactory
This will create a Scheme
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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.
    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 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 Details

    • 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