Class BaseNodeExecutor

java.lang.Object
com.liferay.portal.workflow.kaleo.runtime.node.BaseNodeExecutor
All Implemented Interfaces:
NodeExecutor

public abstract class BaseNodeExecutor extends Object implements NodeExecutor
  • Field Details

    • executionContextHelper

      protected ExecutionContextHelper executionContextHelper
    • kaleoActionExecutor

      protected KaleoActionExecutor kaleoActionExecutor
    • kaleoTimerInstanceTokenLocalService

      protected com.liferay.portal.workflow.kaleo.service.KaleoTimerInstanceTokenLocalService kaleoTimerInstanceTokenLocalService
    • kaleoTimerLocalService

      protected com.liferay.portal.workflow.kaleo.service.KaleoTimerLocalService kaleoTimerLocalService
    • notificationHelper

      protected NotificationHelper notificationHelper
  • Constructor Details

    • BaseNodeExecutor

      public BaseNodeExecutor()
  • Method Details

    • enter

      public boolean enter(com.liferay.portal.workflow.kaleo.model.KaleoNode currentKaleoNode, ExecutionContext executionContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      enter in interface NodeExecutor
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • execute

      public void execute(com.liferay.portal.workflow.kaleo.model.KaleoNode currentKaleoNode, ExecutionContext executionContext, List<PathElement> remainingPathElements) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      execute in interface NodeExecutor
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • exit

      public void exit(com.liferay.portal.workflow.kaleo.model.KaleoNode currentKaleoNode, ExecutionContext executionContext, List<PathElement> remainingPathElements) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      exit in interface NodeExecutor
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • doEnter

      protected abstract boolean doEnter(com.liferay.portal.workflow.kaleo.model.KaleoNode currentKaleoNode, ExecutionContext executionContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • doExecute

      protected abstract void doExecute(com.liferay.portal.workflow.kaleo.model.KaleoNode currentKaleoNode, ExecutionContext executionContext, List<PathElement> remainingPathElements) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • doExecuteTimer

      @Deprecated protected void doExecuteTimer(com.liferay.portal.workflow.kaleo.model.KaleoNode currentKaleoNode, com.liferay.portal.workflow.kaleo.model.KaleoTimer kaleoTimer, ExecutionContext executionContext) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Cavanaugh (7.4.x), with no direct replacement
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • doExit

      protected abstract void doExit(com.liferay.portal.workflow.kaleo.model.KaleoNode currentKaleoNode, ExecutionContext executionContext, List<PathElement> remainingPathElements) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException