public class UINodeWorkflowInfo
extends org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
The node to show workflow information on.
| Constructor and Description |
|---|
UINodeWorkflowInfo() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
outputAttributeaddFacesListener, 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, setValueBindingprotected Node value
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIComponentpublic void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBasepublic java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIComponentBasepublic void encodeBegin(javax.faces.context.FacesContext context)
throws java.io.IOException
encodeBegin in class javax.faces.component.UIComponentBasejava.io.IOExceptionpublic void encodeEnd(javax.faces.context.FacesContext context)
throws java.io.IOException
encodeEnd in class javax.faces.component.UIComponentBasejava.io.IOExceptionpublic Node getValue()
public void setValue(Node value)
value - the valueprotected 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
context - Faces contextnode - The nodenodeService - The NodeService instanceddService - The Data Dictionary instanceout - The response writerbundle - Message bundle to get strings fromjava.io.IOExceptionprotected 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
context - Faces contextnode - The nodenodeService - The NodeService instanceddService - The Data Dictionary instanceworkflowService - The WorkflowService instanceout - The response writerbundle - Message bundle to get strings fromjava.io.IOExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.