org.alfresco.web.ui.repo.component.shelf
Class UIRecentSpacesShelfItem

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.repo.component.shelf.UIShelfItem
                  extended by org.alfresco.web.ui.repo.component.shelf.UIRecentSpacesShelfItem
All Implemented Interfaces:
javax.faces.component.StateHolder

public class UIRecentSpacesShelfItem
extends UIShelfItem

JSF Component providing UI for a real-time updated list of the most recently visited Spaces.


Nested Class Summary
static class UIRecentSpacesShelfItem.RecentSpacesEvent
          Class representing the an action relevant to the Recent Spaces element.
 
Field Summary
 
Fields inherited from class org.alfresco.web.ui.repo.component.shelf.UIShelfItem
SHELF_END, SHELF_START
 
Constructor Summary
UIRecentSpacesShelfItem()
           
 
Method Summary
 void broadcast(javax.faces.event.FacesEvent event)
           
 void decode(javax.faces.context.FacesContext context)
           
 void encodeBegin(javax.faces.context.FacesContext context)
           
 javax.faces.el.MethodBinding getNavigateActionListener()
           
 java.lang.Object getValue()
          Get the value (for this component the value is used as the List of recent Space Nodes)
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setNavigateActionListener(javax.faces.el.MethodBinding binding)
           
 void setValue(java.lang.Object value)
          Set the value (for this component the value is used as the List of recent Space Nodes)
 
Methods inherited from class org.alfresco.web.ui.repo.component.shelf.UIShelfItem
getFamily
 
Methods inherited from class org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
outputAttribute
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, 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
 

Constructor Detail

UIRecentSpacesShelfItem

public UIRecentSpacesShelfItem()
Method Detail

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
See Also:
StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)

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
See Also:
StateHolder.saveState(javax.faces.context.FacesContext)

getValue

public java.lang.Object getValue()
Get the value (for this component the value is used as the List of recent Space Nodes)

Returns:
the value

setValue

public void setValue(java.lang.Object value)
Set the value (for this component the value is used as the List of recent Space Nodes)

Parameters:
value - the value

setNavigateActionListener

public void setNavigateActionListener(javax.faces.el.MethodBinding binding)
Parameters:
binding - The MethodBinding to call when Navigate is performed by the user

getNavigateActionListener

public javax.faces.el.MethodBinding getNavigateActionListener()
Returns:
The MethodBinding to call when Navigate is performed by the user

decode

public void decode(javax.faces.context.FacesContext context)
Overrides:
decode in class javax.faces.component.UIComponentBase
See Also:
UIComponentBase.decode(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)

broadcast

public void broadcast(javax.faces.event.FacesEvent event)
               throws javax.faces.event.AbortProcessingException
Overrides:
broadcast in class javax.faces.component.UIComponentBase
Throws:
javax.faces.event.AbortProcessingException
See Also:
UIComponentBase.broadcast(javax.faces.event.FacesEvent)


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