Uses of Class
org.liquidsite.core.content.ContentException

Packages that use ContentException
org.liquidsite.app.admin   
org.liquidsite.app.admin.view   
org.liquidsite.app.servlet   
org.liquidsite.app.template   
org.liquidsite.core.content   
 

Uses of ContentException in org.liquidsite.app.admin
 

Methods in org.liquidsite.app.admin that throw ContentException
protected  void UsersEditFormHandler.displayStep(Request request, int step)
          Displays a form for the specified workflow step.
protected  int UsersEditFormHandler.handleStep(Request request, int step)
          Handles a validated form for the specified workflow step.
protected  void UsersEditFormHandler.setUserGroups(Request request, User user)
          Sets the user groups from the request.
protected  void UsersAddFormHandler.displayStep(Request request, int step)
          Displays a form for the specified workflow step.
protected  void UsersAddFormHandler.validateStep(Request request, int step)
          Validates a form for the specified workflow step.
protected  int UsersAddFormHandler.handleStep(Request request, int step)
          Handles a validated form for the specified workflow step.
protected  void PermissionsDialogHandler.displayStep(Request request, int step)
          Displays a form for the specified workflow step.
protected  void PermissionsDialogHandler.validateStep(Request request, int step)
          Validates a form for the specified workflow step.
protected  int PermissionsDialogHandler.handleStep(Request request, int step)
          Handles a validated form for the specified workflow step.
protected  void ContentEditFormHandler.displayStep(Request request, int step)
          Displays a form for the specified workflow step.
protected  void ContentEditFormHandler.validateStep(Request request, int step)
          Validates a form for the specified workflow step.
protected  int ContentEditFormHandler.handleStep(Request request, int step)
          Handles a validated form for the specified workflow step.
 void ContentEditFormHandler.handleFileUpload(Request request)
          Handles a file upload (in the document editing form).
 void ContentEditFormHandler.handleAddDocumentFiles(Request request, ContentDocument doc)
          Handles adding all session files to a document.
protected  void ContentAddFormHandler.displayStep(Request request, int step)
          Displays a form for the specified workflow step.
protected  void ContentAddFormHandler.validateStep(Request request, int step)
          Validates a form for the specified workflow step.
protected  int ContentAddFormHandler.handleStep(Request request, int step)
          Handles a validated form for the specified workflow step.
static ContentManager AdminUtils.getContentManager()
          Returns the content manager for administration.
static boolean AdminUtils.isOnline(java.lang.Object obj)
          Checks is a specified object is online.
static PersistentObject AdminUtils.getReference(Request request)
          Returns the domain or content referenced by a request.
 

Uses of ContentException in org.liquidsite.app.admin.view
 

Methods in org.liquidsite.app.admin.view with parameters of type ContentException
 void DialogView.viewError(Request request, ContentException e)
          Shows the error message dialog.
 

