wt.clients.administrator
Class PermissionEntry

java.lang.Object
  extended bywt.clients.administrator.PermissionEntry

public class PermissionEntry
extends Object

PermissionEntry is the container of the row data for wt\clients\administrator\PermissionPanel. It contains an AccessPermission and information to be used to construct access control rules.

Supported API: false

Extendable: false


Field Summary
private static int PERMISSION_DENY
           
private static int PERMISSION_GRANT
           
private static int PERMISSION_NONE
           
private  String permissionName
           
private  AccessPermission permissionType
           
private  int permissionValue
           
 
Constructor Summary
PermissionEntry(AccessPermission permissionType)
          Constructor for this class.
 
Method Summary
 boolean getNegative()
          Returns a boolean indicating whether the entry is denying the permission
 boolean getNeutral()
          Returns a boolean indicating whether the entry is not denying or granting the permission
 String getPermissionName()
          Returns the display name for permissionType
 AccessPermission getPermissionType()
          Returns the AccessPermission permissionType
 boolean getPositive()
          Returns a boolean indicating whether the entry is granting the permission
 void setNegative()
          Sets the permission sign to negative, indicating that the PermissionEntry is denying the AccessPermission permissionType

Supported API:false
 void setNeutral()
          Sets the permission sign to neutral, indicating that PermissionEntry is not granting or denying the AccessPermission permissionType

Supported API:false
 void setPositive()
          Sets the permission sign to positive, indicating that the PermissionEntry is granting the AccessPermission permissionType

Supported API:false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

permissionType

private AccessPermission permissionType

permissionName

private String permissionName

PERMISSION_GRANT

private static final int PERMISSION_GRANT
See Also:
Constant Field Values

PERMISSION_NONE

private static final int PERMISSION_NONE
See Also:
Constant Field Values

PERMISSION_DENY

private static final int PERMISSION_DENY
See Also:
Constant Field Values

permissionValue

private int permissionValue
Constructor Detail

PermissionEntry

public PermissionEntry(AccessPermission permissionType)
Constructor for this class.

Parameters:
permissionType - The AccessPermission that this entry is describing

Supported API:false
Method Detail

setPositive

public void setPositive()
Sets the permission sign to positive, indicating that the PermissionEntry is granting the AccessPermission permissionType

Supported API:false


getPositive

public boolean getPositive()
Returns a boolean indicating whether the entry is granting the permission

Returns:
boolean

Supported API:false

setNegative

public void setNegative()
Sets the permission sign to negative, indicating that the PermissionEntry is denying the AccessPermission permissionType

Supported API:false


getNegative

public boolean getNegative()
Returns a boolean indicating whether the entry is denying the permission

Returns:
boolean

Supported API:false

setNeutral

public void setNeutral()
Sets the permission sign to neutral, indicating that PermissionEntry is not granting or denying the AccessPermission permissionType

Supported API:false


getNeutral

public boolean getNeutral()
Returns a boolean indicating whether the entry is not denying or granting the permission

Returns:
boolean

Supported API:false

getPermissionName

public String getPermissionName()
Returns the display name for permissionType

Returns:
String

Supported API:false

getPermissionType

public AccessPermission getPermissionType()
Returns the AccessPermission permissionType

Returns:
AccessPermission

Supported API:false