Interface WarehousingBusinessProcessService<T extends ItemModel>

    • Method Detail

      • triggerSimpleEvent

        void triggerSimpleEvent​(T item,
                                java.lang.String eventName)
        Trigger a business process event to move a workflow out of a wait state.
        Parameters:
        item - - the item being processed
        eventName - - the name of the event to trigger
      • triggerChoiceEvent

        void triggerChoiceEvent​(T item,
                                java.lang.String eventName,
                                java.lang.String choice)
                         throws BusinessProcessException
        Trigger a business process event to move a workflow out of a wait state. Also allows to specify which outbound flow to take.
        Parameters:
        item - - the item being processed
        eventName - - the name of the event to trigger
        choice - - the choice of the event to trigger
        Throws:
        BusinessProcessException - when the process cannot move to the requested state
      • getProcessCode

        java.lang.String getProcessCode​(T item)
                                 throws BusinessProcessException
        Get the business process associated with an item
        Parameters:
        item - - the item model
        Returns:
        the business process code
        Throws:
        BusinessProcessException - when no process can be found for the given item