|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.muni.fi.rtc.teacherWorkbench.importer.PeopleImporter
public class PeopleImporter
Constructor Summary | |
---|---|
PeopleImporter(ImporterConfiguration conf)
Constructs new Importer using the configuration passed as argument |
Method Summary | |
---|---|
void |
importUsers(java.util.Collection<ImportedPerson> users)
Inserts the users to the LDAP database and creates their account in RTC assigning them default licence. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PeopleImporter(ImporterConfiguration conf) throws ImporterException
conf
- Configuration of the importer
ImporterException
- If the configuration values are not correct or connection to some services failsMethod Detail |
---|
public void importUsers(java.util.Collection<ImportedPerson> users) throws ImporterException
users
-
ImporterException
- Thrown when: - Class not configured correctly - Mandatory
fields of some users are not filled (checked before writting
to LDAP -- atomic fail)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |