Interface IProcess

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    Process

    @StableMinor(version="14.1",
                 sinceVersion="10.3")
    public interface IProcess
    extends Serializable
    Interactive process that can be executed in LumisXP.
    Since:
    7.1.0
    Version:
    $Revision: 24683 $ $Date: 2021-08-23 18:55:58 -0300 (Mon, 23 Aug 2021) $
    • Method Detail

      • getId

        String getId()
        Returns the identifier of this process.
        Returns:
        the identifier of this process.
        Since:
        7.1.0
      • getTitle

        String getTitle()
        Returns the title of this process.
        Returns:
        the title of this process.
        Since:
        7.1.0
      • getOwner

        String getOwner()
        Returns the owner of this process.
        Returns:
        the owner of this process.
        Since:
        7.1.0
      • getOwnerUser

        String getOwnerUser()
        Returns the owner user identifier of this process.
        Returns:
        the owner user identifier of this process.
        Since:
        7.1.0
      • stop

        void stop()
           throws PortalException
        Stops the process. The process will stop running and it will be removed. Then, if this process has a callback handler, the process stopped callback will be invoked.

        It is possible that this process can not be stopped with proper cleanup and inconsistent states may happen. Do not use it unless you know what you are doing.

        Throws:
        ProcessNotOwnedException - if the process has been taken by other user.
        PortalException - if other error occur.
        Since:
        7.1.0
      • getState

        ProcessState getState()
        Returns the process state.
        Returns:
        the process state.
        Since:
        7.1.0