|
||||||||||
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.user.UserPreferencePermission
This class is for user preference and setting permissions. A UserPreferencePermission contains a name, but no actions list.
The permission name can either be "read" or "write". The
"read" permission allows an application to read the user
preferences and settings (using UserPreferenceManager.read
) for
which read access is not always granted. Access to
the following settings/preferences is always granted:
"User Language", "Parental Rating", "Default Font Size" and "Country Code"
The "write" permission allows
an application to modify user preferences and settings
(using UserPreferenceManager.write
).
Constructor Summary | |
UserPreferencePermission(java.lang.String name)
Creates a new UserPreferencePermission with the specified name. |
|
UserPreferencePermission(java.lang.String name,
java.lang.String actions)
Creates a new UserPreferencePermission object with the specified name. |
Methods inherited from class java.security.BasicPermission |
equals, getActions, hashCode, 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 UserPreferencePermission(java.lang.String name)
name
- the name of the UserPreferencePermissionpublic UserPreferencePermission(java.lang.String name, java.lang.String actions)
name
- the name of the UserPreferencePermissionactions
- should be null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |