public abstract class WorkflowImpl extends Object implements Remote, Workflow, WorkflowContextAware
Modifier and Type | Field and Description |
---|---|
protected WorkflowContext |
context
Work-flow context in use, which ought to be not public accessible.
|
Constructor and Description |
---|
WorkflowImpl()
All implementations of a work-flow must provide a single, no-argument constructor.
|
Modifier and Type | Method and Description |
---|---|
protected javax.jcr.Node |
getCheckedOutNode() |
javax.jcr.Node |
getNode() |
WorkflowContext |
getWorkflowContext() |
Map<String,Serializable> |
hints()
The hints method is not an actual workflow call, but a method by which information can be retrieved from the
workflow.
|
void |
setNode(javax.jcr.Node node)
This call is not part of the public API
|
void |
setWorkflowContext(WorkflowContext context)
This call is not (yet) part of the API, but under evaluation.
|
protected WorkflowContext context
public WorkflowImpl() throws RemoteException
RemoteException
- mandatory exception that must be thrown by all Remote objectspublic final void setWorkflowContext(WorkflowContext context)
setWorkflowContext
in interface WorkflowContextAware
context
- the new context that should be usedpublic void setNode(javax.jcr.Node node) throws javax.jcr.RepositoryException
setNode
in interface WorkflowContextAware
node
- the backing Node for this workflowjavax.jcr.RepositoryException
public Map<String,Serializable> hints() throws WorkflowException
Boolean
to indicate the enabled status of the method. Non-standard keys in this
map should be prefixed with the implementation package name using dot seperations.hints
in interface Workflow
WorkflowException
- thrown in case the implementing workflow encounters an
error, this exception should normally never be thrown by
implementations for the hints method.public javax.jcr.Node getNode()
getNode
in interface WorkflowContextAware
protected javax.jcr.Node getCheckedOutNode() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public final WorkflowContext getWorkflowContext()
getWorkflowContext
in interface WorkflowContextAware
Copyright © 2007–2019 Hippo B.V. (http://www.onehippo.com). All rights reserved.