|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SchemeDistiller
This defines a interface for an object that is able to take a collection of Scheme
objects
and determine if these objects are the same (i.e. - all the SchemeEntity
's in the scheme
are the same). This will then take all the same schemes and create a new 'distilled' scheme from
these. This object will then be able to persist this new scheme and update all project associations
from the original 'undistilled' schemes to the newly created 'distilled' scheme.
Method Summary | |
---|---|
DistilledSchemeResults |
distillSchemes(Collection schemes)
This method does the work of analyzing and distilling, if possible, the passed in Scheme 's. |
SchemeRelationships |
getSchemeRelationships(DistilledSchemeResults distilledSchemeResults)
This method will return a SchemeRelationships object for the internal collections of distilled scheme results. |
Scheme |
persistNewSchemeMappings(DistilledSchemeResult distilledSchemeResult)
This method will persist the result of the 'distilling' operation. |
Method Detail |
---|
DistilledSchemeResults distillSchemes(Collection schemes)
Scheme
's.
schemes
- a collection of Scheme
objects representing the schemes that you would like to
try to 'distill'.
DistilledSchemeResults
for full details.
The object will contain empty collections if null or an empty collection is passed in.Scheme persistNewSchemeMappings(DistilledSchemeResult distilledSchemeResult) throws DataAccessException
distilledSchemeResult
-
DataAccessException
- if something goes wrong at the db level.SchemeRelationships getSchemeRelationships(DistilledSchemeResults distilledSchemeResults)
distilledSchemeResults
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |