public class GlobalPermissionEntry extends Object implements XMLModelInitialisable, PermissionEntry
Constructor and Description |
---|
GlobalPermissionEntry() |
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.cmr.security.AccessStatus |
getAccessStatus()
Get the Access enum value
|
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)
|
void |
initialise(org.dom4j.Element element,
org.alfresco.service.namespace.NamespacePrefixResolver nspr,
PermissionModel permissionModel) |
boolean |
isAllowed()
Is permission allowed?
|
boolean |
isDenied()
Is permissions denied?
|
boolean |
isInherited()
Is this permission inherited?
|
public void initialise(org.dom4j.Element element, org.alfresco.service.namespace.NamespacePrefixResolver nspr, PermissionModel permissionModel)
initialise
in interface XMLModelInitialisable
public String getAuthority()
PermissionEntry
getAuthority
in interface PermissionEntry
public PermissionReference getPermissionReference()
PermissionEntry
getPermissionReference
in interface PermissionEntry
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
PermissionEntry
getNodeRef
in interface PermissionEntry
public boolean isDenied()
PermissionEntry
isDenied
in interface PermissionEntry
public boolean isAllowed()
PermissionEntry
isAllowed
in interface PermissionEntry
public org.alfresco.service.cmr.security.AccessStatus getAccessStatus()
PermissionEntry
getAccessStatus
in interface PermissionEntry
public int getPosition()
PermissionEntry
getPosition
in interface PermissionEntry
public boolean isInherited()
PermissionEntry
isInherited
in interface PermissionEntry
Copyright © 2005–2017 Alfresco Software. All rights reserved.