|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.liquidsite.app.admin.view.ScriptView
A helper class for creating JavaScript code to the administration application.
| Method Summary | |
java.lang.String |
getObjectView(User user,
Content content,
java.lang.String view)
Returns the JavaScript for presenting an object view. |
java.lang.String |
getObjectView(User user,
Domain domain,
java.lang.String view)
Returns the JavaScript for presenting an object view. |
java.lang.String |
getTemplateElements(ContentTemplate template)
Returns the JavaScript for setting all the inherited template page elements. |
java.lang.String |
getTreeView(Content parent,
Content[] children,
boolean open)
Returns the JavaScript for presenting a tree view. |
java.lang.String |
getTreeView(Domain[] domains)
Returns the JavaScript for presenting a tree view. |
java.lang.String |
getTreeView(Domain domain,
Content[] children,
boolean open)
Returns the JavaScript for presenting a tree view. |
java.lang.String |
getTreeViewSelect(Content content)
Returns the JavaScript for selecting an item in a tree view. |
java.lang.String |
getTreeViewSelect(Domain domain)
Returns the JavaScript for selecting an item in a tree view. |
boolean |
isContainer(Content content)
Checks if the specified content object is a container. |
void |
viewReload(Request request)
Sends a page reload script. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void viewReload(Request request)
request - the request objectpublic java.lang.String getTreeViewSelect(Domain domain)
domain - the domain object to select
public java.lang.String getTreeViewSelect(Content content)
content - the content object to select
public java.lang.String getTreeView(Domain[] domains)
domains - the root domain objects
public java.lang.String getTreeView(Domain domain,
Content[] children,
boolean open)
throws ContentException
domain - the domain objectchildren - the child content objectsopen - the open (domain) object flag
ContentException - if the database couldn't be accessed
properly
public java.lang.String getTreeView(Content parent,
Content[] children,
boolean open)
throws ContentException
parent - the parent content objectchildren - the child content objectsopen - the open content object flag
ContentException - if the database couldn't be accessed
properly
public java.lang.String getObjectView(User user,
Domain domain,
java.lang.String view)
throws ContentException
user - the current userdomain - the domain objectview - the view name
ContentException - if the database couldn't be accessed
properly
public java.lang.String getObjectView(User user,
Content content,
java.lang.String view)
throws ContentException
user - the current usercontent - the content objectview - the view name
ContentException - if the database couldn't be accessed
properly
public java.lang.String getTemplateElements(ContentTemplate template)
throws ContentException
template - the content template, or null
ContentException - if the database couldn't be accessed
properlypublic boolean isContainer(Content content)
content - the content object to check
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||