|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CustomWorkflowAction
Interface that must be implemented by all classes that will be executed by a Custom Action.
Field Summary | |
---|---|
static java.util.Date |
DATE_EXECUTE_NOW
Date constant to return in getExecuteDate if the custom workflow action is due to execute immediately. |
Method Summary | |
---|---|
CustomWorkflowActionResult |
execute(Document document)
Execute the action against the supplied document. |
java.util.Date |
getExecuteDate(Document document)
Get the Date that this action should execute. |
Field Detail |
---|
static final java.util.Date DATE_EXECUTE_NOW
Method Detail |
---|
java.util.Date getExecuteDate(Document document)
document
- Target document. Custom code must not modify the document in this method.
CustomWorkflowActionResult execute(Document document)
document
- Target document. Custom code must not save or delete this document inside the execute method.
Custom code must not call any workflow methods against this document inside the execute method.
Use the approriate return code to trigger a workflow action.
java.lang.Throwable
- Any throwable that is thrown by this method will be treated as a failure result.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |