|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.bc.scheme.distiller.DefaultSchemeDistillerService
public class DefaultSchemeDistillerService
Constructor Summary | |
---|---|
DefaultSchemeDistillerService(SchemeDistiller schemeDistiller,
SchemeManagerFactory schemeManagerFactory,
PermissionManager permissionManager,
JiraAuthenticationContext jiraAuthenticationContext,
SchemeFactory schemeFactory)
|
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. |
DistilledSchemeResults |
distillSchemes(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. |
SchemeRelationships |
getSchemeRelationships(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. |
void |
isValidNewSchemeName(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. |
Scheme |
persistNewSchemeMappings(User user,
DistilledSchemeResult distilledSchemeResult,
ErrorCollection errorCollection)
This method will persist the result of the 'distilling' operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSchemeDistillerService(SchemeDistiller schemeDistiller, SchemeManagerFactory schemeManagerFactory, PermissionManager permissionManager, JiraAuthenticationContext jiraAuthenticationContext, SchemeFactory schemeFactory)
Method Detail |
---|
public DistilledSchemeResults distillSchemes(com.atlassian.crowd.embedded.api.User user, Collection schemes, ErrorCollection errorCollection)
SchemeDistillerService
Scheme
's.
distillSchemes
in interface SchemeDistillerService
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.public DistilledSchemeResults distillSchemes(User user, Collection schemes, ErrorCollection errorCollection)
SchemeDistillerService
Scheme
's.
distillSchemes
in interface SchemeDistillerService
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.public Scheme persistNewSchemeMappings(com.atlassian.crowd.embedded.api.User user, DistilledSchemeResult distilledSchemeResult, ErrorCollection errorCollection) throws DataAccessException
SchemeDistillerService
persistNewSchemeMappings
in interface SchemeDistillerService
DataAccessException
- if something goes wrong at the db level.public Scheme persistNewSchemeMappings(User user, DistilledSchemeResult distilledSchemeResult, ErrorCollection errorCollection) throws DataAccessException
SchemeDistillerService
persistNewSchemeMappings
in interface SchemeDistillerService
DataAccessException
- if something goes wrong at the db level.public SchemeRelationships getSchemeRelationships(com.atlassian.crowd.embedded.api.User user, DistilledSchemeResults distilledSchemeResults, ErrorCollection errorCollection)
SchemeDistillerService
getSchemeRelationships
in interface SchemeDistillerService
public SchemeRelationships getSchemeRelationships(User user, DistilledSchemeResults distilledSchemeResults, ErrorCollection errorCollection)
SchemeDistillerService
getSchemeRelationships
in interface SchemeDistillerService
public void isValidNewSchemeName(com.atlassian.crowd.embedded.api.User user, String fieldName, String newSchemeName, String schemeType, ErrorCollection errorCollection)
SchemeDistillerService
isValidNewSchemeName
in interface SchemeDistillerService
public void isValidNewSchemeName(User user, String fieldName, String newSchemeName, String schemeType, ErrorCollection errorCollection)
SchemeDistillerService
isValidNewSchemeName
in interface SchemeDistillerService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |