org.alfresco.repo.security.permissions.impl
Class SimpleNodePermissionEntry

java.lang.Object
  extended by org.alfresco.repo.security.permissions.impl.AbstractNodePermissionEntry
      extended by org.alfresco.repo.security.permissions.impl.SimpleNodePermissionEntry
All Implemented Interfaces:
java.io.Serializable, NodePermissionEntry

public final class SimpleNodePermissionEntry
extends AbstractNodePermissionEntry
implements java.io.Serializable

A simple object representation of a node permission entry

See Also:
Serialized Form

Constructor Summary
SimpleNodePermissionEntry(org.alfresco.service.cmr.repository.NodeRef nodeRef, boolean inheritPermissions, java.util.List permissionEntries)
           
 
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?
 
Methods inherited from class org.alfresco.repo.security.permissions.impl.AbstractNodePermissionEntry
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleNodePermissionEntry

public SimpleNodePermissionEntry(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                 boolean inheritPermissions,
                                 java.util.List permissionEntries)
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:


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