org.liquidsite.app.admin.view
Class UserView

java.lang.Object
  extended byorg.liquidsite.app.admin.view.AdminView
      extended byorg.liquidsite.app.admin.view.UserView

public class UserView
extends AdminView

A helper class for the user view. This class contains methods for creating the HTML responses to the pages in the user view.


Field Summary
 
Fields inherited from class org.liquidsite.app.admin.view.AdminView
BASE, CONTENT, DIALOG, HOME, SCRIPT, SITE, SYSTEM, USER
 
Method Summary
 void viewEditGroup(Request request, Group group)
          Shows the add or edit group page.
 void viewEditUser(Request request, Domain domain, User user)
          Shows the add or edit user page.
 void viewGroup(Request request)
          Shows the view group detail page.
 void viewUsers(Request request)
          Shows the users 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

viewUsers

public void viewUsers(Request request)
               throws ContentException,
                      ContentSecurityException
Shows the users page.

Parameters:
request - the request object
Throws:
ContentException - if the database couldn't be accessed properly
ContentSecurityException - if the user didn't have the required permissions

viewGroup

public void viewGroup(Request request)
               throws ContentException,
                      ContentSecurityException
Shows the view group detail page.

Parameters:
request - the request object
Throws:
ContentException - if the database couldn't be accessed properly
ContentSecurityException - if the user didn't have the required permissions

viewEditUser

public void viewEditUser(Request request,
                         Domain domain,
                         User user)
                  throws ContentException
Shows the add or edit user page.

Parameters:
request - the request object
domain - the user domain
user - the user to edit, or null to add new
Throws:
ContentException - if the database couldn't be accessed properly

viewEditGroup

public void viewEditGroup(Request request,
                          Group group)
Shows the add or edit group page.

Parameters:
request - the request object
group - the group to edit, or null to add new