|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CourseManager
CourseManager
| Method Summary | |
|---|---|
Course |
getCourse(Id id)
loads the Course for a given course Id |
void |
remove(Id id)
Simpler version of remove(List which does NOT
do entitlements checks and only works on a single course. |
java.util.List<Course> |
remove(java.util.List<Id> ids,
java.lang.String sourceType)
Deletes the Courses identified by the given Id
values using a connection from the associated persistence manager's database
container. |
| Method Detail |
|---|
java.util.List<Course> remove(java.util.List<Id> ids,
java.lang.String sourceType)
throws PersistenceException,
java.io.IOException,
FileSystemException
Courses identified by the given Id
values using a connection from the associated persistence manager's database
container.
java.io.IOException - If the associated course folders could not be removed.
FileSystemException - If the associated course folders could not be
removed.
PersistenceException - if some other exception happens during the
delete operation
void remove(Id id)
throws PersistenceException,
java.io.IOException,
FileSystemException
remove(List, String) which does NOT
do entitlements checks and only works on a single course.
Intended as a more direct replacement for the old
CourseDbPersister.deleteById() method.
id - The course id to remove
PersistenceException
java.io.IOException
FileSystemException
Course getCourse(Id id)
throws PersistenceException
Course for a given course Id
id -
PersistenceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||