okapi.coreobjects
Class OkapiOperation

java.lang.Object
  extended by okapi.coreobjects.OkapiOperation

public class OkapiOperation
extends java.lang.Object

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

Version:
$Revision: 31044 $, $Date: 2008-09-02 17:08:01 -0400 (Tue, 02 Sep 2008) $
Author:
MIT Stellar team
See Also:

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

READ

public static final OkapiOperation READ
Read always


READ_DATERESTRICTED

public static final OkapiOperation READ_DATERESTRICTED
Read if current time is within a restricted range.


MODIFY

public static final OkapiOperation MODIFY
Modify always


MODIFY_DATERESTRICTED

public static final OkapiOperation MODIFY_DATERESTRICTED
Modify if current time is within a restricted range.


ADMIN

public static final OkapiOperation ADMIN
Administrate always

Constructor Detail

OkapiOperation

public OkapiOperation()
Create new empty OkapiOperation object.


OkapiOperation

public OkapiOperation(int code)
Create new fully defined OkapiOperation object.



Copyright ? 2001-2009 MIT. All Rights Reserved.