|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConferenceManager
| Method Summary | |
|---|---|
void |
deleteById(Id id)
Remove a conference. |
ConferenceOwner.OwnerType |
getConferenceOwnerType(Conference conf)
Returns the conference owner type for the given conference |
Course |
getEnclosingCourse(Conference conf)
If the conference owner of this conference is a course, return it, if it is a group, get the enclosing course and return that. |
java.util.List |
loadByCourseId(Id id)
Load all the conferences that belong to a course with a given course Id |
Conference |
loadById(Id id)
Given an Id, load the conference. |
java.util.List |
loadSystemConferences()
Get all community system conferences. |
java.util.List |
loadSystemConferences(boolean isAvailable,
DbObjectMap map)
Load all system conferences by availability |
java.util.List |
loadUsersByCourseId(Id id)
Load all the users in the course. |
java.util.List |
loadUsersByGroupId(Id id)
Load all the users in the group. |
java.util.List |
loadWithStatusByCourseId(Id id)
Load all the conferences that belong to a course with a given course Id. |
void |
reposition(Id conf_id,
int position)
Set the new position of a conference. |
void |
save(Conference conference)
Save a conference. |
| Method Detail |
|---|
java.util.List loadSystemConferences()
throws KeyNotFoundException,
PersistenceException
KeyNotFoundException - Will never be thrown.
PersistenceException - if some other error occurs while loading the object
void deleteById(Id id)
throws PersistenceException
id -
PersistenceException - if some other error occurs while loading the object
void save(Conference conference)
throws PersistenceException,
ValidationException
conference -
PersistenceException - if some other error occurs while loading the object
ValidationException - if the object is not in a consistent state to be persisted.
Conference loadById(Id id)
throws PersistenceException
id -
PersistenceException
java.util.List loadUsersByCourseId(Id id)
throws PersistenceException
id -
PersistenceException - if some other error occurs while loading the object.
java.util.List loadUsersByGroupId(Id id)
throws PersistenceException
id -
PersistenceException - if some other error occurs while loading the object.
void reposition(Id conf_id,
int position)
throws PersistenceException
conf_id - position -
PersistenceException
java.util.List loadByCourseId(Id id)
throws PersistenceException
id - course id
PersistenceException
java.util.List loadWithStatusByCourseId(Id id)
throws PersistenceException
id - course id
PersistenceException
java.util.List loadSystemConferences(boolean isAvailable,
DbObjectMap map)
throws KeyNotFoundException,
PersistenceException
isAvailable - - only load available system conferences if true
KeyNotFoundException - Will never be thrown.
PersistenceException - if some other error occurs while loading the object
ConferenceOwner.OwnerType getConferenceOwnerType(Conference conf)
throws PersistenceException
conf -
PersistenceException
Course getEnclosingCourse(Conference conf)
throws PersistenceException
conf -
PersistenceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||