public interface

SchemeFactory

com.atlassian.jira.scheme.SchemeFactory
Known Indirect Subclasses

Class Overview

This will create a Scheme

Summary

Public Methods
Scheme getScheme(GenericValue schemeGV, Collection<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.
Scheme getScheme(GenericValue schemeGV)
Will take a GenericValue that represents a Scheme and return the actual Scheme object and it's associated entities.
Scheme getSchemeWithEntitiesComparable(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.
List<Scheme> getSchemes(List<GenericValue> schemeGVs)
List<Scheme> getSchemesWithEntitiesComparable(List<GenericValue> schemeGVs)

Public Methods

public Scheme getScheme (GenericValue schemeGV, Collection<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.

Returns
  • the scheme represented by the GenericValue

public Scheme getScheme (GenericValue schemeGV)

Will take a GenericValue that represents a Scheme and return the actual Scheme object and it's associated entities.

Returns
  • the scheme represented by the GenericValue

public Scheme getSchemeWithEntitiesComparable (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.

Returns
  • the scheme represented by the GenericValue

public List<Scheme> getSchemes (List<GenericValue> schemeGVs)

public List<Scheme> getSchemesWithEntitiesComparable (List<GenericValue> schemeGVs)