Methods in org.liquidsite.app.admin.view that throw ContentException
 void UserView.viewUsers(Request request)
          Shows the users page.
 void UserView.viewGroup(Request request)
          Shows the view group detail page.
 void UserView.viewEditUser(Request request, Domain domain, User user)
          Shows the add or edit user page.
 void SystemView.viewBackup(Request request)
          Shows the system backup form.
 void SystemView.viewRestore(Request request)
          Shows the system restore form.
 void SiteView.viewSite(Request request)
          Shows the site page.
 void SiteView.viewAddObject(Request request, PersistentObject parent)
          Shows the add object page.
 void SiteView.viewEditDomain(Request request, PersistentObject parent, Domain domain)
          Shows the add or edit domain page.
 void SiteView.viewEditSite(Request request, PersistentObject reference)
          Shows the add or edit site page.
 void SiteView.viewEditTranslator(Request request, Content reference)
          Shows the add or edit translator page.
 void SiteView.viewEditPage(Request request, Content reference)
          Shows the add or edit page page.
 void SiteView.viewEditFile(Request request, Content reference)
          Shows the add or edit file page.
 void SiteView.viewEditFolder(Request request, PersistentObject parent, ContentFolder folder)
          Shows the add or edit folder page.
 void SiteView.viewEditTemplate(Request request, PersistentObject parent, ContentTemplate template)
          Shows the add or edit template page.
 void SiteView.viewTemplatePreview(Request request, ContentTemplate template)
          Shows the template preview page.
 void SiteView.viewLoadSiteScript(Request request, PersistentObject obj, boolean open)
          Shows the load site object JavaScript code.
 void SiteView.viewOpenSiteScript(Request request, PersistentObject obj)
          Shows the open site object JavaScript code.
 void SiteView.viewOpenTemplateScript(Request request, ContentTemplate template)
          Shows the open template JavaScript code.
 java.lang.String ScriptView.getTreeView(Domain domain, Content[] children, boolean open)
          Returns the JavaScript for presenting a tree view.
 java.lang.String ScriptView.getTreeView(Content parent, Content[] children, boolean open)
          Returns the JavaScript for presenting a tree view.
 java.lang.String ScriptView.getObjectView(User user, Domain domain, java.lang.String view)
          Returns the JavaScript for presenting an object view.
 java.lang.String ScriptView.getObjectView(User user, Content content, java.lang.String view)
          Returns the JavaScript for presenting an object view.
 java.lang.String ScriptView.getTemplateElements(ContentTemplate template)
          Returns the JavaScript for setting all the inherited template page elements.
 void DialogView.viewPermissions(Request request, PersistentObject obj)
          Shows the permissions editing dialog.
 void DialogView.viewStatistics(Request request, Domain domain)
          Shows the statistics summary page.
 void ContentView.viewContent(Request request)
          Shows the content page.
 void ContentView.viewAddObject(Request request, PersistentObject parent)
          Shows the add object page.
 void ContentView.viewEditSection(Request request, PersistentObject parent, ContentSection section)
          Shows the add or edit section page.
 void ContentView.viewEditDocument(Request request, Content reference)
          Shows the add or edit document page.
 void ContentView.viewEditFile(Request request, PersistentObject reference)
          Shows the add or edit file page.
 void ContentView.viewEditForum(Request request, Content reference)
          Shows the add or edit forum page.
 void ContentView.viewEditTopic(Request request, Content reference)
          Shows the add or edit topic page.
 void ContentView.viewEditPost(Request request, Content reference)
          Shows the add or edit post page.
 void ContentView.viewSectionPreview(Request request, ContentSection section)
          Shows the section preview page.
 void ContentView.viewDocumentPreview(Request request, ContentDocument doc)
          Shows the document preview page.
 void ContentView.viewLoadContentScript(Request request, PersistentObject obj, boolean open)
          Shows the load content object JavaScript code.
 void ContentView.viewOpenContentScript(Request request, PersistentObject obj)
          Shows the open content object JavaScript code.
protected  java.util.ArrayList AdminView.findDomains(User user)
          Finds all domains readable by a user.
protected  java.util.ArrayList AdminView.findFolders(User user, ContentSite site, ContentFolder exclude, boolean translators)
          Finds all content folders in a site.
protected  java.util.ArrayList AdminView.findTemplates(User user, Domain domain, ContentTemplate exclude)
          Finds all content templates in a domain.
protected  java.util.ArrayList AdminView.findSections(User user, Domain domain, ContentSection exclude)
          Finds all content sections in a domain.
protected  java.util.ArrayList AdminView.findForums(User user, Domain domain)
          Finds all content forums in a domain.
protected  java.util.ArrayList AdminView.findGroups(Domain domain, java.lang.String filter)
          Finds the matching groups in a domain.
 

Uses of ContentException in org.liquidsite.app.servlet
 

Methods in org.liquidsite.app.servlet that throw ContentException
protected  void RequestProcessor.sendContent(Request request, Content content)
          Processes a request to a content object.
 

Uses of ContentException in org.liquidsite.app.template
 

Methods in org.liquidsite.app.template that throw ContentException
 int BeanContext.countContent(ContentSelector selector)
          Counts the number of content objects matching a content selector.
 Content BeanContext.findContent(int id)
          Finds a content object from a specified content id.
 Content BeanContext.findContent(java.lang.String path)
          Finds a content object from an absolute path.
 Content BeanContext.findContent(java.lang.Object parent, java.lang.String path)
          Finds a content object from a relative path.
 Content[] BeanContext.findContent(ContentSelector selector)
          Finds a set of content objects with a content selector.
 

Uses of ContentException in org.liquidsite.core.content
 

Methods in org.liquidsite.core.content that throw ContentException
 Domain User.getDomain()
          Returns the user domain.
 Group[] User.getGroups()
          Returns the groups that this user belongs to.
protected  void User.doValidate()
          Validates the object data before writing to the database.
protected  void User.doInsert(DataSource src, User user, boolean restore)
          Inserts the object data into the database.
protected  void User.doUpdate(DataSource src, User user)
          Updates the object data in the database.
protected  void User.doDelete(DataSource src, User user)
          Deletes the object data from the database.
protected static void PersistentObject.validateSize(java.lang.String name, java.lang.String value, int minLength, int maxLength)
          Checks a field value size.
