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

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

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(java.io.Writer w)
          Actually draw the dialog content.
protected  void renderACLS(java.io.PrintWriter out)
           
protected  void writeRepositoryTable(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Messages msgs, java.io.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(java.io.Writer w)
              throws java.io.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:
java.io.IOException - exceptions thrown when writing to the Writer can be safely rethrown by the dialog
See Also:
DialogControl.drawHtml(Writer)

renderACLS

protected void renderACLS(java.io.PrintWriter out)
                   throws java.io.IOException
Throws:
java.io.IOException

writeRepositoryTable

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


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