|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.security.acl.AclEntry
public class AclEntry
A data object that represents access permissions for an acl principal.
Nested Class Summary | |
---|---|
static class |
AclEntry.PermissionValue
PermissionValue is an enum representing the possible values of a permission. |
Constructor Summary | |
---|---|
AclEntry()
Zero-arg AclEntry constructor |
|
AclEntry(AclPrincipal principal)
AclEntry constructor |
|
AclEntry(AclPrincipal principal,
AclEntry.PermissionValue adminPermission,
AclEntry.PermissionValue readPermission,
AclEntry.PermissionValue writePropertiesPermission,
AclEntry.PermissionValue writeContentPermission,
AclEntry.PermissionValue deletePermission)
AclEntry constructor |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one. |
AclEntry.PermissionValue |
getAdminPermission()
Get the admin permission for this acl |
AclEntry.PermissionValue |
getDeletePermission()
Get the delete permission for this acl |
AclPrincipal |
getPrincipal()
Get the principal for this acl |
AclEntry.PermissionValue |
getReadPermission()
Get the read permission for this acl |
AclEntry.PermissionValue |
getWriteContentPermission()
Get the content write permission for this acl |
AclEntry.PermissionValue |
getWritePropertiesPermission()
Get the properties write permission for this acl |
int |
hashCode()
Return a hash code value for the object. |
void |
setAdminPermission(AclEntry.PermissionValue admin)
Set the admin permission for this acl |
void |
setDeletePermission(AclEntry.PermissionValue delete)
Set the delete permission for this acl |
void |
setPrincipal(AclPrincipal principal)
Set the AclPrincipal for this acl |
void |
setReadPermission(AclEntry.PermissionValue read)
Set the read permission for this acl |
void |
setWriteContentPermission(AclEntry.PermissionValue writeContent)
Set the content write permission for this acl |
void |
setWritePropertiesPermission(AclEntry.PermissionValue writePropertiesPermission)
Set the properties write permission for this acl |
String |
toString()
Return a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AclEntry()
public AclEntry(AclPrincipal principal)
principal
- public AclEntry(AclPrincipal principal, AclEntry.PermissionValue adminPermission, AclEntry.PermissionValue readPermission, AclEntry.PermissionValue writePropertiesPermission, AclEntry.PermissionValue writeContentPermission, AclEntry.PermissionValue deletePermission)
principal
- aclPrincipal in which to set the access permissionsadminPermission
- admin permission to assign to the principalreadPermission
- read permission to assign to the principalwritePropertiesPermission
- properties write permission to assign to the principalwriteContentPermission
- content write permission to assign to the principaldeletePermission
- delete permission to assign to the principalMethod Detail |
---|
public AclPrincipal getPrincipal()
public void setPrincipal(AclPrincipal principal)
principal
- public AclEntry.PermissionValue getReadPermission()
public void setReadPermission(AclEntry.PermissionValue read)
read
- PermissionValue containing the value of how to set the permissionpublic AclEntry.PermissionValue getWritePropertiesPermission()
public void setWritePropertiesPermission(AclEntry.PermissionValue writePropertiesPermission)
writePropertiesPermission
- PermissionValue containing the value of how to set the permissionpublic AclEntry.PermissionValue getDeletePermission()
public void setDeletePermission(AclEntry.PermissionValue delete)
delete
- PermissionValue containing the value of how to set the permissionpublic AclEntry.PermissionValue getAdminPermission()
public void setAdminPermission(AclEntry.PermissionValue admin)
admin
- PermissionValue containing the value of how to set the permissionpublic AclEntry.PermissionValue getWriteContentPermission()
public void setWriteContentPermission(AclEntry.PermissionValue writeContent)
writeContent
- PermissionValue containing the value of how to set the permissionpublic int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |