|
|||||||||||
| 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.SiteView
A helper class for the site view. This class contains methods for creating the HTML and JavaScript responses to the various pages in the site 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 |
getSiteTreeFocus(Request request)
Returns the site tree focus object. |
void |
setSiteTreeFocus(Request request,
java.lang.Object obj)
Sets the site tree focus object. |
void |
viewAddObject(Request request,
PersistentObject parent)
Shows the add object page. |
void |
viewEditDomain(Request request,
PersistentObject parent,
Domain domain)
Shows the add or edit domain page. |
void |
viewEditFile(Request request,
Content reference)
Shows the add or edit file page. |
void |
viewEditFolder(Request request,
PersistentObject parent,
ContentFolder folder)
Shows the add or edit folder page. |
void |
viewEditPage(Request request,
Content reference)
Shows the add or edit page page. |
void |
viewEditSite(Request request,
PersistentObject reference)
Shows the add or edit site page. |
void |
viewEditTemplate(Request request,
PersistentObject parent,
ContentTemplate template)
Shows the add or edit template page. |
void |
viewEditTranslator(Request request,
Content reference)
Shows the add or edit translator page. |
void |
viewLoadSiteScript(Request request,
PersistentObject obj,
boolean open)
Shows the load site object JavaScript code. |
void |
viewOpenSiteScript(Request request,
PersistentObject obj)
Shows the open site object JavaScript code. |
void |
viewOpenTemplateScript(Request request,
ContentTemplate template)
Shows the open template JavaScript code. |
void |
viewSite(Request request)
Shows the site page. |
void |
viewTemplatePreview(Request request,
ContentTemplate template)
Shows the template 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 viewSite(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 viewEditDomain(Request request,
PersistentObject parent,
Domain domain)
throws ContentException
request - the request objectparent - the parent object for addingdomain - the domain object for editing
ContentException - if the database couldn't be accessed
properly
public void viewEditSite(Request request,
PersistentObject reference)
throws ContentException
request - the request objectreference - the reference object (domain or site)
ContentException - if the database couldn't be accessed
properly
public void viewEditTranslator(Request request,
Content reference)
throws ContentException
request - the request objectreference - the parent or translator object
ContentException - if the database couldn't be accessed
properly
public void viewEditPage(Request request,
Content reference)
throws ContentException,
ContentSecurityException
request - the request objectreference - the parent or page object
ContentException - if the database couldn't be accessed
properly
ContentSecurityException - if the user didn't have the
required permissions
public void viewEditFile(Request request,
Content reference)
throws ContentException
request - the request objectreference - the reference object (parent or file)
ContentException - if the database couldn't be accessed
properly
public void viewEditFolder(Request request,
PersistentObject parent,
ContentFolder folder)
throws ContentException
request - the request objectparent - the parent object, or nullfolder - the folder object, or null
ContentException - if the database couldn't be accessed
properly
public void viewEditTemplate(Request request,
PersistentObject parent,
ContentTemplate template)
throws ContentException
request - the request objectparent - the parent object, or nulltemplate - the template object, or null
ContentException - if the database couldn't be accessed
properly
public void viewTemplatePreview(Request request,
ContentTemplate template)
throws ContentException
request - the request objecttemplate - the template object
ContentException - if the database couldn't be accessed
properly
public void viewLoadSiteScript(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 viewOpenSiteScript(Request request,
PersistentObject obj)
throws ContentException
request - the request objectobj - the domain or content object
ContentException - if the database couldn't be accessed
properly
public void viewOpenTemplateScript(Request request,
ContentTemplate template)
throws ContentException
request - the request objecttemplate - the content template, or null
ContentException - if the database couldn't be accessed
properlypublic java.lang.Object getSiteTreeFocus(Request request)
request - the request
public void setSiteTreeFocus(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 | ||||||||||