|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectokapi.coreobjects.OkapiOperation
public class OkapiOperation
Operation relates to "function" in the roles database
In the MIT Roles Database model, authorization is a function of person,
function, and qualifier. Generally, an application has 10-100 or so different
functions, and many qualifiers. For us, the different functions correspond to
the requested Operation, combined with time range and perhaps area of the
subject.
Values are
Read the content and all metadata.
Modify or replace the content and descriptive/structural metadata.
Admin change access controls and administrative metadata.
Combined with time range
Always
DateRestricted
Could also add restriction on area of subject
Content
Discussion
Assignment
Field Summary | |
---|---|
static OkapiOperation |
ADMIN
Administrate always |
static OkapiOperation |
MODIFY
Modify always |
static OkapiOperation |
MODIFY_DATERESTRICTED
Modify if current time is within a restricted range. |
static OkapiOperation |
READ
Read always |
static OkapiOperation |
READ_DATERESTRICTED
Read if current time is within a restricted range. |
Constructor Summary | |
---|---|
OkapiOperation()
Create new empty OkapiOperation object. |
|
OkapiOperation(int code)
Create new fully defined OkapiOperation object. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final OkapiOperation READ
public static final OkapiOperation READ_DATERESTRICTED
public static final OkapiOperation MODIFY
public static final OkapiOperation MODIFY_DATERESTRICTED
public static final OkapiOperation ADMIN
Constructor Detail |
---|
public OkapiOperation()
public OkapiOperation(int code)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |