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(FacesContext context) |
void |
encodeEnd(FacesContext context) |
String |
getFamily() |
Node |
getValue()
Get the value, this will be a node representing a piece of content or a space
|
protected void |
renderAdvancedWorkflowInfo(FacesContext context,
Node node,
org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.dictionary.DictionaryService ddService,
WorkflowService workflowService,
ResponseWriter out,
ResourceBundle bundle)
Renders the advanced workflow details for the given node.
|
protected void |
renderSimpleWorkflowInfo(FacesContext context,
Node node,
org.alfresco.service.cmr.repository.NodeService nodeService,
org.alfresco.service.cmr.dictionary.DictionaryService ddService,
ResponseWriter out,
ResourceBundle bundle)
Renders the simple workflow details for the given node.
|
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setValue(Node value)
Set the value, either a space or content node.
|
outputAttribute
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
protected Node value
public String getFamily()
getFamily
in class UIComponent
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
restoreState
in class UIComponentBase
public Object saveState(FacesContext context)
saveState
in interface StateHolder
saveState
in class UIComponentBase
public void encodeBegin(FacesContext context) throws IOException
encodeBegin
in class UIComponentBase
IOException
public void encodeEnd(FacesContext context) throws IOException
encodeEnd
in class UIComponentBase
IOException
public Node getValue()
public void setValue(Node value)
value
- the valueprotected void renderSimpleWorkflowInfo(FacesContext context, Node node, org.alfresco.service.cmr.repository.NodeService nodeService, org.alfresco.service.cmr.dictionary.DictionaryService ddService, ResponseWriter out, ResourceBundle bundle) throws IOException
context
- Faces contextnode
- The nodenodeService
- The NodeService instanceddService
- The Data Dictionary instanceout
- The response writerbundle
- Message bundle to get strings fromIOException
protected void renderAdvancedWorkflowInfo(FacesContext context, Node node, org.alfresco.service.cmr.repository.NodeService nodeService, org.alfresco.service.cmr.dictionary.DictionaryService ddService, WorkflowService workflowService, ResponseWriter out, ResourceBundle bundle) throws IOException
context
- Faces contextnode
- The nodenodeService
- The NodeService instanceddService
- The Data Dictionary instanceworkflowService
- The WorkflowService instanceout
- The response writerbundle
- Message bundle to get strings fromIOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.