org.alfresco.web.ui.repo.component
Class UINodeWorkflowInfo
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
org.alfresco.web.ui.repo.component.UINodeWorkflowInfo
- All Implemented Interfaces:
- javax.faces.component.StateHolder
public class UINodeWorkflowInfo
- extends org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
JSF component that displays information about the workflows a node is involved in.
The node to show workflow information on.
Method Summary |
void |
encodeBegin(javax.faces.context.FacesContext context)
|
void |
encodeEnd(javax.faces.context.FacesContext context)
|
java.lang.String |
getFamily()
|
Node |
getValue()
Get the value, this will be a node representing a piece of content or a space |
protected void |
renderAdvancedWorkflowInfo(javax.faces.context.FacesContext context,
Node node,
org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.dictionary.DictionaryService ddService,
org.alfresco.service.cmr.workflow.WorkflowService workflowService,
javax.faces.context.ResponseWriter out,
java.util.ResourceBundle bundle)
Renders the advanced workflow details for the given node. |
protected void |
renderSimpleWorkflowInfo(javax.faces.context.FacesContext context,
Node node,
org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.dictionary.DictionaryService ddService,
javax.faces.context.ResponseWriter out,
java.util.ResourceBundle bundle)
Renders the simple workflow details for the given node. |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setValue(Node value)
Set the value, either a space or content node. |
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, 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 |
value
protected Node value
UINodeWorkflowInfo
public UINodeWorkflowInfo()
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
getValue
public Node getValue()
- Get the value, this will be a node representing a piece of content or a space
- Returns:
- the value
setValue
public void setValue(Node value)
- Set the value, either a space or content node.
- Parameters:
value
- the value
renderSimpleWorkflowInfo
protected void renderSimpleWorkflowInfo(javax.faces.context.FacesContext context,
Node node,
org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.dictionary.DictionaryService ddService,
javax.faces.context.ResponseWriter out,
java.util.ResourceBundle bundle)
throws java.io.IOException
- Renders the simple workflow details for the given node.
- Parameters:
context
- Faces contextnode
- The nodenodeService
- The NodeService instanceddService
- The Data Dictionary instanceout
- The response writerbundle
- Message bundle to get strings from
- Throws:
java.io.IOException
renderAdvancedWorkflowInfo
protected void renderAdvancedWorkflowInfo(javax.faces.context.FacesContext context,
Node node,
org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.dictionary.DictionaryService ddService,
org.alfresco.service.cmr.workflow.WorkflowService workflowService,
javax.faces.context.ResponseWriter out,
java.util.ResourceBundle bundle)
throws java.io.IOException
- Renders the advanced workflow details for the given node.
- Parameters:
context
- Faces contextnode
- The nodenodeService
- The NodeService instanceddService
- The Data Dictionary instanceworkflowService
- The WorkflowService instanceout
- The response writerbundle
- Message bundle to get strings from
- Throws:
java.io.IOException
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.