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

Packages that use User
org.liquidsite.app.admin   
org.liquidsite.app.admin.view   
org.liquidsite.app.template   
org.liquidsite.core.content   
org.liquidsite.core.web   
 

Uses of User in org.liquidsite.app.admin
 

Methods in org.liquidsite.app.admin with parameters of type User
protected  void UsersEditFormHandler.setUserGroups(Request request, User user)
          Sets the user groups from the request.
static java.text.SimpleDateFormat AdminUtils.getDateFormat(User user)
          Returns a date format for the specified user.
static java.lang.String AdminUtils.formatDate(User user, java.util.Date date)
          Formats a date to a printable string.
static java.util.Date AdminUtils.parseDate(User user, java.lang.String str)
          Parses a date string into a date.
static java.lang.String AdminUtils.getScriptDate(User user, java.util.Date date)
          Returns the JavaScript representation of a date.
 

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

Methods in org.liquidsite.app.admin.view with parameters of type User
 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.
 void UserView.viewEditUser(Request request, Domain domain, User user)
          Shows the add or edit user page.
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.
 

Uses of User in org.liquidsite.app.template
 

Methods in org.liquidsite.app.template with parameters of type User
static Template TemplateManager.getPageTemplate(User user, ContentPage page)
          Returns a template from a content page.
 

Uses of User in org.liquidsite.core.content
 

Methods in org.liquidsite.core.content that return User
 User Lock.getUser()
          Returns the lock owner user.
 User ContentManager.getUser(Domain domain, java.lang.String name)
          Returns a user with a specified name.
 User[] ContentManager.getUsers(Domain domain, java.lang.String filter, int startPos, int maxLength)
          Returns an array of users in a specified domain.
 User[] Group.getUsers(int startPos, int maxLength)
          Returns the users that belong to this group.
 User Content.getAuthor()
          Returns the content last modification author.
 

Methods in org.liquidsite.core.content with parameters of type User
protected  void ContentPost.doInsert(DataSource src, User user, boolean restore)
          Inserts the object data into the database.
 void ContentFile.deleteRevision(User user)
          Deletes this content revision from 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.
 boolean Permission.isMatch(User user, Group[] groups)
          Checks if the specified user or group list matches this permission.
protected  void Host.doInsert(DataSource src, User user, boolean restore)
          Inserts the object data into the database.
protected  void Host.doUpdate(DataSource src, User user)
          Updates the object data in the database.
protected  void Host.doDelete(DataSource src, User user)
          Deletes the object data from the database.
 boolean ContentForum.isModerator(User user)
          Checks if the specified user is a forum moderator.
 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.
 Content ContentTranslator.getAlias(User user)
          Returns the translator alias content.
 ContentSection ContentTranslator.getSection(User user)
          Returns the translator section.
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.
 boolean Lock.isOwner(User user)
          Checks if the specified user is the lock owner.
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[] ContentManager.getDomains(User user)
          Returns an array of all domains readable 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.
 Content[] ContentManager.getContentObjects(User user, ContentSelector selector)
          Returns the user readable content objects matching the selector.
 void Group.addUser(User user)
          Adds the specified user to this group.
 void Group.removeUser(User user)
          Removes the specified user from this group.
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.
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.
 boolean User.equals(User obj)
          Checks if this user equals another user.
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.
 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.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.
 void Content.deleteRevision(User user)
          Deletes this content revision from 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 with parameters of type User
Permission(User user, Group group)
          Creates a new permission with default values.
ContentSecurityException(User user, java.lang.String op, Domain obj)
          Creates a new content security exception.
ContentSecurityException(User user, java.lang.String op, Content obj)
          Creates a new content security exception.
ContentSecurityException(User user, java.lang.String op, User obj)
          Creates a new content security exception.
ContentSecurityException(User user, java.lang.String op, Group obj)
          Creates a new content security exception.
 

Uses of User in org.liquidsite.core.web
 

Methods in org.liquidsite.core.web that return User
 User RequestSession.getUser()
          Returns the session user.
 User Request.getUser()
          Returns the session user.
 

Methods in org.liquidsite.core.web with parameters of type User
 void RequestSession.setUser(User user)
          Sets the session user.
 void Request.setUser(User user)
          Sets the session user.