org.activemath.abstractcontent
Class SimpleMatriculation
java.lang.Object
org.activemath.abstractcontent.SimpleMatriculation
- All Implemented Interfaces:
- Matriculations
public class SimpleMatriculation
- extends Object
- implements Matriculations
A Simple Matriculation class to support some basic operations.
The management of the privileges is based on files:
ACTIVEMATH_HOME/conf/MatriculationTable.xml
This file has to be edited by hand to change some preferences.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
thisLogCat
public static Logger thisLogCat
DEBUG
protected static boolean DEBUG
SimpleMatriculation
public SimpleMatriculation(Subconfiguration config)
throws Exception
- Throws:
Exception
getTeacherList
public List getTeacherList(String courseID)
- Description copied from interface:
Matriculations
- A method to access all the teachers for a certain course.
- Specified by:
getTeacherList in interface Matriculations
- Returns:
- the List of all teachers responsible for the course
getAlumnList
public List getAlumnList(String courseID)
- Description copied from interface:
Matriculations
- A method to access all the alumns for a certain course.
- Specified by:
getAlumnList in interface Matriculations
- Returns:
- the List of all alumns who are on the given course.
getPrivilegesFor
public List getPrivilegesFor(String user)
- Description copied from interface:
Matriculations
- A method to access the privileges for a certain user.
E.g.: is the user allowed to monitor exercises, is he allowed to
change some symbol presentation etc....
- Specified by:
getPrivilegesFor in interface Matriculations
- Returns:
- A list of all the privileges a user has.