com.waveset.object
Class Right

java.lang.Object
  extended bycom.waveset.object.Right
All Implemented Interfaces:
java.lang.Cloneable

public class Right
extends java.lang.Object
implements java.lang.Cloneable

Static instances of this class are used to to enumerate the valid right definitions in the Waveset system.


Field Summary
static Right APPROVE
           
static Right ASSIGN_AUDIT_POLICIES
           
static Right ASSIGN_CAPABILITIES
           
static Right BULK_CHANGE_PASSWORD
           
static Right BULK_CREATE
           
static Right BULK_DELETE
           
static Right BULK_DEPROVISION
           
static Right BULK_DISABLE
           
static Right BULK_ENABLE
           
static Right BULK_MODIFY
           
static Right BULK_RESET_PASSWORD
           
static Right BULK_UNASSIGN
           
static Right BULK_UNLINK
           
static Right BYPASS_VERIFY
           
static Right CHANGE_PASSWORD
           
static java.lang.String code_id
           
static Right CONNECT
           
static Right CONTROL_ACTIVE_SYNC
           
static Right CREATE
           
static Right DELEGATE
           
static Right DELETE
           
static Right DEPROVISION
           
static Right DISABLE
           
static Right DISCONNECT
           
static Right ENABLE
           
static Right EXECUTE
           
static Right EXPORT
           
static Right IMPORT
           
static Right LIST
           
static Right MODIFY
           
static Right MODIFY_ACTIVE_SYNC
           
static Right PROVISION
           
static Right REJECT
           
static Right RENAME
           
static Right RESET_PASSWORD
           
static Right RUN_DEBUGGER
           
static Right UNASSIGN
           
static Right UNLINK
           
static Right UNLOCK
           
static Right VIEW
           
static Right VIEW_ONLY
           
 
Constructor Summary
protected Right()
           
 
Method Summary
 java.lang.Object clone()
          Clone a right
 boolean equals(java.lang.Object obj)
           
static Right findRight(java.lang.String rightName)
           
static Right findRightByLogDbKey(java.lang.String logDbKey)
           
 java.lang.String getDisplayName()
           
static Right[] getImplies(java.lang.String rightName)
           
 java.lang.String getLogDbKey()
           
 java.lang.String getName()
           
static java.util.List getRightNamesThatImply(java.lang.String rightName)
          Return the Rights that imply the given right.
 boolean implies(Right right)
           
static Right[] listRights()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values

LIST

public static final Right LIST

VIEW

public static final Right VIEW

VIEW_ONLY

public static final Right VIEW_ONLY

MODIFY

public static final Right MODIFY

DELETE

public static final Right DELETE

CREATE

public static final Right CREATE

PROVISION

public static final Right PROVISION

DEPROVISION

public static final Right DEPROVISION

EXECUTE

public static final Right EXECUTE

IMPORT

public static final Right IMPORT

EXPORT

public static final Right EXPORT

CHANGE_PASSWORD

public static final Right CHANGE_PASSWORD

RESET_PASSWORD

public static final Right RESET_PASSWORD

BYPASS_VERIFY

public static final Right BYPASS_VERIFY

CONNECT

public static final Right CONNECT

DISCONNECT

public static final Right DISCONNECT

ENABLE

public static final Right ENABLE

DISABLE

public static final Right DISABLE

RENAME

public static final Right RENAME

APPROVE

public static final Right APPROVE

REJECT

public static final Right REJECT

DELEGATE

public static final Right DELEGATE

UNLOCK

public static final Right UNLOCK

BULK_CREATE

public static final Right BULK_CREATE

BULK_MODIFY

public static final Right BULK_MODIFY

BULK_DELETE

public static final Right BULK_DELETE

BULK_ENABLE

public static final Right BULK_ENABLE

BULK_DISABLE

public static final Right BULK_DISABLE

ASSIGN_CAPABILITIES

public static final Right ASSIGN_CAPABILITIES

ASSIGN_AUDIT_POLICIES

public static final Right ASSIGN_AUDIT_POLICIES

CONTROL_ACTIVE_SYNC

public static final Right CONTROL_ACTIVE_SYNC

MODIFY_ACTIVE_SYNC

public static final Right MODIFY_ACTIVE_SYNC

RUN_DEBUGGER

public static final Right RUN_DEBUGGER

UNASSIGN

public static final Right UNASSIGN

UNLINK

public static final Right UNLINK

BULK_UNASSIGN

public static final Right BULK_UNASSIGN

BULK_UNLINK

public static final Right BULK_UNLINK

BULK_DEPROVISION

public static final Right BULK_DEPROVISION

BULK_CHANGE_PASSWORD

public static final Right BULK_CHANGE_PASSWORD

BULK_RESET_PASSWORD

public static final Right BULK_RESET_PASSWORD
Constructor Detail

Right

protected Right()
Method Detail

getName

public java.lang.String getName()

getDisplayName

public java.lang.String getDisplayName()

getLogDbKey

public java.lang.String getLogDbKey()

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object obj)

findRight

public static Right findRight(java.lang.String rightName)

findRightByLogDbKey

public static Right findRightByLogDbKey(java.lang.String logDbKey)

listRights

public static Right[] listRights()

getImplies

public static Right[] getImplies(java.lang.String rightName)

getRightNamesThatImply

public static java.util.List getRightNamesThatImply(java.lang.String rightName)
Return the Rights that imply the given right. This is used for authorizaion checking, if checking for the named right, any of the returned rights will do. Since this can be called extremely frequently, cache the lists of values.

Parameters:
rightName - - the right name name
Returns:
a List of String right names that imply rightName

implies

public boolean implies(Right right)

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone a right

Throws:
java.lang.CloneNotSupportedException