Class MenuPermission
- java.lang.Object
-
- java.security.Permission
-
- de.uplanet.lucy.security.permission.MenuPermission
-
- All Implemented Interfaces:
de.uplanet.lucy.security.permission.IIntrexxPermission
,Serializable
,Guard
@Scriptable public final class MenuPermission extends Permission implements de.uplanet.lucy.security.permission.IIntrexxPermission
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACTION_ACCESS
"access"static String
ACTION_ADMIN
"administration"static String
ALL_MENUS
"<all menus>"
-
Constructor Summary
Constructors Constructor Description MenuPermission(String p_strName, String p_strActions)
Construct aMenuPermission
.
-
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_MENUS
public static final String ALL_MENUS
"<all menus>"- See Also:
- Constant Field Values
-
ACTION_ADMIN
public static final String ACTION_ADMIN
"administration"- See Also:
- Constant Field Values
-
ACTION_ACCESS
public static final String ACTION_ACCESS
"access"- 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
-
-