|
||||||||||
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 | |
---|---|
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. |
Set<Directory> |
retrieveRemoteSourceDirectory(Configuration configuration)
The retrieve the set of remote source directories. |
boolean |
supportsMultipleDirectories(Configuration configuration)
Some sources might be capable of handling more than one directory. |
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 importvoid init(Configuration configuration)
configuration
- can contain any setup params such as database settings that need init'ingClass getConfigurationType()
boolean supportsMultipleDirectories(Configuration configuration) throws ImporterException
configuration
- the Importer Configuration
ImporterException
- if there is an error figuring out source directories.Set<Directory> retrieveRemoteSourceDirectory(Configuration configuration) throws ImporterException
configuration
- the import configuration.
ImporterException
- will be thrown if an error occurs connecting,
or if the provided configuration
is invalid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |