|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.liquidsite.app.template.TemplateBean
org.liquidsite.app.template.ContentBean
org.liquidsite.app.template.SectionBean
A section template bean. This class is used to access sections from the template data model.
| Method Summary | |
int |
countDocuments()
Returns the number of documents in this section and any subsections. |
DocumentBean |
findDocument(java.lang.String path)
Returns the document corresponding to the specified path. |
java.util.ArrayList |
findDocuments(int offset,
int count)
Returns all documents in this section and any subsections. |
java.util.ArrayList |
findDocuments(java.lang.String sorting,
int offset,
int count)
Returns all documents in this section and any subsections. |
ForumBean |
findForum(java.lang.String name)
Returns a named forum in this section. |
java.lang.String |
getDescription()
Returns the section description in HTML format. |
java.util.ArrayList |
getForums()
Returns all forums in this section. |
java.util.ArrayList |
getSections()
Returns all sections in this section. |
| 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 |
public java.lang.String getDescription()
public java.util.ArrayList getSections()
public java.util.ArrayList getForums()
public int countDocuments()
public DocumentBean findDocument(java.lang.String path)
path - the document (and section) path
public java.util.ArrayList findDocuments(int offset,
int count)
offset - the number of documents to skipcount - the maximum number of documents
public java.util.ArrayList findDocuments(java.lang.String sorting,
int offset,
int count)
sorting - the sorting informationoffset - the number of documents to skipcount - the maximum number of documents
public ForumBean findForum(java.lang.String name)
name - the forum name
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||