Class DataFieldPermission
- java.lang.Object
-
- java.security.Permission
-
- de.uplanet.lucy.security.permission.DataFieldPermission
-
- All Implemented Interfaces:
de.uplanet.lucy.security.permission.IIntrexxPermission
,Serializable
,Guard
@Scriptable public final class DataFieldPermission extends Permission implements de.uplanet.lucy.security.permission.IIntrexxPermission
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACTION_CREATE
"create"static String
ACTION_DELETE
"delete"static String
ACTION_DELETE_OWN
"delete-own"static String
ACTION_READ
"read"static String
ACTION_READ_OWN
"read-own"static String
ACTION_WRITE
"write"static String
ACTION_WRITE_OWN
"write-own"static String
ALL_DATA_FIELDS
"<all data fields>"
-
Constructor Summary
Constructors Constructor Description DataFieldPermission(String p_strName, String p_strActions)
Construct aDataFieldPermission
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object p_obj)
String
getActions()
int
hashCode()
boolean
implies(Permission p_perm)
PermissionCollection
newPermissionCollection()
-
Methods inherited from class java.security.Permission
checkGuard, getName, toString
-
-
-
-
Field Detail
-
ALL_DATA_FIELDS
public static final String ALL_DATA_FIELDS
"<all data fields>"- See Also:
- Constant Field Values
-
ACTION_READ
public static final String ACTION_READ
"read"- See Also:
- Constant Field Values
-
ACTION_WRITE
public static final String ACTION_WRITE
"write"- See Also:
- Constant Field Values
-
ACTION_CREATE
public static final String ACTION_CREATE
"create"- See Also:
- Constant Field Values
-
ACTION_DELETE
public static final String ACTION_DELETE
"delete"- See Also:
- Constant Field Values
-
ACTION_READ_OWN
public static final String ACTION_READ_OWN
"read-own"- See Also:
- Constant Field Values
-
ACTION_WRITE_OWN
public static final String ACTION_WRITE_OWN
"write-own"- See Also:
- Constant Field Values
-
ACTION_DELETE_OWN
public static final String ACTION_DELETE_OWN
"delete-own"- See Also:
- Constant Field Values
-
-
Method Detail
-
getActions
public String getActions()
- Specified by:
getActions
in classPermission
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classPermission
-
implies
public boolean implies(Permission p_perm)
- Specified by:
implies
in classPermission
-
equals
public boolean equals(Object p_obj)
- Specified by:
equals
in classPermission
-
newPermissionCollection
public PermissionCollection newPermissionCollection()
- Overrides:
newPermissionCollection
in classPermission
-
-