org.alfresco.web.ui.repo.component
Class UIWorkflowSummary

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.UIWorkflowSummary
All Implemented Interfaces:
javax.faces.component.StateHolder

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

JSF component that displays summary information about a workflow.


Field Summary
protected  org.alfresco.service.cmr.workflow.WorkflowInstance value
           
 
Constructor Summary
UIWorkflowSummary()
           
 
Method Summary
 void encodeBegin(javax.faces.context.FacesContext context)
           
 void encodeEnd(javax.faces.context.FacesContext context)
           
 java.lang.String getFamily()
           
 boolean getRendersChildren()
           
 org.alfresco.service.cmr.workflow.WorkflowInstance getValue()
          Returns the workflow instance this component is showing information on
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setValue(org.alfresco.service.cmr.workflow.WorkflowInstance value)
          Sets the workflow instance to show the summary 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, encodeChildren, 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

value

protected org.alfresco.service.cmr.workflow.WorkflowInstance value
Constructor Detail

UIWorkflowSummary

public UIWorkflowSummary()
Method Detail

getFamily

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

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

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

encodeEnd

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

getRendersChildren

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

getValue

public org.alfresco.service.cmr.workflow.WorkflowInstance getValue()
Returns the workflow instance this component is showing information on

Returns:
The workflow instance

setValue

public void setValue(org.alfresco.service.cmr.workflow.WorkflowInstance value)
Sets the workflow instance to show the summary for

Parameters:
value - The workflow instance


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