info.magnolia.module.admininterface.dialogs
Class ACLSDialogControl

java.lang.Object
  extended by info.magnolia.cms.gui.dialog.DialogControlImpl
      extended by info.magnolia.cms.gui.dialog.DialogBox
          extended by info.magnolia.module.admininterface.dialogs.ACLSDialogControl
All Implemented Interfaces:
DialogControl

public class ACLSDialogControl
extends DialogBox

Builds a dialog control for ACLs.

Version:
$Id:RolesACLPage.java 2516 2006-03-31 13:08:03Z philipp $

Nested Class Summary
protected  class ACLSDialogControl.ACL
          A concrete gui acl
protected  class ACLSDialogControl.ACLS
          Used to create the gui values out of the entries in the repository
 
Field Summary
 
Fields inherited from class info.magnolia.cms.gui.dialog.DialogBox
BOXTYPE_1COL, BOXTYPE_2COLS
 
Fields inherited from class info.magnolia.cms.gui.dialog.DialogControlImpl
DEFAULT_VALUE_PROPERTY, SESSION_ATTRIBUTENAME_DIALOGOBJECT, SESSION_ATTRIBUTENAME_DIALOGOBJECT_REMOVE, VALIDATION_PATTERN_PROPERTY, value
 
Constructor Summary
ACLSDialogControl()
           
 
Method Summary
 void drawHtml(Writer w)
          Actually draw the dialog content.
protected  void renderACLS(PrintWriter out)
           
protected  void writeRepositoryTable(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Messages msgs, PrintWriter out, Content role, RepositoryConfiguration repoConf)
           
 
Methods inherited from class info.magnolia.cms.gui.dialog.DialogBox
drawHtmlPost, drawHtmlPre, getBoxType, getHtmlDescription, setBoxType
 
Methods inherited from class info.magnolia.cms.gui.dialog.DialogControlImpl
addOption, addSub, clearWebsiteNode, drawHtmlPostSubs, drawHtmlPreSubs, drawSubs, getConfigValue, getConfigValue, getDescription, getId, getLabel, getMessage, getMessage, getMessages, getName, getOptions, getParent, getRequest, getResponse, getStorageNode, getSub, getSubs, getTopParent, getValidationPattern, getValue, getValues, getWebsiteNode, init, isRequired, readValue, readValues, removeSessionAttribute, setConfig, setConfig, setConfig, setDescription, setLabel, setName, setOptions, setRequired, setSaveInfo, setSessionAttribute, setTopParent, setValidationMessage, setValue, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACLSDialogControl

public ACLSDialogControl()
Method Detail

drawHtml

public void drawHtml(Writer w)
              throws IOException
Description copied from interface: DialogControl
Actually draw the dialog content.

Specified by:
drawHtml in interface DialogControl
Overrides:
drawHtml in class DialogControlImpl
Parameters:
w - Writer
Throws:
IOException - exceptions thrown when writing to the Writer can be safely rethrown by the dialog
See Also:
DialogControl.drawHtml(Writer)

renderACLS

protected void renderACLS(PrintWriter out)
                   throws IOException
Throws:
IOException

writeRepositoryTable

protected void writeRepositoryTable(javax.servlet.http.HttpServletRequest request,
                                    javax.servlet.http.HttpServletResponse response,
                                    Messages msgs,
                                    PrintWriter out,
                                    Content role,
                                    RepositoryConfiguration repoConf)
                             throws javax.jcr.RepositoryException,
                                    IOException
Parameters:
request -
out -
role -
Throws:
javax.jcr.RepositoryException
IOException


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.