org.rivetlogic.scar.vo
Class SimpleNode

java.lang.Object
  extended by org.rivetlogic.scar.vo.BaseNode
      extended by org.rivetlogic.scar.vo.SimpleNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Node

public class SimpleNode
extends BaseNode

Adds a flag to BaseNode to keep track of whether the current user is allowed to create children in this node.

Author:
Rivet Logic Corporation
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.rivetlogic.scar.vo.BaseNode
name, nodeRef
 
Constructor Summary
SimpleNode(java.lang.String name, org.alfresco.service.cmr.repository.NodeRef nodeRef, boolean createChildPermitted)
           
 
Method Summary
 java.lang.String getShortName()
           
 boolean isCreateChildPermitted()
           
 void setCreateChildPermitted(boolean createChildPermitted)
           
 
Methods inherited from class org.rivetlogic.scar.vo.BaseNode
clone, getName, getNodeRef, setName, setNodeRef
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleNode

public SimpleNode(java.lang.String name,
                  org.alfresco.service.cmr.repository.NodeRef nodeRef,
                  boolean createChildPermitted)
Method Detail

getShortName

public java.lang.String getShortName()

isCreateChildPermitted

public boolean isCreateChildPermitted()

setCreateChildPermitted

public void setCreateChildPermitted(boolean createChildPermitted)


Copyright 2008, Rivet Logic Corporation.