|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RescheduleDirectiveParams
The RescheduleDirectiveParams
object is used to specify arguments or options to a 'Reschedule' Directive.
To create a new RescheduleDirectiveParams
object call Directives.RESCHEDULE.createDirectiveParams()
and cast the returned object to RescheduleDirectiveParams
To use a RescheduleDirectiveParams
object call the CustomWorkflowActionService.createResult(Directive, String, DirectiveParams)
method instead of CustomWorkflowActionService.createResult(Directive, String)
to construct the workflow action result.
Method Summary | |
---|---|
java.util.Date |
getRescheduleDate()
Returns the specified 'Reschedule Date' |
boolean |
isRescheduleOnly()
Indicates whether the current action has just rescheduled itself (true) OR additionally modified the document (false) |
void |
setRescheduleDate(java.util.Date rescheduleDate)
Specifies the date that the Reschedule Directive should reschedule the current workflow action |
void |
setRescheduleOnly(boolean rescheduleOnly)
Specifies whether the current action has just rescheduled itself (true) OR additionally modified the document (false) |
Method Detail |
---|
void setRescheduleDate(java.util.Date rescheduleDate)
rescheduleDate
- the date that the Reschedule Directive should reschedule the current workflow actionjava.util.Date getRescheduleDate()
Null
if no reschedule date has been specifiedvoid setRescheduleOnly(boolean rescheduleOnly)
Used to optimize document save and avoid unnecessary versions, jms-messages and syndication
Note: When true, only the workflow action state is persisted which ignores any changes made to the document from this action. If your reschedule logic is based on a field on the document (and/or modification date) then you should not set this to true
rescheduleOnly
- true if the action didn't also modify the document, false otherwiseboolean isRescheduleOnly()
Defaults to 'false'
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |