public class AclEntry extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
AclEntry.PermissionValue
PermissionValue is an enum representing the possible values of a permission.
|
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 principalpublic 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()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA