Class ProcessInvolvementDelegate


  • public class ProcessInvolvementDelegate
    extends java.lang.Object
    Author:
    Emmanuel Duchastenier
    • Constructor Detail

      • ProcessInvolvementDelegate

        public ProcessInvolvementDelegate()
    • Method Detail

      • isInvolvedInProcessInstance

        public boolean isInvolvedInProcessInstance​(long userId,
                                                   long processInstanceId)
                                            throws org.bonitasoft.engine.bpm.process.ProcessInstanceNotFoundException
        Throws:
        org.bonitasoft.engine.bpm.process.ProcessInstanceNotFoundException
      • isProcessOrArchivedProcessInitiator

        public boolean isProcessOrArchivedProcessInitiator​(long userId,
                                                           long processInstanceId)
                                                    throws org.bonitasoft.engine.bpm.process.ProcessInstanceNotFoundException
        Throws:
        org.bonitasoft.engine.bpm.process.ProcessInstanceNotFoundException
      • isManagerOfUserInvolvedInProcessInstance

        public boolean isManagerOfUserInvolvedInProcessInstance​(long managerUserId,
                                                                long processInstanceId)
                                                         throws org.bonitasoft.engine.exception.BonitaException
        Throws:
        org.bonitasoft.engine.exception.BonitaException
      • getLastArchivedProcessInstance

        public org.bonitasoft.engine.bpm.process.ArchivedProcessInstance getLastArchivedProcessInstance​(long processInstanceId)
                                                                                                 throws SBonitaException
        Throws:
        SBonitaException