|
||||||||||
| 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
public final class AppsControlPermission
This class represents a Permission to control the lifecycle of another application.
| Constructor Summary | |
|---|---|
AppsControlPermission()
Creates a new AppsControlPermission. |
|
AppsControlPermission(String name,
String actions)
Creates a new AppsControlPermission. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Checks for equality against this AppsControlPermission object. |
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(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(String name,
String actions)
name - the name of the permissionactions - the actions string| Method Detail |
|---|
public String getActions()
getActions in class BasicPermissionpublic boolean implies(Permission permission)
implies in class BasicPermissionpermission - the specified permission to check.
public boolean equals(Object obj)
equals in class BasicPermissionobj - the object to test for equality with this AppsControlPermission object.
Object.hashCode(),
Hashtablepublic int hashCode()
hashCode in class BasicPermissionObject.equals(java.lang.Object),
Hashtable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||