Interface ProcessManagement

  • All Known Implementing Classes:
    DefaultProcessManagement

    public interface ProcessManagement
    Interface representing services that provide execution of one or several processes (tasks in other words) in one time. User data and component instance id have to be passed at each call. The different steps of execution of the chaining tasks are the followings :
    • Step 1 : initializing a session and a file handler both shared by all processes
    • Step 2 : executing the 'process' method of each process of the chain
    • Step 3 : applying global validations on output of the step 1
    • Step 4 : executing the 'onSuccessful' method of each process of the chain
    • Step 5 : committing on file system all files handled (if any) by processes
    If an exception is thrown during step 2, 3 or 4, then 'onFailure" method is called on each Silverpeas process whose 'process' method has been called and finally all manipulated files (if any) are not committed on file system .
    Author:
    Yohann Chastagnier