|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.muni.fi.rtc.teacherWorkbench.importer.ProjectImporter
public class ProjectImporter
Constructor Summary | |
---|---|
ProjectImporter(ImporterConfiguration conf)
Constructor. |
Method Summary | |
---|---|
void |
importProjects(java.util.Collection<Project> projects)
Imports the given projects to the RTC repository Exceptions thrown during creation of the projects are logged under the level error and are not thrown Invitation is sent to the users only if they are not in the root category (root category users are meant to be teachers and therefore we don't send the invitations to them) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProjectImporter(ImporterConfiguration conf) throws ImporterException
conf
- Configuration
ImporterException
- if the configuration misses some mandatory fieldsMethod Detail |
---|
public void importProjects(java.util.Collection<Project> projects) throws ImporterException
projects
- Projects to add
ImporterException
- If some of the mandatory fields are not filled.
It fails atomically in this case -- no hanges written to RTC.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |