hero.hook
Class HolidayEnoughHolidaysLeftHook
java.lang.Object
hero.hook.HolidayEnoughHolidaysLeftHook
- All Implemented Interfaces:
- org.ow2.bonita.definition.TxHook
public class HolidayEnoughHolidaysLeftHook
- extends java.lang.Object
- implements org.ow2.bonita.definition.TxHook
This Node Hook gets the user name who started the Instance and puts it
in "initiator" attribute. It is used to print the initiator name into a
Form component. The Hook also puts the "choice" attribute to "enough".
It is used to force the Workflow to go to the "evaluation" activity.
Created by Bull R&D
- Author:
- Rodrigue Le Gall
|
Field Summary |
static java.lang.String |
CHOICE_PROPERTY_NAME
Name of the Property that contains the decision if the workflow initiator
have enough holidays left or not |
static java.lang.String |
PROCESS_INITIATOR_USER_NAME
Name of the Property that contains the workflow initiator login |
|
Method Summary |
void |
execute(org.ow2.bonita.facade.APIAccessor accessor,
org.ow2.bonita.facade.runtime.ActivityInstance<org.ow2.bonita.facade.runtime.ActivityBody> activity)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHOICE_PROPERTY_NAME
public static final java.lang.String CHOICE_PROPERTY_NAME
- Name of the Property that contains the decision if the workflow initiator
have enough holidays left or not
- See Also:
- Constant Field Values
PROCESS_INITIATOR_USER_NAME
public static final java.lang.String PROCESS_INITIATOR_USER_NAME
- Name of the Property that contains the workflow initiator login
- See Also:
- Constant Field Values
HolidayEnoughHolidaysLeftHook
public HolidayEnoughHolidaysLeftHook()
execute
public void execute(org.ow2.bonita.facade.APIAccessor accessor,
org.ow2.bonita.facade.runtime.ActivityInstance<org.ow2.bonita.facade.runtime.ActivityBody> activity)
throws java.lang.Exception
- Specified by:
execute in interface org.ow2.bonita.definition.TxHook
- Throws:
java.lang.Exception
Copyright © 2010 eXo Platform SAS. All Rights Reserved.