|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kotkabeans.KoppeloRights
implements KoppeloRights object.
Constructor Summary | |
KoppeloRights()
Dummy empty constructor. |
Method Summary | |
static boolean |
hasGroupRight(int rightid,
int groupid)
Exceute query to find out if given user group has specified right |
static boolean |
hasPersonRight(int rightid,
int personid,
int assid)
Exceute query to find out if given person has specified right in specified assignment |
static boolean |
hasPersonRight(int rightid,
int personid,
int typeid,
int lineid)
Exceute query to find out if given person has specified right |
static boolean |
hasPersonRightOriginal(int rightid,
int personid,
int origid)
Exceute query to find out if given person has specified right |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KoppeloRights()
Method Detail |
public static boolean hasPersonRight(int rightid, int personid, int typeid, int lineid)
rightid
- The right we are interested inpersonid
- The person we are interested intypeid
- The assignment type we are interested inlineid
- The studyline we are interested in, values <= 0 meaning nullpublic static boolean hasPersonRight(int rightid, int personid, int assid)
rightid
- The right we are interested inpersonid
- The person we are interested inassid
- The assignment we are interested inpublic static boolean hasPersonRightOriginal(int rightid, int personid, int origid)
rightid
- The right we are interested inpersonid
- The person we are interested inorigid
- The assignment original we are interested inpublic static boolean hasGroupRight(int rightid, int groupid)
rightid
- The right we are interested ingroupid
- The user group we are interested in
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |