Class IdBasedEngineWrapper
java.lang.Object
com.flowable.workobject.engine.impl.wrapper.IdBasedEngineWrapper
- All Implemented Interfaces:
NativeEngineWrapper
- Direct Known Subclasses:
CmmnEngineWrapper
,ProcessEngineWrapper
,TaskEngineWrapper
public abstract class IdBasedEngineWrapper extends java.lang.Object implements NativeEngineWrapper
Provides accept method based on the idPrefix
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
idPrefix
-
Constructor Summary
Constructors Constructor Description IdBasedEngineWrapper(java.lang.String idPrefix)
-
Method Summary
Modifier and Type Method Description java.util.Optional<NativeEngineWrapper>
accepts(java.lang.String workObjectId)
Flag to allow to choose the right wrapper for the given workObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.flowable.workobject.engine.impl.wrapper.NativeEngineWrapper
addIdentityLinkToWorkObject, deleteIdentityLinkForWorkObject, getHistoricIdentityLinksForWorkObject, getHistoricWorkObjectByIdAndTenant, getIdentityLinksForWorkObject, getParentId, getWorkObject
-
Field Details
-
idPrefix
protected final java.lang.String idPrefix
-
-
Constructor Details
-
IdBasedEngineWrapper
public IdBasedEngineWrapper(java.lang.String idPrefix)
-
-
Method Details
-
accepts
Description copied from interface:NativeEngineWrapper
Flag to allow to choose the right wrapper for the given workObject- Specified by:
accepts
in interfaceNativeEngineWrapper
- Parameters:
workObjectId
- workObject identifier- Returns:
- optionally returns NativeEngineWrapper which is able to handle request.
-