| Package | com.adobe.repository.infomodel.bean |
| Class | public class AccessControlEntry |
| Inheritance | AccessControlEntry Object |
| Method | Defined By | ||
|---|---|---|---|
Creates a new instance of AccessControlEntry. | AccessControlEntry | ||
void addPermission(String permission) Adds the specified permission to this entry. | AccessControlEntry | ||
List getPermissions() 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 | ||
| Constant | Defined 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 | ||
| AccessControlEntry | () |
public AccessControlEntry()Creates a new instance of AccessControlEntry.
| 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.
ReturnsA 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". |
| READ_CONTENT_USER_PERM | Constant |
public static final READ_CONTENT_USER_PERMPermission allowing the user to read the content of a resource.
| READ_METADATA_USER_PERM | Constant |
public static final READ_METADATA_USER_PERMPermission allowing the user to include a resource in a list resources request or read the metadata of a resource.
| WRITE_ACL_USER_PERM | Constant |
public static final WRITE_ACL_USER_PERMPermission allowing the user to set an ACL on a resource.
| WRITE_USER_PERM | Constant |
public static final WRITE_USER_PERMPermission 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