public abstract class WorkflowImpl extends Object implements Remote, Workflow
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() |
protected javax.jcr.Node |
getNode() |
protected 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)
context
- the new context that should be usedpublic void setNode(javax.jcr.Node node) throws javax.jcr.RepositoryException
node
- the backing Node for this workflowjavax.jcr.RepositoryException
protected javax.jcr.Node getNode()
protected javax.jcr.Node getCheckedOutNode() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
protected final WorkflowContext getWorkflowContext()
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.Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.