|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.idp.um.api.infomodel.PermissionInfo
public class PermissionInfo
This class manages information for permissions.
Constructor Summary | |
---|---|
PermissionInfo()
|
Method Summary | |
---|---|
Permission |
getPermission()
Retrieves the permission. |
boolean |
hasPermission()
Determines whether the principal has the permission. |
boolean |
isHasPermission()
Determines whether the principal has the permission. |
boolean |
isInherited()
Determines whether the permission is inherited. |
void |
setHasPermission(boolean hasPermission)
Sets whether the principal has the permission. |
void |
setIsInherited(boolean isInherited)
Sets whether the permission is inherited. |
void |
setPermission(Permission permission)
Sets the permission. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PermissionInfo()
Method Detail |
---|
public void setPermission(Permission permission)
permission
- The permission.public void setIsInherited(boolean isInherited)
isInherited
- true
if the permission is inherited, false
otherwise.public void setHasPermission(boolean hasPermission)
hasPermission
- true
if the principal has the permission, false
otherwise.public Permission getPermission()
public boolean isInherited()
true
if the permission is inherited, false
otherwise.public boolean isHasPermission()
true
if the principal has the permission, false
otherwise.public boolean hasPermission()
true
if the principal has the permission, false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |