public class GlobalPermissionEntry extends java.lang.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
|
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)
|
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 XMLModelInitialisablepublic java.lang.String getAuthority()
PermissionEntrygetAuthority in interface PermissionEntrypublic PermissionReference getPermissionReference()
PermissionEntrygetPermissionReference in interface PermissionEntrypublic org.alfresco.service.cmr.repository.NodeRef getNodeRef()
PermissionEntrygetNodeRef in interface PermissionEntrypublic boolean isDenied()
PermissionEntryisDenied in interface PermissionEntrypublic boolean isAllowed()
PermissionEntryisAllowed in interface PermissionEntrypublic org.alfresco.service.cmr.security.AccessStatus getAccessStatus()
PermissionEntrygetAccessStatus in interface PermissionEntrypublic int getPosition()
PermissionEntrygetPosition in interface PermissionEntrypublic boolean isInherited()
PermissionEntryisInherited in interface PermissionEntryCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.