protected static void PersistentObject.validateChars(java.lang.String name, java.lang.String value, java.lang.String chars)
          Checks a field value for invalid characters.
 boolean PersistentObject.hasReadAccess(User user)
          Checks the read access for a user.
 boolean PersistentObject.hasWriteAccess(User user)
          Checks the write access for a user.
 boolean PersistentObject.hasPublishAccess(User user)
          Checks the publish access for a user.
 boolean PersistentObject.hasAdminAccess(User user)
          Checks the admin access for a user.
 void PersistentObject.save(User user)
          Saves this object to the database.
 void PersistentObject.save(DataSource src, User user)
          Saves this object to the database.
 void PersistentObject.restore(User user)
          Restores this object to the database.
 void PersistentObject.restore(DataSource src, User user)
          Restores this object to the database.
 void PersistentObject.delete(User user)
          Deletes this object from the database.
 void PersistentObject.delete(DataSource src, User user)
          Deletes this object from the database.
protected abstract  void PersistentObject.doValidate()
          Validates the object data before writing to the database.
protected abstract  void PersistentObject.doInsert(DataSource src, User user, boolean restore)
          Inserts the object data into the database.
protected abstract  void PersistentObject.doUpdate(DataSource src, User user)
          Updates the object data in the database.
protected abstract  void PersistentObject.doDelete(DataSource src, User user)
          Deletes the object data from the database.
 Domain PermissionList.getDomain()
          Returns the permission reference domain.
 Content PermissionList.getContent()
          Returns the permission reference content object.
protected  void PermissionList.doValidate()
          Validates the object data before writing to the database.
protected  void PermissionList.doInsert(DataSource src, User user, boolean restore)
          Inserts the object data into the database.
protected  void PermissionList.doUpdate(DataSource src, User user)
          Updates the object data in the database.
protected  void PermissionList.doDelete(DataSource src, User user)
          Deletes the object data from the database.
 Domain Lock.getDomain()
          Returns the content domain.
 Content Lock.getContent()
          Returns the content object.
 User Lock.getUser()
          Returns the lock owner user.
protected  void Lock.doValidate()
          Validates the object data before writing to the database.
protected  void Lock.doInsert(DataSource src, User user, boolean restore)
          Inserts the object data into the database.
protected  void Lock.doUpdate(DataSource src, User user)
          Updates the object data in the database.
protected  void Lock.doDelete(DataSource src, User user)
          Deletes the object data from the database.
 Domain Group.getDomain()
          Returns the group domain.
 int Group.getUserCount()
          Returns the number of users that belong to this group.
 User[] Group.getUsers(int startPos, int maxLength)
          Returns the users that belong to this group.
protected  void Group.doValidate()
          Validates the object data before writing to the database.
protected  void Group.doInsert(DataSource src, User user, boolean restore)
          Inserts the object data into the database.
protected  void Group.doUpdate(DataSource src, User user)
          Updates the object data in the database.
protected  void Group.doDelete(DataSource src, User user)
          Deletes the object data from the database.
 PermissionList Domain.getPermissions()
          Returns the permission list applicable to this domain object.
 java.io.File Domain.getDirectory()
          Returns the domain file directory.
 java.util.ArrayList Domain.getSize()
          Calculates the approximate size of a domain per category.
protected  void Domain.doValidate()
          Validates the object data before writing to the database.
protected  void Domain.doInsert(DataSource src, User user, boolean restore)
          Inserts the object data into the database.
protected  void Domain.doUpdate(DataSource src, User user)
          Updates the object data in the database.
protected  void Domain.doDelete(DataSource src, User user)
          Deletes the object data from the database.
 Content ContentTranslator.getAlias(User user)
          Returns the translator alias content.
 ContentSection ContentTranslator.getSection(User user)
          Returns the translator section.
protected  void ContentTranslator.doValidate()
          Validates the object data before writing to the database.
protected  void ContentTopic.doValidate()
          Validates the object data before writing to the database.
 java.util.List ContentTemplate.getAllElementNames(ContentManager manager)
          Returns all page element names in this template and it's parents.
 java.lang.String ContentTemplate.getElement(ContentManager manager, java.lang.String name)
          Returns a named page element.
protected  void ContentTemplate.doValidate()
          Validates the object data before writing to the database.
protected static ContentSite[] ContentSite.findByDomain(ContentManager manager, Domain domain)
          Returns an array of content site in the specified domain.
protected  void ContentSite.doValidate()
          Validates the object data before writing to the database.
protected  void ContentSection.doValidate()
          Validates the object data before writing to the database.
protected  void ContentPost.doValidate()
          Validates the object data before writing to the database.
protected  void ContentPost.doInsert(DataSource src, User user, boolean restore)
          Inserts the object data into the database.
 ContentTemplate ContentPage.getTemplate(User user)
          Returns the page template.
 java.util.List ContentPage.getAllElementNames(User user)
          Returns all page element names in this page and it's template.
 java.lang.String ContentPage.getElement(User user, java.lang.String name)
          Returns a named page element.
