Package com.groiss.org
Interface Role
- All Superinterfaces:
Activatable
,Agent
,KeyValuePair<String,
,String> Persistent
,Serializable
This interface describes a role.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final long
The all role.static final long
The dept role.static final short
global roles are valid independent from the department hierarchy.static final short
hierarchic roles are valid for the assigned department and all sub-departments.static final long
The home role.static final short
local roles are valid in the context of a department.static final long
The sys role.Fields inherited from interface com.groiss.store.Persistent
emptyKeys
-
Method Summary
Modifier and TypeMethodDescriptionReturns the application of the role.Get the description.getName()
Returns the name of the roleshort
getType()
void
setApplication
(Application application) void
setDescription
(String description) void
void
void
setReference
(Role role) void
setType
(short type) Methods inherited from interface com.groiss.store.Activatable
isActive, setActive
Methods inherited from interface com.groiss.store.Persistent
afterDelete, afterInsert, afterRead, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, dbFields, getKey, getKeys, getLocalClassName, getLocalObjectName, getStore, getTableName, getValue, isFilled, isValid, setFilled, setOid, setOid, toListString
-
Field Details
-
ALL
static final long ALLThe all role.- See Also:
-
HOME
static final long HOMEThe home role.- See Also:
-
SYS
static final long SYSThe sys role.- See Also:
-
DEPT
static final long DEPTThe dept role.- See Also:
-
LOCAL
static final short LOCALlocal roles are valid in the context of a department.- See Also:
-
GLOBAL
static final short GLOBALglobal roles are valid independent from the department hierarchy.- See Also:
-
HIERARCHIC
static final short HIERARCHIChierarchic roles are valid for the assigned department and all sub-departments.- See Also:
-
-
Method Details
-
setId
-
getName
String getName()Returns the name of the role- Returns:
- the name, a string object
-
setName
-
getApplication
Application getApplication()Returns the application of the role.- Returns:
- the application
-
setApplication
-
getType
short getType() -
setType
void setType(short type) -
getDescription
String getDescription()Get the description.- Returns:
- the description
-
setDescription
-
getReference
Role getReference() -
setReference
-