org.liquidsite.app.template
Class PostBean

java.lang.Object
  extended byorg.liquidsite.app.template.TemplateBean
      extended byorg.liquidsite.app.template.ContentBean
          extended byorg.liquidsite.app.template.PostBean

public class PostBean
extends ContentBean

A post template bean. This class is used to access posts from the template data model.


Method Summary
 java.lang.String getSubject()
          Returns the post subject.
 java.lang.String getSubjectSource()
          Returns the unprocessed post subject.
 java.lang.String getText()
          Returns the post text.
 java.lang.String getTextSource()
          Returns the unprocessed post text.
 
Methods inherited from class org.liquidsite.app.template.ContentBean
getContent, getCreated, getDate, getId, getLock, getName, getOnline, getParent, getPath, getRevision, getUser, hasAccess, toString
 
Methods inherited from class org.liquidsite.app.template.TemplateBean
getContext, getContextRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getSubject

public java.lang.String getSubject()
Returns the post subject.

Returns:
the post subject, or an empty string if the post doesn't exist

getSubjectSource

public java.lang.String getSubjectSource()
Returns the unprocessed post subject.

Returns:
the unprocessed post subject, or an empty string if the post doesn't exist

getText

public java.lang.String getText()
Returns the post text.

Returns:
the post text, or an empty string if the post doesn't exist

getTextSource

public java.lang.String getTextSource()
Returns the unprocessed post text.

Returns:
the unprocessed post text, or an empty string if the post doesn't exist