Package com.adobe.repository.infomodel.bean
Classpublic class AccessControlList
InheritanceAccessControlList Inheritance Object

An access control list (ACL).



Public Methods
 MethodDefined by
  
Default constructor.
AccessControlList
  
String getAclId()
Retrieves the ACL identifier for this ACL object.
AccessControlList
  
List getEntries()
Retrieves the entries that make up this ACL object.
AccessControlList
  
List getPermissionsForUser(String user)
Retrieves the permissions for the specified user.
AccessControlList
  
Retrieves the users having access permissions.
AccessControlList
  
void removeUserAndPermissions(String user)
Removes the specified user and his permissions.
AccessControlList
  
void setAclId(String aclId)
Sets the ACL identifier for this ACL object.
AccessControlList
  
void setEntries(List entries)
Sets the entries that make up this ACL object.
AccessControlList
  
void setPermissionsForUser(String user, List permissions)
Sets the specified permissions for the user.
AccessControlList
Constructor Detail
AccessControlList()
public AccessControlList()

Default constructor. This creates an empty ACL.

Method Detail
getAclId()
public String getAclId()

Retrieves the ACL identifier for this ACL object.

Returns
ACL The ACL identifier for this ACL object.
getEntries() 
public List getEntries()

Retrieves the entries that make up this ACL object.

Returns
A non-null java.util.List of com.adobe.repository.infomodel.bean.AccessControlEntry objects.
getPermissionsForUser() 
public List getPermissionsForUser(String user)

Retrieves the permissions for the specified user.

Parameters

user — The user whose permissions are to be retrieved.

Returns
A java.util.List of com.adobe.repository.infomodel.bean.AccessControlEntry objects containing the permissions for the user.
getUsersWithPermissions() 
public List getUsersWithPermissions()

Retrieves the users having access permissions.

Returns
A java.util.List of java.lang.String objects representing the user identifiers.
removeUserAndPermissions() 
public void removeUserAndPermissions(String user)

Removes the specified user and his permissions.

Parameters

user — The user to be removed.

setAclId() 
public void setAclId(String aclId)

Sets the ACL identifier for this ACL object.

Parameters

aclId — The ACL identifier for this ACL object.

setEntries() 
public void setEntries(List entries)

Sets the entries that make up this ACL object.

Parameters

entries — A java.util.List of com.adobe.repository.infomodel.bean.AccessControlEntry objects.

setPermissionsForUser() 
public void setPermissionsForUser(String user, List permissions)

Sets the specified permissions for the user.

Parameters

user — The user whose permissions are to be set.
 
permissions — A java.util.List of java.lang.String values containing the permissions to be assigned to the user. The permission values can be found in the static constants within the AccessControlEntry class.





 

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

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/javadoc/com/adobe/repository/infomodel/bean/AccessControlList.html