|
|||||||||
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.ocap.shared.dvr.RecordingPermission
public final class RecordingPermission
Controls access to recording features by an application. The name can be one of the values shown in the following list;
Granting of this permission shall include granting access to any storage devices required for the operations specified in the name parameter. No additional low permissions (e.g. FilePermission) are subsequently needed.
Constructor Summary | |
---|---|
RecordingPermission(java.lang.String name,
java.lang.String action)
Creates a new RecordingPermission with the specified name and action. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Checks two RecordingPermission objects for equality |
java.lang.String |
getActions()
Returns the actions as passed into the constructor. |
int |
hashCode()
Returns the hash code value for this object. |
Methods inherited from class java.security.BasicPermission |
---|
implies, 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 RecordingPermission(java.lang.String name, java.lang.String action)
name
- "create", "read", "modify", "delete", "cancel" or "*"action
- "own" or "*"Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.security.BasicPermission
obj
- the object to test for equality with this object.
public int hashCode()
hashCode
in class java.security.BasicPermission
public java.lang.String getActions()
getActions
in class java.security.BasicPermission
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |