info.magnolia.module.rssaggregator
Class FiltersControl

java.lang.Object
  extended by info.magnolia.cms.gui.dialog.DialogControlImpl
      extended by info.magnolia.cms.gui.dialog.DialogBox
          extended by info.magnolia.module.rssaggregator.MultiControl
              extended by info.magnolia.module.rssaggregator.FiltersControl
All Implemented Interfaces:
info.magnolia.cms.gui.dialog.DialogControl, MultiValueControl

public class FiltersControl
extends MultiControl

Multi control providing entry consisting of two combo boxes and one text field.

Author:
had

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
FiltersControl()
           
 
Method Summary
 List<OptionConfiguration> getConditions()
           
protected  String getEmpty()
           
 String getGetObjectFunction()
          JS function used to create an object out of the input fields.
 String getInnerHtml()
          Called by the template.
 String getNewObjectFunction()
          JS function used to create a new empty object.
 List<OptionConfiguration> getProperties()
           
 String getSaveInfo()
           
 void init(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, info.magnolia.cms.core.Content storageNode, info.magnolia.cms.core.Content configNode)
           
 void setConditions(List<OptionConfiguration> conditions)
           
 void setProperties(List<OptionConfiguration> properties)
           
 
Methods inherited from class info.magnolia.module.rssaggregator.MultiControl
drawHtml, getAddButton, getDeleteButton, getHiddenFieldName, getJSON, readValues
 
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, isRequired, readValue, 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

FiltersControl

public FiltersControl()
Method Detail

getInnerHtml

public String getInnerHtml()
Called by the template. It renders the dynamic inner row using trim paths templating mechanism.


getSaveInfo

public String getSaveInfo()
Overrides:
getSaveInfo in class MultiControl

getGetObjectFunction

public String getGetObjectFunction()
JS function used to create an object out of the input fields.

Overrides:
getGetObjectFunction in class MultiControl

getNewObjectFunction

public String getNewObjectFunction()
JS function used to create a new empty object.

Overrides:
getNewObjectFunction in class MultiControl

getEmpty

protected String getEmpty()
Specified by:
getEmpty in class MultiControl

getConditions

public List<OptionConfiguration> getConditions()

getProperties

public List<OptionConfiguration> getProperties()

setProperties

public void setProperties(List<OptionConfiguration> properties)

setConditions

public void setConditions(List<OptionConfiguration> conditions)

init

public void init(javax.servlet.http.HttpServletRequest request,
                 javax.servlet.http.HttpServletResponse response,
                 info.magnolia.cms.core.Content storageNode,
                 info.magnolia.cms.core.Content configNode)
          throws javax.jcr.RepositoryException
Specified by:
init in interface info.magnolia.cms.gui.dialog.DialogControl
Overrides:
init in class info.magnolia.cms.gui.dialog.DialogControlImpl
Throws:
javax.jcr.RepositoryException


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