org.rcfaces.core.component
Class ScopeComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.rcfaces.core.internal.component.CameliaBaseComponent
              extended by org.rcfaces.core.component.ScopeComponent
All Implemented Interfaces:
StateHolder, org.rcfaces.core.internal.capability.IComponentLifeCycle, org.rcfaces.core.internal.capability.IRCFacesComponent, org.rcfaces.core.internal.capability.IVariableScopeCapability, org.rcfaces.core.internal.manager.IContainerManager, org.rcfaces.core.internal.manager.ITransientAttributesManager

public class ScopeComponent
extends org.rcfaces.core.internal.component.CameliaBaseComponent
implements org.rcfaces.core.internal.capability.IVariableScopeCapability


Field Summary
protected static Set CAMELIA_ATTRIBUTES
           
static String COMPONENT_TYPE
           
 
Fields inherited from class org.rcfaces.core.internal.component.CameliaBaseComponent
engine
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
ScopeComponent()
           
ScopeComponent(String componentId)
           
 
Method Summary
protected  Set getCameliaFields()
           
 Object getScopeValue()
           
 Object getScopeValue(FacesContext facesContext)
          See getScopeValue() for more details
 String getScopeVar()
           
 String getScopeVar(FacesContext facesContext)
          See getScopeVar() for more details
 boolean isScopeSaveValue()
           
 boolean isScopeSaveValue(FacesContext facesContext)
          See isScopeSaveValue() for more details
 boolean isScopeSaveValueSetted()
          Returns true if the attribute "scopeSaveValue" is set.
 boolean isScopeValueSetted()
          Returns true if the attribute "scopeValue" is set.
 boolean isScopeVarSetted()
          Returns true if the attribute "scopeVar" is set.
 void setScopeSaveValue(boolean scopeSaveValue)
           
 void setScopeValue(Object scopeValue)
           
 void setScopeVar(String scopeVar)
           
 
Methods inherited from class org.rcfaces.core.internal.component.CameliaBaseComponent
clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getCameliaValueAlias, getChildren, getChildrenListState, getFamily, getRendererType, getTransientAttribute, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setDefaultProperties, setRendered, setTransientAttribute, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, findComponent, getAttributes, getChildCount, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager
getChildCount
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

CAMELIA_ATTRIBUTES

protected static final Set CAMELIA_ATTRIBUTES
Constructor Detail

ScopeComponent

public ScopeComponent()

ScopeComponent

public ScopeComponent(String componentId)
Method Detail

isScopeSaveValue

public boolean isScopeSaveValue()
Specified by:
isScopeSaveValue in interface org.rcfaces.core.internal.capability.IVariableScopeCapability

isScopeSaveValue

public boolean isScopeSaveValue(FacesContext facesContext)
See isScopeSaveValue() for more details


isScopeSaveValueSetted

public final boolean isScopeSaveValueSetted()
Returns true if the attribute "scopeSaveValue" is set.

Returns:
true if the attribute is set.

setScopeSaveValue

public void setScopeSaveValue(boolean scopeSaveValue)
Specified by:
setScopeSaveValue in interface org.rcfaces.core.internal.capability.IVariableScopeCapability

getScopeValue

public Object getScopeValue()
Specified by:
getScopeValue in interface org.rcfaces.core.internal.capability.IVariableScopeCapability

getScopeValue

public Object getScopeValue(FacesContext facesContext)
See getScopeValue() for more details


isScopeValueSetted

public final boolean isScopeValueSetted()
Returns true if the attribute "scopeValue" is set.

Returns:
true if the attribute is set.

setScopeValue

public void setScopeValue(Object scopeValue)
Specified by:
setScopeValue in interface org.rcfaces.core.internal.capability.IVariableScopeCapability

getScopeVar

public String getScopeVar()
Specified by:
getScopeVar in interface org.rcfaces.core.internal.capability.IVariableScopeCapability

getScopeVar

public String getScopeVar(FacesContext facesContext)
See getScopeVar() for more details


isScopeVarSetted

public final boolean isScopeVarSetted()
Returns true if the attribute "scopeVar" is set.

Returns:
true if the attribute is set.

setScopeVar

public void setScopeVar(String scopeVar)
Specified by:
setScopeVar in interface org.rcfaces.core.internal.capability.IVariableScopeCapability

getCameliaFields

protected Set getCameliaFields()
Overrides:
getCameliaFields in class org.rcfaces.core.internal.component.CameliaBaseComponent


Copyright © 2006-2011 Vedana. All Rights Reserved.