info.magnolia.module.shop.dialog
Class ProductCategoryQueryDialogButtonSet

java.lang.Object
  extended by info.magnolia.cms.gui.dialog.DialogControlImpl
      extended by info.magnolia.cms.gui.dialog.DialogBox
          extended by info.magnolia.cms.gui.dialog.DialogButtonSet
              extended by info.magnolia.module.shop.dialog.QueryDialogButtonSet
                  extended by info.magnolia.module.shop.dialog.ProductCategoryQueryDialogButtonSet
All Implemented Interfaces:
info.magnolia.cms.gui.dialog.DialogControl

public class ProductCategoryQueryDialogButtonSet
extends QueryDialogButtonSet

This "button set" dialog will get its buttons by querying the repository instead of reading them from the configuration. The configuration options are:

Author:
will

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
ProductCategoryQueryDialogButtonSet()
           
 
Method Summary
protected  Collection<info.magnolia.cms.core.Content> getOptionNodes(info.magnolia.cms.core.Content configNode)
           
 void setOptions(info.magnolia.cms.core.Content configNode, boolean setDefaultSelected)
           
 
Methods inherited from class info.magnolia.module.shop.dialog.QueryDialogButtonSet
init
 
Methods inherited from class info.magnolia.cms.gui.dialog.DialogButtonSet
drawHtml, drawHtmlPostSubs, drawHtmlPreSubs, getButtonType, setButtonType, setOption
 
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, drawSubs, getConfigValue, getConfigValue, getDescription, getId, getLabel, getMessage, getMessage, getMessages, getName, getOptions, getParent, getRequest, getResponse, getStorageNode, getSub, getSubs, getTopParent, getValidationPattern, getValue, getValues, getWebsiteNode, 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

ProductCategoryQueryDialogButtonSet

public ProductCategoryQueryDialogButtonSet()
Method Detail

setOptions

public void setOptions(info.magnolia.cms.core.Content configNode,
                       boolean setDefaultSelected)
Overrides:
setOptions in class QueryDialogButtonSet

getOptionNodes

protected Collection<info.magnolia.cms.core.Content> getOptionNodes(info.magnolia.cms.core.Content configNode)
Overrides:
getOptionNodes in class QueryDialogButtonSet


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.