Skip navigation links
com.thortech.xl.vo
Class DataObjectPermissions
java.lang.Object
com.thortech.xl.vo.DataObjectPermissions
- All Implemented Interfaces:
- java.io.Serializable
-
public class DataObjectPermissions
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Method Summary |
long |
getDataObjectKey()
|
boolean |
getPermission(java.lang.String action)
gets get the boolean permission value for a given action |
java.util.Map |
getPermissions()
|
void |
setPermission(java.lang.String action, boolean permissionValue)
Sets the boolean permission value for a given action |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataObjectPermissions
public DataObjectPermissions(long dataObjectKey)
- Constructor for the type. Sets the data object key
getDataObjectKey
public long getDataObjectKey()
-
- Returns:
- Returns the dataObjectKey.
getPermissions
public java.util.Map getPermissions()
-
- Returns:
- Returns the permissions.
getPermission
public boolean getPermission(java.lang.String action)
- gets get the boolean permission value for a given action
-
- Parameters:
action
- The action key
- Returns:
- The boolean permission value
setPermission
public void setPermission(java.lang.String action,
boolean permissionValue)
- Sets the boolean permission value for a given action
-
- Parameters:
action
- The action key
permissionValue
- The boolean permission value
Skip navigation links
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.