|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.security.permissions.impl.AbstractPermissionEntry
org.alfresco.repo.security.permissions.impl.SimplePermissionEntry
public final class SimplePermissionEntry
A simple object representation of a permission entry.
Constructor Summary | |
---|---|
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)
|
Method Summary | |
---|---|
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? |
Methods inherited from class org.alfresco.repo.security.permissions.impl.AbstractPermissionEntry |
---|
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public 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)
Method Detail |
---|
public PermissionReference getPermissionReference()
PermissionEntry
public java.lang.String getAuthority()
PermissionEntry
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
PermissionEntry
public boolean isDenied()
PermissionEntry
public boolean isAllowed()
PermissionEntry
public org.alfresco.service.cmr.security.AccessStatus getAccessStatus()
PermissionEntry
public int getPosition()
PermissionEntry
public boolean isInherited()
PermissionEntry
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |