|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.security.permissions.impl.model.GlobalPermissionEntry
public class GlobalPermissionEntry
Constructor Summary | |
---|---|
GlobalPermissionEntry()
|
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) |
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? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlobalPermissionEntry()
Method Detail |
---|
public void initialise(org.dom4j.Element element, org.alfresco.service.namespace.NamespacePrefixResolver nspr, PermissionModel permissionModel)
initialise
in interface XMLModelInitialisable
public java.lang.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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |