com.filenet.wcm.toolkit.util.security
Class WcmSecurityAccess

java.lang.Object
  extended bycom.filenet.wcm.toolkit.util.security.WcmSecurityAccess

public class WcmSecurityAccess
extends java.lang.Object

This class is an implementation of the simplified security access data structure. It also provides some helper methods for interpreting the simplified explicit value and the simplified system value.


Field Summary
 int accessLevel
          Variable indicating the access level.
 java.lang.String accessName
          Variable indicating the access name.
 int explicitRight
          Variable indicating the simplified explicit access right for a given access level.
 java.lang.String systemNote
          Variable indicating the corresponding system note.
 int systemRight
          Variable indicating the simplified system access right for a given access level.
 
Constructor Summary
WcmSecurityAccess()
           
 
Method Summary
 boolean isExplicitAllowSet()
          Returns true if explicit allow is set by the explicit permission settings.
 boolean isExplicitDenySet()
          Returns true if explicit deny is set by the explicit permission settings.
 boolean isSystemAllowSet()
          Returns true if system allow is set by the system permission settings.
 boolean isSystemDenySet()
          Returns true if system deny is set by the system permission settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

accessLevel

public int accessLevel
Variable indicating the access level.


accessName

public java.lang.String accessName
Variable indicating the access name.


explicitRight

public int explicitRight
Variable indicating the simplified explicit access right for a given access level.


systemRight

public int systemRight
Variable indicating the simplified system access right for a given access level.


systemNote

public java.lang.String systemNote
Variable indicating the corresponding system note.

Constructor Detail

WcmSecurityAccess

public WcmSecurityAccess()
Method Detail

isExplicitAllowSet

public boolean isExplicitAllowSet()
Returns true if explicit allow is set by the explicit permission settings. If explicit allow was set then explicit deny would not be set.

Returns:
boolean true if the access level is granted.

isExplicitDenySet

public boolean isExplicitDenySet()
Returns true if explicit deny is set by the explicit permission settings. If explicit deny was set then explicit allow would not be set.

Returns:
boolean true if the access level is granted.

isSystemAllowSet

public boolean isSystemAllowSet()
Returns true if system allow is set by the system permission settings. If system allow was set then system deny would not be set.

Returns:
boolean true if the access level is granted.

isSystemDenySet

public boolean isSystemDenySet()
Returns true if system deny is set by the system permission settings. If system deny was set then system allow would not be set.

Returns:
boolean true if the access level is granted.


© Copyright IBM Corp. 2002, 2007. All Rights Reserved.