org.alfresco.repo.security.permissions.impl.model
Class NodePermission

java.lang.Object
  extended by org.alfresco.repo.security.permissions.impl.model.NodePermission
All Implemented Interfaces:
XMLModelInitialisable, NodePermissionEntry

public class NodePermission
extends java.lang.Object
implements NodePermissionEntry, XMLModelInitialisable

Support to read and store the definition of node permissions


Constructor Summary
NodePermission()
           
 
Method Summary
 org.alfresco.service.cmr.repository.NodeRef getNodeRef()
          Get the node ref.
 java.util.List getPermissionEntries()
          Get the permission entries set for this node.
 boolean inheritPermissions()
          Does the node inherit permissions from its primary parent?
 void initialise(org.dom4j.Element element, org.alfresco.service.namespace.NamespacePrefixResolver nspr, PermissionModel permissionModel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodePermission

public NodePermission()
Method Detail

getNodeRef

public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Description copied from interface: NodePermissionEntry
Get the node ref.

Specified by:
getNodeRef in interface NodePermissionEntry
Returns:

inheritPermissions

public boolean inheritPermissions()
Description copied from interface: NodePermissionEntry
Does the node inherit permissions from its primary parent?

Specified by:
inheritPermissions in interface NodePermissionEntry
Returns:

getPermissionEntries

public java.util.List getPermissionEntries()
Description copied from interface: NodePermissionEntry
Get the permission entries set for this node.

Specified by:
getPermissionEntries in interface NodePermissionEntry
Returns:

initialise

public void initialise(org.dom4j.Element element,
                       org.alfresco.service.namespace.NamespacePrefixResolver nspr,
                       PermissionModel permissionModel)
Specified by:
initialise in interface XMLModelInitialisable


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.