Packagecom.adobe.repository.infomodel.bean
Classpublic class AccessControlEntry
InheritanceAccessControlEntry Inheritance Object

Represents an entry in the com.adobe.repository.infomodel.bean.AccessControlList.



Public Methods
 MethodDefined By
  

Creates a new instance of AccessControlEntry.

AccessControlEntry
  
void addPermission(String permission)
Adds the specified permission to this entry.
AccessControlEntry
  
Retrieves the permissions for this entry.
AccessControlEntry
  
String getPrincipal()
Retrieves the principal for this entry.
AccessControlEntry
  
void removePermission(String permission)
Removes the specified permission from this entry.
AccessControlEntry
  
void setPrincipal(String principal)
Sets the principal for this entry.
AccessControlEntry
Public Constants
 ConstantDefined By
  READ_CONTENT_USER_PERM
[static]

Permission allowing the user to read the content of a resource.

AccessControlEntry
  READ_METADATA_USER_PERM
[static]

Permission allowing the user to include a resource in a list resources request or read the metadata of a resource.

AccessControlEntry
  WRITE_ACL_USER_PERM
[static]

Permission allowing the user to set an ACL on a resource.

AccessControlEntry
  WRITE_USER_PERM
[static]

Permission allowing the user to write repository metadata and content.

AccessControlEntry
Constructor Detail
AccessControlEntry()
public AccessControlEntry()

Creates a new instance of AccessControlEntry.

Method Detail
addPermission()
public void addPermission(String permission)

Adds the specified permission to this entry.

Parameters

permission — The permission to be added.

getPermissions() 
public List getPermissions()

Retrieves the permissions for this entry.

Returns
A non-null java.util.List of java.lang.String objects representing the permissions.
getPrincipal() 
public String getPrincipal()

Retrieves the principal for this entry.

Returns
The principal for this entry.
removePermission() 
public void removePermission(String permission)

Removes the specified permission from this entry.

Parameters

permission — The permission to be removed.

setPrincipal() 
public void setPrincipal(String principal)

Sets the principal for this entry.

Parameters

principal — The principal identifier for this entry. Its format is similar to the following example: "04B307F4-87B3-4517-E1C1-151AFB9982C1".

Constant Detail
READ_CONTENT_USER_PERMConstant
public static final READ_CONTENT_USER_PERM

Permission allowing the user to read the content of a resource.

READ_METADATA_USER_PERMConstant 
public static final READ_METADATA_USER_PERM

Permission allowing the user to include a resource in a list resources request or read the metadata of a resource.

WRITE_ACL_USER_PERMConstant 
public static final WRITE_ACL_USER_PERM

Permission allowing the user to set an ACL on a resource.

WRITE_USER_PERMConstant 
public static final WRITE_USER_PERM

Permission allowing the user to write repository metadata and content.





 

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/repository/infomodel/bean/AccessControlEntry.html