Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.webengine.sites.models
Class CommentModel

java.lang.Object
  extended by org.nuxeo.theme.models.AbstractModel
      extended by org.nuxeo.webengine.sites.models.CommentModel
All Implemented Interfaces:
Model

public class CommentModel
extends AbstractModel

Model related to comments that are bounded to a WebPage in the fragment initialization mechanism

Author:
rux

Constructor Summary
CommentModel(String creationDate, String author, String commentText, String ref, boolean pendingComment)
           
 
Method Summary
 String getAuthor()
           
 String getCommentText()
           
 String getCreationDate()
           
 String getRef()
           
 String getSiteUrl()
           
 boolean isPendingComment()
           
 void setAuthor(String author)
           
 void setCommentText(String commentText)
           
 void setCreationDate(String creationDate)
           
 void setPendingComment(boolean pendingComment)
           
 void setRef(String ref)
           
 void setSiteUrl(String siteUrl)
           
 
Methods inherited from class org.nuxeo.theme.models.AbstractModel
addItem, getItems, getModelType, getModelTypeName, hasItems, insertItem
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentModel

public CommentModel(String creationDate,
                    String author,
                    String commentText,
                    String ref,
                    boolean pendingComment)
Method Detail

getAuthor

public String getAuthor()

setAuthor

public void setAuthor(String author)

isPendingComment

public boolean isPendingComment()

setPendingComment

public void setPendingComment(boolean pendingComment)

getCommentText

public String getCommentText()

setCommentText

public void setCommentText(String commentText)

getRef

public String getRef()

setRef

public void setRef(String ref)

getCreationDate

public String getCreationDate()

setCreationDate

public void setCreationDate(String creationDate)

getSiteUrl

public String getSiteUrl()

setSiteUrl

public void setSiteUrl(String siteUrl)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.