info.magnolia.module.admininterface.dialogs
Class UserEditDialog
java.lang.Object
info.magnolia.cms.servlets.MVCServletHandlerImpl
info.magnolia.module.admininterface.DialogMVCHandler
info.magnolia.module.admininterface.dialogs.ConfiguredDialog
info.magnolia.module.admininterface.dialogs.UserEditDialog
- All Implemented Interfaces:
- info.magnolia.cms.servlets.MVCServletHandler
- Direct Known Subclasses:
- GroupEditDialog
public class UserEditDialog
- extends ConfiguredDialog
- Version:
- $Id$
- Author:
- Fabrizio Giustina
Fields inherited from class info.magnolia.module.admininterface.DialogMVCHandler |
COMMAND_SAVE, COMMAND_SELECT_PARAGRAPH, COMMAND_SHOW_DIALOG, form, hm, locale, msgs, nodeName, params, path, repository, richE, richEPaste, storageNode, treeBasePath, VIEW_CLOSE_WINDOW, VIEW_SHOW_DIALOG |
Fields inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl |
exception, request, response, VIEW_ERROR, VIEW_SUCCESS |
Fields inherited from interface info.magnolia.cms.servlets.MVCServletHandler |
VIEW_NOTHING |
Constructor Summary |
UserEditDialog(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
info.magnolia.cms.core.Content configNode)
|
Methods inherited from class info.magnolia.module.admininterface.DialogMVCHandler |
configureDialog, createSaveHandler, getCommand, getDialog, getItemType, getJsExecutedAfterSaving, getSaveHandler, getStorageNode, onSave, onSaveFailed, removeSessionAttributes, renderHtml, save, setDialog, setItemType, setJsExecutedAfterSaving, showDialog, validate |
Methods inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl |
execute, getException, getExceptionStackTrace, getName, getRequest, getResponse, init, populateFromRequest, setCommand, setRequest, setResponse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.slf4j.Logger log
- Logger.
NODE_ACLUSERS
protected static final String NODE_ACLUSERS
- See Also:
- Constant Field Values
NODE_ACLROLES
protected static final String NODE_ACLROLES
- See Also:
- Constant Field Values
NODE_ACLCONFIG
protected static final String NODE_ACLCONFIG
- See Also:
- Constant Field Values
UserEditDialog
public UserEditDialog(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
info.magnolia.cms.core.Content configNode)
- Parameters:
name
- request
- response
- configNode
-
getRepository
public String getRepository()
- Overrides:
getRepository
in class DialogMVCHandler
- Returns:
- the default repository
configureSaveHandler
protected void configureSaveHandler(SaveHandler save)
- Description copied from class:
DialogMVCHandler
- Configure the save control
- Overrides:
configureSaveHandler
in class DialogMVCHandler
- See Also:
DialogMVCHandler.configureSaveHandler(info.magnolia.module.admininterface.SaveHandler)
createDialog
protected info.magnolia.cms.gui.dialog.Dialog createDialog(info.magnolia.cms.core.Content configNode,
info.magnolia.cms.core.Content storageNode)
throws javax.jcr.RepositoryException
- Is called during showDialog(). Here can you create/ add controls for the dialog.
- Overrides:
createDialog
in class DialogMVCHandler
- Parameters:
configNode
- storageNode
-
- Throws:
javax.jcr.RepositoryException
writeACL
protected void writeACL(info.magnolia.cms.core.Content node)
throws javax.jcr.RepositoryException
- Write ACL entries under the given user node
- Parameters:
node
- under which ACL for all workspaces needs to be created
- Throws:
javax.jcr.RepositoryException
onPreSave
protected boolean onPreSave(SaveHandler control)
- Overrides:
onPreSave
in class DialogMVCHandler
onPostSave
protected boolean onPostSave(SaveHandler saveControl)
- Overrides:
onPostSave
in class DialogMVCHandler
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.