Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.comment.web
Class UIComment

java.lang.Object
  extended by org.nuxeo.ecm.platform.comment.web.UIComment
All Implemented Interfaces:
Serializable, Comparable

public class UIComment
extends Object
implements Comparable, Serializable

Author:
George Lefter
See Also:
Serialized Form

Constructor Summary
UIComment(UIComment parent, DocumentModel docModel)
           
 
Method Summary
 boolean addChild(UIComment child)
           
 int compareTo(Object o)
           
 boolean equals(Object other)
           
 List<UIComment> getChildren()
           
 DocumentModel getComment()
           
 DataModel getDataModel()
           
 String getId()
           
 UIComment getParent()
           
 int hashCode()
           
 boolean removeChild(UIComment child)
           
 void setChildren(List<UIComment> children)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIComment

public UIComment(UIComment parent,
                 DocumentModel docModel)
Method Detail

getId

public String getId()

getChildren

public List<UIComment> getChildren()

setChildren

public void setChildren(List<UIComment> children)

addChild

public boolean addChild(UIComment child)

getParent

public UIComment getParent()

removeChild

public boolean removeChild(UIComment child)

getDataModel

public DataModel getDataModel()

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

getComment

public DocumentModel getComment()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.