org.alfresco.web.ui.wcm.component
Class UISandboxSnapshots

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
              extended by org.alfresco.web.ui.wcm.component.UISandboxSnapshots
All Implemented Interfaces:
javax.faces.component.StateHolder

public class UISandboxSnapshots
extends org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent


Field Summary
static java.lang.String FILTER_DATE_ALL
           
static java.lang.String FILTER_DATE_MONTH
           
static java.lang.String FILTER_DATE_TODAY
           
static java.lang.String FILTER_DATE_WEEK
           
 
Constructor Summary
UISandboxSnapshots()
           
 
Method Summary
 void encodeBegin(javax.faces.context.FacesContext context)
           
 void encodeChildren(javax.faces.context.FacesContext context)
           
 java.lang.String getDateFilter()
           
 java.lang.String getFamily()
           
 boolean getRendersChildren()
           
 java.lang.String getValue()
          Returns the Sandbox to show the snapshots for
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setDateFilter(java.lang.String dateFilter)
           
 void setValue(java.lang.String value)
          Sets the Sandbox to show the snapshots for
 
Methods inherited from class org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
outputAttribute
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_DATE_ALL

public static final java.lang.String FILTER_DATE_ALL
See Also:
Constant Field Values

FILTER_DATE_TODAY

public static final java.lang.String FILTER_DATE_TODAY
See Also:
Constant Field Values

FILTER_DATE_WEEK

public static final java.lang.String FILTER_DATE_WEEK
See Also:
Constant Field Values

FILTER_DATE_MONTH

public static final java.lang.String FILTER_DATE_MONTH
See Also:
Constant Field Values
Constructor Detail

UISandboxSnapshots

public UISandboxSnapshots()
Method Detail

getFamily

public java.lang.String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent
See Also:
UIComponent.getFamily()

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.UIComponentBase

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class javax.faces.component.UIComponentBase

getRendersChildren

public boolean getRendersChildren()
Overrides:
getRendersChildren in class javax.faces.component.UIComponentBase
See Also:
UIComponentBase.getRendersChildren()

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext context)
                    throws java.io.IOException
Overrides:
encodeChildren in class javax.faces.component.UIComponentBase
Throws:
java.io.IOException
See Also:
UIComponentBase.encodeChildren(javax.faces.context.FacesContext)

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context)
                 throws java.io.IOException
Overrides:
encodeBegin in class javax.faces.component.UIComponentBase
Throws:
java.io.IOException
See Also:
UIComponentBase.encodeBegin(javax.faces.context.FacesContext)

getValue

public java.lang.String getValue()
Returns the Sandbox to show the snapshots for

Returns:
The Sandbox name

setValue

public void setValue(java.lang.String value)
Sets the Sandbox to show the snapshots for

Parameters:
value - The Sandbox name

getDateFilter

public java.lang.String getDateFilter()
Returns:
Returns the date filter.

setDateFilter

public void setDateFilter(java.lang.String dateFilter)
Parameters:
dateFilter - The date filter to set.


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.