com.groiss.org
Interface Role

All Superinterfaces:
Agent, Persistent

public interface Role
extends Agent

This interface describes a role.


Field Summary
static long ALL
          The all role.
static long DEPT
          The dept role.
static short GLOBAL
          global roles are valid independent from the department hierarchy.
static short HIERARCHIC
          hierarchic roles are valid for the assigned deptratment and all sub-departments.
static long HOME
          The home role.
static short LOCAL
          local roles are valid in the context of a department.
static long SYS
          The sys role.
 
Method Summary
 Application getApplication()
          Returns the application of the process.
 java.lang.String getDescription()
          Get the description.
 java.lang.String getName()
          Returns the name of the role
 Role getReference()
           
 short getType()
           
 void setApplication(Application application)
           
 void setDescription(java.lang.String description)
           
 void setId(java.lang.String id)
           
 void setName(java.lang.String name)
           
 void setReference(Role role)
           
 void setType(short type)
           
 
Methods inherited from interface com.groiss.org.Agent
getId, getOid, isActive, setActive
 
Methods inherited from interface com.groiss.store.Persistent
dbFields, getStore, getTableName, isFilled, onDelete, onInsert, onRead, onUpdate, setFilled, setOid, setStore
 

Field Detail

ALL

static final long ALL
The all role.

See Also:
Constant Field Values

HOME

static final long HOME
The home role.

See Also:
Constant Field Values

SYS

static final long SYS
The sys role.

See Also:
Constant Field Values

DEPT

static final long DEPT
The dept role.

See Also:
Constant Field Values

LOCAL

static final short LOCAL
local roles are valid in the context of a department.

See Also:
Constant Field Values

GLOBAL

static final short GLOBAL
global roles are valid independent from the department hierarchy.

See Also:
Constant Field Values

HIERARCHIC

static final short HIERARCHIC
hierarchic roles are valid for the assigned deptratment and all sub-departments.

See Also:
Constant Field Values
Method Detail

setId

void setId(java.lang.String id)

getName

java.lang.String getName()
Returns the name of the role

Returns:
the name, a string object

setName

void setName(java.lang.String name)

getApplication

Application getApplication()
Returns the application of the process.

Returns:
the application

setApplication

void setApplication(Application application)

getType

short getType()

setType

void setType(short type)

getDescription

java.lang.String getDescription()
Get the description.

Returns:
the description

setDescription

void setDescription(java.lang.String description)

getReference

Role getReference()

setReference

void setReference(Role role)


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.