Class BaseNodeExecutor
java.lang.Object
com.liferay.portal.workflow.kaleo.runtime.node.BaseNodeExecutor
- All Implemented Interfaces:
NodeExecutor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ExecutionContextHelperprotected KaleoActionExecutorprotected com.liferay.portal.workflow.kaleo.service.KaleoTimerInstanceTokenLocalServiceprotected com.liferay.portal.workflow.kaleo.service.KaleoTimerLocalServiceprotected NotificationHelper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract booleandoEnter(com.liferay.portal.workflow.kaleo.model.KaleoNode currentKaleoNode, ExecutionContext executionContext) protected abstract voiddoExecute(com.liferay.portal.workflow.kaleo.model.KaleoNode currentKaleoNode, ExecutionContext executionContext, List<PathElement> remainingPathElements) protected voiddoExecuteTimer(com.liferay.portal.workflow.kaleo.model.KaleoNode currentKaleoNode, com.liferay.portal.workflow.kaleo.model.KaleoTimer kaleoTimer, ExecutionContext executionContext) Deprecated.As of Cavanaugh (7.4.x), with no direct replacementprotected abstract voiddoExit(com.liferay.portal.workflow.kaleo.model.KaleoNode currentKaleoNode, ExecutionContext executionContext, List<PathElement> remainingPathElements) booleanenter(com.liferay.portal.workflow.kaleo.model.KaleoNode currentKaleoNode, ExecutionContext executionContext) voidexecute(com.liferay.portal.workflow.kaleo.model.KaleoNode currentKaleoNode, ExecutionContext executionContext, List<PathElement> remainingPathElements) voidexit(com.liferay.portal.workflow.kaleo.model.KaleoNode currentKaleoNode, ExecutionContext executionContext, List<PathElement> remainingPathElements) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.workflow.kaleo.runtime.node.NodeExecutor
executeTimer, getNodeType
-
Field Details
-
executionContextHelper
-
kaleoActionExecutor
-
kaleoTimerInstanceTokenLocalService
protected com.liferay.portal.workflow.kaleo.service.KaleoTimerInstanceTokenLocalService kaleoTimerInstanceTokenLocalService -
kaleoTimerLocalService
protected com.liferay.portal.workflow.kaleo.service.KaleoTimerLocalService kaleoTimerLocalService -
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:
enterin interfaceNodeExecutor- 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:
executein interfaceNodeExecutor- 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:
exitin interfaceNodeExecutor- 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
-