org.olat.course.tree
Class PublishTreeModel

java.lang.Object
  extended by org.olat.core.gui.components.tree.GenericTreeModel
      extended by org.olat.course.tree.PublishTreeModel
All Implemented Interfaces:
java.io.Serializable, TreeModel, INodeFilter

public class PublishTreeModel
extends GenericTreeModel
implements INodeFilter

Initial Date: Jun 3, 2004

Author:
Mike Stock
See Also:
Serialized Form

Constructor Summary
PublishTreeModel(CourseEditorTreeModel cetm, Structure runStructure, Translator translator)
          Build a new publish tree model.
 
Method Summary
 boolean accept(INode node)
           
 boolean hasPublishableChanges()
          Check if this publish tree node has any publishable changes.
 boolean isMoved(CourseEditorTreeNode cetn)
           
 
Methods inherited from class org.olat.core.gui.components.tree.GenericTreeModel
findNodeByUserObject, getNodeById, getRootNode, setRootNode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublishTreeModel

public PublishTreeModel(CourseEditorTreeModel cetm,
                        Structure runStructure,
                        Translator translator)
Build a new publish tree model. Node proxies in the model get the ident's of their correspondents in the CourseEditorTreeModel.

Parameters:
cetm -
Method Detail

isMoved

public boolean isMoved(CourseEditorTreeNode cetn)

hasPublishableChanges

public boolean hasPublishableChanges()
Check if this publish tree node has any publishable changes.


accept

public boolean accept(INode node)
Specified by:
accept in interface INodeFilter