Class DefaultSchemeFactory

java.lang.Object
com.atlassian.jira.scheme.DefaultSchemeFactory
All Implemented Interfaces:
SchemeFactory

public class DefaultSchemeFactory extends Object implements SchemeFactory
The implementation of the SchemeFactory
  • Field Details

  • Constructor Details

    • DefaultSchemeFactory

      public DefaultSchemeFactory()
  • Method Details

    • getScheme

      public Scheme getScheme(org.ofbiz.core.entity.GenericValue schemeGV) throws DataAccessException
      Description copied from interface: SchemeFactory
      Will take a GenericValue that represents a Scheme and return the actual Scheme object and it's associated entities.
      Specified by:
      getScheme in interface SchemeFactory
      Returns:
      the scheme represented by the GenericValue
      Throws:
      DataAccessException
    • getSchemes

      public List<Scheme> getSchemes(List<org.ofbiz.core.entity.GenericValue> schemeGVs) throws DataAccessException
      Specified by:
      getSchemes in interface SchemeFactory
      Throws:
      DataAccessException
    • getSchemeWithEntitiesComparable

      public Scheme getSchemeWithEntitiesComparable(org.ofbiz.core.entity.GenericValue schemeGV)
      Description copied from interface: SchemeFactory
      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.
      Specified by:
      getSchemeWithEntitiesComparable in interface SchemeFactory
      Returns:
      the scheme represented by the GenericValue
    • getSchemesWithEntitiesComparable

      public List<Scheme> getSchemesWithEntitiesComparable(List<org.ofbiz.core.entity.GenericValue> schemeGVs)
      Specified by:
      getSchemesWithEntitiesComparable in interface SchemeFactory
    • getScheme

      public Scheme getScheme(org.ofbiz.core.entity.GenericValue schemeGV, Collection<org.ofbiz.core.entity.GenericValue> schemeEntityGVs)
      Description copied from interface: SchemeFactory
      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.
      Specified by:
      getScheme in interface SchemeFactory
      Returns:
      the scheme represented by the GenericValue