Packagecom.adobe.idp.um.api.infomodel
Classpublic class PermissionInfo
InheritancePermissionInfo Inheritance Object

This class manages information for permissions.



Public Methods
 MethodDefined By
  
PermissionInfo
  
Retrieves the permission.
PermissionInfo
  
boolean hasPermission()
Determines whether the principal has the permission.
PermissionInfo
  
boolean isHasPermission()
Determines whether the principal has the permission.
PermissionInfo
  
boolean isInherited()
Determines whether the permission is inherited.
PermissionInfo
  
void setHasPermission(boolean hasPermission)
Sets whether the principal has the permission.
PermissionInfo
  
void setIsInherited(boolean isInherited)
Sets whether the permission is inherited.
PermissionInfo
  
void setPermission(Permission permission)
Sets the permission.
PermissionInfo
Constructor Detail
PermissionInfo()
public PermissionInfo()

Method Detail
getPermission()
public Permission getPermission()

Retrieves the permission.

Returns
The permission.
hasPermission() 
public boolean hasPermission()

Determines whether the principal has the permission.

Returns
true if the principal has the permission, false otherwise.
isHasPermission() 
public boolean isHasPermission()

Determines whether the principal has the permission. This method is added to fulfill the javabeans requirement for boolean types.

Returns
true if the principal has the permission, false otherwise.
isInherited() 
public boolean isInherited()

Determines whether the permission is inherited.

Returns
true if the permission is inherited, false otherwise.
setHasPermission() 
public void setHasPermission(boolean hasPermission)

Sets whether the principal has the permission.

Parameters

hasPermissiontrue if the principal has the permission, false otherwise.

setIsInherited() 
public void setIsInherited(boolean isInherited)

Sets whether the permission is inherited.

Parameters

isInheritedtrue if the permission is inherited, false otherwise.

setPermission() 
public void setPermission(Permission permission)

Sets the permission.

Parameters

permission — The permission.





 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/javadoc/com/adobe/idp/um/api/infomodel/PermissionInfo.html