|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.importer.importers.ConfluenceImporter
public class ConfluenceImporter
This class handles the delegation of the import of Confluence Groups, Users and their memberships into Crowd.
Constructor Summary | |
---|---|
ConfluenceImporter(DirectoryManager directoryManager,
PasswordHelper passwordHelper)
|
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)
This method will handle the importing of Users, Groups and Memberships from Confluence. |
void |
init(Configuration configuration)
Initialise anything required for the import process. |
void |
setJdbcTemplate(JdbcConfiguration configuration)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfluenceImporter(DirectoryManager directoryManager, PasswordHelper passwordHelper)
Method Detail |
---|
public Result importUsersGroupsAndMemberships(Configuration configuration) throws ImporterException
importUsersGroupsAndMemberships
in interface Importer
configuration
- the configuration required for the import
ImporterException
- general exception if anything happened during the importpublic java.util.Collection<GroupMembership> findGroupMemberships(Configuration configuration) throws ImporterException
Importer
findGroupMemberships
in interface Importer
configuration
- the Importer Configuration
ImporterException
- if there is an error finding group membershipspublic java.util.Collection<GroupTemplate> findGroups(Configuration configuration) throws ImporterException
Importer
findGroups
in interface Importer
configuration
- the Importer Configuration
ImporterException
- if there is an error finding the groupspublic java.util.Collection<UserTemplateWithCredentialAndAttributes> findUsers(Configuration configuration) throws ImporterException
Importer
findUsers
in interface Importer
configuration
- the Importer Configuration
ImporterException
- if there is an error finding the userspublic void init(Configuration configuration)
Importer
init
in interface Importer
configuration
- can contain any setup params such as database settings that need init'ingpublic java.lang.Class getConfigurationType()
Importer
getConfigurationType
in interface Importer
public void setJdbcTemplate(JdbcConfiguration configuration)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |