|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.Permission
java.security.BasicPermission
org.dvb.application.AppsControlPermission
This class represents a Permission to control the lifecycle of another application.
Constructor Summary | |
AppsControlPermission()
Creates a new AppsControlPermission. |
|
AppsControlPermission(java.lang.String name,
java.lang.String actions)
Creates a new AppsControlPermission. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Checks for equality against this AppsControlPermission object. |
java.lang.String |
getActions()
Returns the list of actions that had been passed to the constructor - it shall return null. |
int |
hashCode()
Returns the hash code value for this object. |
boolean |
implies(java.security.Permission permission)
Checks if this AppsControlPermission object "implies" the specified permission. |
Methods inherited from class java.security.BasicPermission |
newPermissionCollection |
Methods inherited from class java.security.Permission |
checkGuard, getName, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AppsControlPermission()
public AppsControlPermission(java.lang.String name, java.lang.String actions)
name
- the name of the permissionactions
- the actions stringMethod Detail |
public java.lang.String getActions()
public boolean implies(java.security.Permission permission)
permission
- the specified permission to check.
public boolean equals(java.lang.Object obj)
obj
- the object to test for equality with this AppsControlPermission object.
public int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |