|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Importer
Classes that extend this interface will manage the import of users, groups and their memberships from a given application (or file) into Crowd.
| Method Summary | |
|---|---|
java.util.Collection<GroupMembership> |
findGroupMemberships(Configuration configuration)
Will locate and build a collection of GroupMembership objects based on the passed in Configuration |
java.util.Collection<GroupTemplate> |
findGroups(Configuration configuration)
Will locate and build a collection of GroupTemplate objects based on the passed in Configuration |
java.util.Collection<UserTemplateWithCredentialAndAttributes> |
findUsers(Configuration configuration)
Will locate and build a collection of UserTemplate objects based on the passed in Configuration |
java.lang.Class |
getConfigurationType()
The type of configuration being used for this Import. |
Result |
importUsersGroupsAndMemberships(Configuration configuration)
Responsible for the import of both users and groups into Crowd using the given Configuration |
void |
init(Configuration configuration)
Initialise anything required for the import process. |
| Method Detail |
|---|
Result importUsersGroupsAndMemberships(Configuration configuration)
throws ImporterException
Configuration
configuration - the Configuration, this could be a JDBC configuration or a CSVConfiguration
ImporterException - general exception if anything happened during the import
java.util.Collection<GroupMembership> findGroupMemberships(Configuration configuration)
throws ImporterException
configuration - the Importer Configuration
ImporterException - if there is an error finding group memberships
java.util.Collection<GroupTemplate> findGroups(Configuration configuration)
throws ImporterException
configuration - the Importer Configuration
ImporterException - if there is an error finding the groups
java.util.Collection<UserTemplateWithCredentialAndAttributes> findUsers(Configuration configuration)
throws ImporterException
configuration - the Importer Configuration
ImporterException - if there is an error finding the usersvoid init(Configuration configuration)
configuration - can contain any setup params such as database settings that need init'ingjava.lang.Class getConfigurationType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||