org.rhq.core.gui.configuration.propset
Class ConfigurationSetComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.rhq.core.gui.configuration.AbstractConfigurationComponent
              extended by org.rhq.core.gui.configuration.propset.ConfigurationSetComponent
All Implemented Interfaces:
javax.faces.component.StateHolder, FacesComponentIdFactory

public class ConfigurationSetComponent
extends AbstractConfigurationComponent
implements FacesComponentIdFactory

A component that represents a set of RHQ Configurations which share the same ConfigurationDefinition.

Author:
Ian Springer

Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
static String CONFIGURATION_SET_ATTRIBUTE
           
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Fields inherited from interface org.rhq.core.gui.util.FacesComponentIdFactory
UNIQUE_ID_PREFIX
 
Constructor Summary
ConfigurationSetComponent()
           
 
Method Summary
 org.rhq.core.domain.configuration.Configuration getConfiguration()
           
 org.rhq.core.domain.configuration.definition.ConfigurationDefinition getConfigurationDefinition()
           
 String getConfigurationDefinitionExpressionString()
           
 String getConfigurationExpressionString()
           
 ConfigurationSet getConfigurationSet()
           
static String getPropSetFormId(ConfigurationSetComponent configurationSetComponent)
           
 org.richfaces.component.html.HtmlModalPanel getPropSetModalPanel()
           
static String getPropSetModalPanelId(ConfigurationSetComponent configurationSetComponent)
           
 TemplateEngine getTemplateEngine()
           
 
Methods inherited from class org.rhq.core.gui.configuration.AbstractConfigurationComponent
createUniqueId, getFamily, getListIndex, getListName, getNullConfigurationDefinitionMessage, getNullConfigurationMessage, getNullConfigurationStyle, isFullyEditable, isGroup, isPrevalidate, isReadOnly, restoreState, saveState, setFullyEditable, setGroup, setListIndex, setListName, setNullConfigurationDefinitionMessage, setNullConfigurationMessage, setNullConfigurationStyle, setPrevalidate, setReadOnly
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rhq.core.gui.util.FacesComponentIdFactory
createUniqueId
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values

CONFIGURATION_SET_ATTRIBUTE

public static final String CONFIGURATION_SET_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

ConfigurationSetComponent

public ConfigurationSetComponent()
Method Detail

getConfiguration

@Nullable
public org.rhq.core.domain.configuration.Configuration getConfiguration()
Specified by:
getConfiguration in class AbstractConfigurationComponent

getConfigurationDefinition

@Nullable
public org.rhq.core.domain.configuration.definition.ConfigurationDefinition getConfigurationDefinition()
Specified by:
getConfigurationDefinition in class AbstractConfigurationComponent

getConfigurationDefinitionExpressionString

public String getConfigurationDefinitionExpressionString()
Specified by:
getConfigurationDefinitionExpressionString in class AbstractConfigurationComponent

getConfigurationExpressionString

public String getConfigurationExpressionString()
Specified by:
getConfigurationExpressionString in class AbstractConfigurationComponent

getConfigurationSet

@Nullable
public ConfigurationSet getConfigurationSet()

getPropSetModalPanelId

public static String getPropSetModalPanelId(ConfigurationSetComponent configurationSetComponent)

getPropSetFormId

public static String getPropSetFormId(ConfigurationSetComponent configurationSetComponent)

getPropSetModalPanel

@Nullable
public org.richfaces.component.html.HtmlModalPanel getPropSetModalPanel()

getTemplateEngine

public TemplateEngine getTemplateEngine()
Specified by:
getTemplateEngine in class AbstractConfigurationComponent


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.