|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SchemeDistillerService
This is a service wrapper around the manager implementation. All validation will be carried out in the service.
Method Summary | |
---|---|
DistilledSchemeResults |
distillSchemes(com.atlassian.crowd.embedded.api.User user,
Collection schemes,
ErrorCollection errorCollection)
This method does the work of analyzing and distilling, if possible, the passed in Scheme 's. |
SchemeRelationships |
getSchemeRelationships(com.atlassian.crowd.embedded.api.User user,
DistilledSchemeResults distilledSchemeResults,
ErrorCollection errorCollection)
This method will return a SchemeRelationships object for the internal collections of distilled scheme results. |
void |
isValidNewSchemeName(com.atlassian.crowd.embedded.api.User user,
String fieldName,
String newSchemeName,
String schemeType,
ErrorCollection errorCollection)
This method checks if the new scheme name passed in already exists. |
Scheme |
persistNewSchemeMappings(com.atlassian.crowd.embedded.api.User user,
DistilledSchemeResult distilledSchemeResult,
ErrorCollection errorCollection)
This method will persist the result of the 'distilling' operation. |
Method Detail |
---|
DistilledSchemeResults distillSchemes(com.atlassian.crowd.embedded.api.User user, Collection schemes, ErrorCollection errorCollection)
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(com.atlassian.crowd.embedded.api.User user, DistilledSchemeResult distilledSchemeResult, ErrorCollection errorCollection) throws DataAccessException
distilledSchemeResult
-
DataAccessException
- if something goes wrong at the db level.SchemeRelationships getSchemeRelationships(com.atlassian.crowd.embedded.api.User user, DistilledSchemeResults distilledSchemeResults, ErrorCollection errorCollection)
distilledSchemeResults
-
void isValidNewSchemeName(com.atlassian.crowd.embedded.api.User user, String fieldName, String newSchemeName, String schemeType, ErrorCollection errorCollection)
newSchemeName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |