public final class SimplePermissionEntry extends AbstractPermissionEntry
| Constructor and Description |
|---|
SimplePermissionEntry(org.alfresco.service.cmr.repository.NodeRef nodeRef,
PermissionReference permissionReference,
java.lang.String authority,
org.alfresco.service.cmr.security.AccessStatus accessStatus) |
SimplePermissionEntry(org.alfresco.service.cmr.repository.NodeRef nodeRef,
PermissionReference permissionReference,
java.lang.String authority,
org.alfresco.service.cmr.security.AccessStatus accessStatus,
int position) |
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.service.cmr.security.AccessStatus |
getAccessStatus()
Get the Access enum value
|
java.lang.String |
getAuthority()
Get the authority to which this entry applies This could be the string
value of a username, group, role or any other authority assigned to the
authorisation.
|
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef()
Get the node ref for the node to which this permission applies.
|
PermissionReference |
getPermissionReference()
Get the permission definition.
|
int |
getPosition()
Return the position in the inhertance chain (0 is not inherited and set on the object)
|
boolean |
isAllowed()
Is permission allowed?
|
boolean |
isDenied()
Is permissions denied?
|
boolean |
isInherited()
Is this permission inherited?
|
equals, hashCode, toStringpublic SimplePermissionEntry(org.alfresco.service.cmr.repository.NodeRef nodeRef,
PermissionReference permissionReference,
java.lang.String authority,
org.alfresco.service.cmr.security.AccessStatus accessStatus)
public SimplePermissionEntry(org.alfresco.service.cmr.repository.NodeRef nodeRef,
PermissionReference permissionReference,
java.lang.String authority,
org.alfresco.service.cmr.security.AccessStatus accessStatus,
int position)
public PermissionReference getPermissionReference()
PermissionEntrypublic java.lang.String getAuthority()
PermissionEntrypublic org.alfresco.service.cmr.repository.NodeRef getNodeRef()
PermissionEntrypublic boolean isDenied()
PermissionEntrypublic boolean isAllowed()
PermissionEntrypublic org.alfresco.service.cmr.security.AccessStatus getAccessStatus()
PermissionEntrypublic int getPosition()
PermissionEntrypublic boolean isInherited()
PermissionEntryCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.