hero.hook
Class PayRaiseUserNameHook

java.lang.Object
  extended by hero.hook.PayRaiseUserNameHook
All Implemented Interfaces:
org.ow2.bonita.definition.TxHook

public class PayRaiseUserNameHook
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. Created by Bull R&D

Author:
Rodrigue Le Gall

Field Summary
static java.lang.String PROCESS_INITIATOR_USER_NAME
          Name of the Property which represents the process initiator user name
 
Constructor Summary
PayRaiseUserNameHook()
           
 
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
 

Field Detail

PROCESS_INITIATOR_USER_NAME

public static final java.lang.String PROCESS_INITIATOR_USER_NAME
Name of the Property which represents the process initiator user name

See Also:
Constant Field Values
Constructor Detail

PayRaiseUserNameHook

public PayRaiseUserNameHook()
Method Detail

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 © 2011 eXo Platform SAS. All Rights Reserved.