|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.importer.importers.BaseImporter
com.atlassian.crowd.importer.importers.CsvImporter
public class CsvImporter
This class is responsible for importing users, groups and their memberships from two CSV files.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.crowd.importer.importers.BaseImporter |
|---|
directoryManager |
| Constructor Summary | |
|---|---|
CsvImporter(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. |
void |
init(Configuration configuration)
Initialise anything required for the import process. |
| Methods inherited from class com.atlassian.crowd.importer.importers.BaseImporter |
|---|
importGroupMemberships, importGroups, importUsers, importUsersGroupsAndMemberships |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.atlassian.crowd.importer.importers.Importer |
|---|
importUsersGroupsAndMemberships |
| Constructor Detail |
|---|
public CsvImporter(DirectoryManager directoryManager,
PasswordHelper passwordHelper)
| Method Detail |
|---|
public void init(Configuration configuration)
Importer
init in interface Importerconfiguration - can contain any setup params such as database settings that need init'ingpublic java.lang.Class getConfigurationType()
Importer
getConfigurationType in interface Importerpublic java.util.Collection<GroupMembership> findGroupMemberships(Configuration configuration)
Importer
findGroupMemberships in interface Importerconfiguration - the Importer Configuration
public java.util.Collection<GroupTemplate> findGroups(Configuration configuration)
Importer
findGroups in interface Importerconfiguration - the Importer Configuration
public java.util.Collection<UserTemplateWithCredentialAndAttributes> findUsers(Configuration configuration)
Importer
findUsers in interface Importerconfiguration - the Importer Configuration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||