|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.liquidsite.app.admin.view.AdminView
org.liquidsite.app.admin.view.ContentView
A helper class for the content view. This class contains methods for creating the HTML and JavaScript responses to the various pages in the content view.
| Field Summary |
| Fields inherited from class org.liquidsite.app.admin.view.AdminView |
BASE, CONTENT, DIALOG, HOME, SCRIPT, SITE, SYSTEM, USER |
| Method Summary | |
java.lang.Object |
getContentTreeFocus(Request request)
Returns the content tree focus object. |
void |
setContentTreeFocus(Request request,
java.lang.Object obj)
Sets the content tree focus object. |
void |
viewAddObject(Request request,
PersistentObject parent)
Shows the add object page. |
void |
viewContent(Request request)
Shows the content page. |
void |
viewDocumentPreview(Request request,
ContentDocument doc)
Shows the document preview page. |
void |
viewEditDocument(Request request,
Content reference)
Shows the add or edit document page. |
void |
viewEditFile(Request request,
PersistentObject reference)
Shows the add or edit file page. |
void |
viewEditForum(Request request,
Content reference)
Shows the add or edit forum page. |
void |
viewEditPost(Request request,
Content reference)
Shows the add or edit post page. |
void |
viewEditSection(Request request,
PersistentObject parent,
ContentSection section)
Shows the add or edit section page. |
void |
viewEditTopic(Request request,
Content reference)
Shows the add or edit topic page. |
void |
viewLoadContentScript(Request request,
PersistentObject obj,
boolean open)
Shows the load content object JavaScript code. |
void |
viewOpenContentScript(Request request,
PersistentObject obj)
Shows the open content object JavaScript code. |
void |
viewSectionPreview(Request request,
ContentSection section)
Shows the section preview page. |
| Methods inherited from class org.liquidsite.app.admin.view.AdminView |
findDomains, findFolders, findForums, findGroups, findSections, findTemplates, viewError, viewInfo, viewRedirect |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void viewContent(Request request)
throws ContentException,
ContentSecurityException
request - the request object
ContentException - if the database couldn't be accessed
properly
ContentSecurityException - if the user didn't have the
required permissions
public void viewAddObject(Request request,
PersistentObject parent)
throws ContentException
request - the request objectparent - the parent object
ContentException - if the database couldn't be accessed
properly
public void viewEditSection(Request request,
PersistentObject parent,
ContentSection section)
throws ContentException
request - the request objectparent - the parent object, or nullsection - the section object, or null
ContentException - if the database couldn't be accessed
properly
public void viewEditDocument(Request request,
Content reference)
throws ContentException
request - the request objectreference - the parent or document object
ContentException - if the database couldn't be accessed
properly
public void viewEditFile(Request request,
PersistentObject reference)
throws ContentException
request - the request objectreference - the reference object (parent or file)
ContentException - if the database couldn't be accessed
properly
public void viewEditForum(Request request,
Content reference)
throws ContentException
request - the request objectreference - the parent or forum object
ContentException - if the database couldn't be accessed
properly
public void viewEditTopic(Request request,
Content reference)
throws ContentException
request - the request objectreference - the parent or topic object
ContentException - if the database couldn't be accessed
properly
public void viewEditPost(Request request,
Content reference)
throws ContentException
request - the request objectreference - the parent or post object
ContentException - if the database couldn't be accessed
properly
public void viewSectionPreview(Request request,
ContentSection section)
throws ContentException
request - the request objectsection - the section object
ContentException - if the database couldn't be accessed
properly
public void viewDocumentPreview(Request request,
ContentDocument doc)
throws ContentException
request - the request objectdoc - the document object
ContentException - if the database couldn't be accessed
properly
public void viewLoadContentScript(Request request,
PersistentObject obj,
boolean open)
throws ContentException
request - the request objectobj - the domain or content parent objectopen - the open object flag
ContentException - if the database couldn't be accessed
properly
public void viewOpenContentScript(Request request,
PersistentObject obj)
throws ContentException
request - the request objectobj - the domain or content object
ContentException - if the database couldn't be accessed
properlypublic java.lang.Object getContentTreeFocus(Request request)
request - the request
public void setContentTreeFocus(Request request,
java.lang.Object obj)
request - the requestobj - the new focus object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||