|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.liquidsite.app.admin.view.AdminView
A helper class for creating the HTML and JavaScript output for the administration application.
| Field Summary | |
static AdminView |
BASE
The base view class. |
static ContentView |
CONTENT
The content view helper. |
static DialogView |
DIALOG
The dialog view helper. |
static HomeView |
HOME
The home view helper. |
static ScriptView |
SCRIPT
The script view helper. |
static SiteView |
SITE
The site view helper. |
static SystemView |
SYSTEM
The system view helper. |
static UserView |
USER
The user view helper. |
| Method Summary | |
protected java.util.ArrayList |
findDomains(User user)
Finds all domains readable by a user. |
protected java.util.ArrayList |
findFolders(User user,
ContentSite site,
ContentFolder exclude,
boolean translators)
Finds all content folders in a site. |
protected java.util.ArrayList |
findForums(User user,
Domain domain)
Finds all content forums in a domain. |
protected java.util.ArrayList |
findGroups(Domain domain,
java.lang.String filter)
Finds the matching groups in a domain. |
protected java.util.ArrayList |
findSections(User user,
Domain domain,
ContentSection exclude)
Finds all content sections in a domain. |
protected java.util.ArrayList |
findTemplates(User user,
Domain domain,
ContentTemplate exclude)
Finds all content templates in a domain. |
void |
viewError(Request request,
java.lang.String message,
java.lang.String page)
Shows the error message page. |
void |
viewInfo(Request request,
java.lang.String message,
java.lang.String page)
Shows the information message page. |
void |
viewRedirect(Request request,
java.lang.String url)
Shows the redirect page. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final AdminView BASE
public static final DialogView DIALOG
public static final HomeView HOME
public static final SiteView SITE
public static final ContentView CONTENT
public static final UserView USER
public static final SystemView SYSTEM
public static final ScriptView SCRIPT
| Method Detail |
public void viewError(Request request,
java.lang.String message,
java.lang.String page)
request - the request objectmessage - the error messagepage - the redirect page
public void viewInfo(Request request,
java.lang.String message,
java.lang.String page)
request - the request objectmessage - the information messagepage - the redirect page
public void viewRedirect(Request request,
java.lang.String url)
request - the request objecturl - the destination URL
protected java.util.ArrayList findDomains(User user)
throws ContentException
user - the user
ContentException - if the database couldn't be accessed
properly
protected java.util.ArrayList findFolders(User user,
ContentSite site,
ContentFolder exclude,
boolean translators)
throws ContentException
user - the usersite - the content siteexclude - the folder to exclude, or nulltranslators - the include translators flag
ContentException - if the database couldn't be accessed
properly
protected java.util.ArrayList findTemplates(User user,
Domain domain,
ContentTemplate exclude)
throws ContentException
user - the userdomain - the domainexclude - the template to exclude, or null
ContentException - if the database couldn't be accessed
properly
protected java.util.ArrayList findSections(User user,
Domain domain,
ContentSection exclude)
throws ContentException
user - the userdomain - the domainexclude - the section to exclude, or null
ContentException - if the database couldn't be accessed
properly
protected java.util.ArrayList findForums(User user,
Domain domain)
throws ContentException
user - the userdomain - the domain
ContentException - if the database couldn't be accessed
properly
protected java.util.ArrayList findGroups(Domain domain,
java.lang.String filter)
throws ContentException
domain - the domainfilter - the search filter (empty for all)
ContentException - if the database couldn't be accessed
properly
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||