info.magnolia.module.admininterface.dialogs
Class RolesEditDialog

java.lang.Object
  extended by info.magnolia.cms.servlets.MVCServletHandlerImpl
      extended by info.magnolia.module.admininterface.DialogMVCHandler
          extended by info.magnolia.module.admininterface.dialogs.ConfiguredDialog
              extended by info.magnolia.module.admininterface.dialogs.RolesEditDialog
All Implemented Interfaces:
MVCServletHandler

public class RolesEditDialog
extends ConfiguredDialog

Version:
$Id: RolesEditDialog.java 50687 2011-11-02 13:51:17Z dlipp $
Author:
Fabrizio Giustina

Field Summary
protected static org.slf4j.Logger log
           
 
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, 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
RolesEditDialog(String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Content configNode)
           
 
Method Summary
protected  void configureSaveHandler(SaveHandler save)
          Configure the save control
protected  Dialog createDialog(Content configNode, Content storageNode)
          Is called during showDialog().
 String getRepository()
           
protected  boolean onPostSave(SaveHandler saveControl)
           
protected  void saveACLs(Content role, String repository)
           
 
Methods inherited from class info.magnolia.module.admininterface.dialogs.ConfiguredDialog
getConfigNode, getConfiguredDialog, getConfiguredDialog
 
Methods inherited from class info.magnolia.module.admininterface.DialogMVCHandler
configureDialog, createSaveHandler, getCommand, getDialog, getItemType, getJsExecutedAfterSaving, getSaveHandler, getStorageNode, onPreSave, 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
 

Field Detail

log

protected static org.slf4j.Logger log
Constructor Detail

RolesEditDialog

public RolesEditDialog(String name,
                       javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response,
                       Content configNode)
Parameters:
name -
request -
response -
configNode -
Method Detail

getRepository

public String getRepository()
Overrides:
getRepository in class DialogMVCHandler
Returns:
the default repository

createDialog

protected Dialog createDialog(Content configNode,
                              Content storageNode)
                       throws javax.jcr.RepositoryException
Description copied from class: DialogMVCHandler
Is called during showDialog(). Here can you create/ add controls for the dialog.

Overrides:
createDialog in class DialogMVCHandler
Throws:
javax.jcr.RepositoryException

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)

onPostSave

protected boolean onPostSave(SaveHandler saveControl)
Overrides:
onPostSave in class DialogMVCHandler

saveACLs

protected void saveACLs(Content role,
                        String repository)
                 throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.