protected  void ContentPage.doValidate()
          Validates the object data before writing to the database.
 Domain[] ContentManager.getDomains(User user)
          Returns an array of all domains visible by a user.
 Domain ContentManager.getDomain(User user, java.lang.String name)
          Returns a domain with the specified name readable by a user.
 Content ContentManager.getContent(User user, int id)
          Returns the content object with the specified identifier and highest revision readable by the user.
 Content ContentManager.getContentChild(User user, Domain domain, java.lang.String name)
          Returns the domain root content object with the specified name and highest revision readable by the user.
 Content ContentManager.getContentChild(User user, Content parent, java.lang.String name)
          Returns the child content object with the specified name and highest revision readable by the user.
 Content[] ContentManager.getContentChildren(User user, Domain domain)
          Returns the user readable domain root content objects.
 Content[] ContentManager.getContentChildren(User user, Domain domain, int category)
          Returns the user readable domain root content objects in the specified category.
 Content[] ContentManager.getContentChildren(User user, Content parent)
          Returns the user readable child content objects.
 Content[] ContentManager.getContentChildren(User user, Content parent, int category)
          Returns the user readable child content objects in the specified category.
 int ContentManager.getContentCount(ContentSelector selector)
          Returns the number of content objects matching the selector.
 Content[] ContentManager.getContentObjects(User user, ContentSelector selector)
          Returns the user readable content objects matching the selector.
 PermissionList ContentManager.getPermissions(Domain domain)
          Returns the permission list applicable to a domain object.
 PermissionList ContentManager.getPermissions(Content content, boolean inherit)
          Returns the permission list applicable to a content object.
 User ContentManager.getUser(Domain domain, java.lang.String name)
          Returns a user with a specified name.
 User ContentManager.getUserByEmail(Domain domain, java.lang.String email)
          Returns a user with a specified email address.
 int ContentManager.getUserCount(Domain domain, java.lang.String filter)
          Returns the number of users in a specified domain.
 User[] ContentManager.getUsers(Domain domain, java.lang.String filter, int startPos, int maxLength)
          Returns an array of users in a specified domain.
 Group ContentManager.getGroup(Domain domain, java.lang.String name)
          Returns a group with a specified name.
 Group[] ContentManager.getGroups(Domain domain, java.lang.String filter)
          Returns an array of groups in a specified domain.
 ContentSite ContentManager.findSite(java.lang.String protocol, java.lang.String hostname, int port, java.lang.String path)
          Finds the site corresponding to a web request.
 Group ContentForum.getModerator()
          Returns the moderator group.
 boolean ContentForum.isModerator(User user)
          Checks if the specified user is a forum moderator.
protected  void ContentForum.doValidate()
          Validates the object data before writing to the database.
protected  void ContentFolder.doValidate()
          Validates the object data before writing to the database.
 java.io.File ContentFile.getFile()
          Returns the file used for storing the data content.
 void ContentFile.setFileName(java.lang.String name)
          Sets the file name.
 java.lang.String ContentFile.getTextContent(javax.servlet.ServletContext context)
          Returns the text content of a file.
 void ContentFile.setTextContent(java.lang.String content)
          Sets the content of the file to the specified string.
 void ContentFile.deleteRevision(User user)
          Deletes this content revision from the database.
protected  void ContentFile.doValidate()
          Validates the object data before writing to the database.
protected  void ContentFile.doUpdate(DataSource src, User user)
          Updates the object data in the database.
protected  void ContentFile.doDelete(DataSource src, User user)
          Deletes the object data from the database.
protected  void ContentDocument.doValidate()
          Validates the object data before writing to the database.
 Domain Content.getDomain()
          Returns the content domain.
 Content Content.getParent()
          Returns the content parent.
 Content Content.getParent(ContentManager manager)
          Returns the content parent.
 User Content.getAuthor()
          Returns the content last modification author.
 int Content.getMaxRevisionNumber()
          Returns the highest content object revision number available.
 Content Content.getRevision(int revision)
          Returns the specified content object revision.
 Content[] Content.getAllRevisions()
          Returns an array of all content object revisions.
 Lock Content.getLock()
          Returns the lock applicable to this content object.
 PermissionList Content.getPermissions(boolean inherit)
          Returns the permission list applicable to this content object.
 void Content.deleteRevision(User user)
          Deletes this content revision from the database.
protected  void Content.doValidate()
          Validates the object data before writing to the database.
protected  void Content.doInsert(DataSource src, User user, boolean restore)
          Inserts the object data into the database.
protected  void Content.doUpdate(DataSource src, User user)
          Updates the object data in the database.
protected  void Content.doDelete(DataSource src, User user)
          Deletes the object data from the database.
 

Constructors in org.liquidsite.core.content that throw ContentException
ContentTranslator(ContentManager manager,