Package de.xima.fc.workflow.mixin
Class APluginConditionNodeHandler<TData extends BaseConditionProps>
- java.lang.Object
-
- de.xima.fc.workflow.mixin.APluginConditionNodeHandler<TData>
-
- Type Parameters:
TData
- Type of the node's properties model, seeIPluginConditionNodeHandler
.
- All Implemented Interfaces:
INameProviding
,ITransferable
,INamedUiElement
,IResourceBundleLocator
,IWorkflowNodeFlowAnalyzer<TData>
,IElementHandler<TData,WorkflowNode>
,IExecutionResultDescriptor
,ICustomParametersUpdateable
,IWorkflowElementTypeProviding
,IBeanValidatingElement<TData,WorkflowNode>
,IBeanValidatingNode<TData>
,IExecutingLikeBinarySelectionNode<TData>
,IHierarchyValidatingNode<TData>
,ISingleElementPrototype<TData,WorkflowNode>
,ISingleNodePrototype<TData>
,INodeHandler<TData>
,IWorkflowNodeTypeProviding
,IPluginGenericCustomGUI<IPluginWorkflowNodeBean>
,IFCPlugin
,IPluginWorkflowNode
,IBaseConditionClientHandlerNode<TData>
,IPluginConditionNodeHandler<TData>
,ISingleBaseConditionNodePrototype<TData>
,Serializable
public abstract class APluginConditionNodeHandler<TData extends BaseConditionProps> extends Object implements IPluginConditionNodeHandler<TData>
Abstract base class meant forIPluginWorkflowNode
plugins that only wish to provide a workflow condition that executes some business logic condition.Eliminates the last bits of boilerplate code remaining in
IPluginConditionNodeHandler
. When you do not need a different super class, you may use this. Otherwise, just implement the mixinIPluginConditionNodeHandler
and add a getter forIPluginConditionNodeHandler.getPluginInitializeData()
. SeeIPluginConditionNodeHandler
for further details.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
IPluginConditionNodeHandler
, Serialized Form
-
-
Field Summary
-
Fields inherited from interface de.xima.fc.interfaces.workflow.elements.IElementHandler
CURRENT_HANDLER_VERSION
-
Fields inherited from interface de.xima.fc.plugin.interfaces.IFCPlugin
CONFIG_FILENAME
-
Fields inherited from interface de.xima.fc.interfaces.INamedUiElement
ATTR_DISPLAY_NAME
-
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
-
-
Constructor Summary
Constructors Constructor Description APluginConditionNodeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPluginInitializeData
getPluginInitializeData()
void
initialize(IPluginInitializeData initializeData)
Callback method that is invoked when this plugin is initialized.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.workflow.mixin.IBaseConditionClientHandlerNode
getCascadingStyleSheet, getConditionsOptions, getJavaScript, isAlwaysCompletesAbruptly
-
Methods inherited from interface de.xima.fc.interfaces.workflow.mixin.IBeanValidatingElement
getValidationGroups
-
Methods inherited from interface de.xima.fc.interfaces.workflow.mixin.IBeanValidatingNode
validateLocal
-
Methods inherited from interface de.xima.fc.interfaces.workflow.ICustomParametersUpdateable
updateCustomParams
-
Methods inherited from interface de.xima.fc.interfaces.workflow.elements.IElementHandler
extractSearchTerms, getCascadingStyleSheet, getDisplayLabel, getElementSummaryModel, getElementSummaryXhtml, getFastJsonConverter, getFilterCriteriaForEntities, getHelpPageLocation, getJavaScript, isAvailable, isHasUserVisibleName, readEntityReferences, readPlaceholders, validateGlobal, writeEntityReferences, writePlaceholders
-
Methods inherited from interface de.xima.fc.interfaces.workflow.mixin.IExecutingLikeBinarySelectionNode
createFlowGraph
-
Methods inherited from interface de.xima.fc.interfaces.workflow.execution.IExecutionResultDescriptor
getFileValueDescriptor
-
Methods inherited from interface de.xima.fc.plugin.interfaces.IFCPlugin
getDescription, initPlugin, install, shutdown, shutdown, uninstall, validateConfigurationData
-
Methods inherited from interface de.xima.fc.interfaces.workflow.mixin.IHierarchyValidatingNode
isValidChildCount, isValidChildType, isValidParentType
-
Methods inherited from interface de.xima.fc.interfaces.workflow.nodes.INodeHandler
getLocalizedTypeName, getRelatedNodeTypes, isReplacePlaceholderBeforeExecution
-
Methods inherited from interface de.xima.fc.workflow.mixin.IPluginConditionNodeHandler
evaluateCondition, execute, extractDescription, extractName, getAlternateChildIndex, getAlwaysValueDescriptor, getConsequentChildIndex, getDataModelClass, getDescription, getDisplayName, getErrorValueDescriptor, getI18nKeyActionLabel, getI18nKeyActionSearchText, getI18nKeyActionSubLabel, getI18nKeyActionTitle, getI18nKeyDescription, getI18nKeyDisplayName, getMainCategory, getMainPluginBeanClass, getName, getNodeHandler, getPropertiesBeanClass, getPropertiesViewXhtml, getPropertiesViewXhtmlName, getPropertiesViewXhtmlPath, getPrototypeElement, getPrototypeIcon, getPrototypeLabel, getPrototypeSearchText, getPrototypeSubLabel, getPrototypeTitle, getResourceBundle, getResourceBundlePath, getSoftErrorValueDescriptor, getSuccessValueDescriptor, getType, getUnmanagedBeans, getVersion, isCreateProtocolEntryAfterExecution
-
Methods inherited from interface de.xima.fc.plugin.interfaces.workflow.IPluginWorkflowNode
getXhtmlView
-
Methods inherited from interface de.xima.fc.workflow.mixin.ISingleBaseConditionNodePrototype
getPrototypeModelData
-
Methods inherited from interface de.xima.fc.interfaces.workflow.mixin.ISingleElementPrototype
getPrototypeSortKey, getPrototypeTags, getSubCategory
-
Methods inherited from interface de.xima.fc.interfaces.workflow.mixin.ISingleNodePrototype
getNodePrototypes
-
-
-
-
Method Detail
-
initialize
public void initialize(IPluginInitializeData initializeData) throws FCPluginException
Description copied from interface:IFCPlugin
Callback method that is invoked when this plugin is initialized.- Specified by:
initialize
in interfaceIFCPlugin
- Parameters:
initializeData
-IPluginInitializeData
- Throws:
FCPluginException
- May be thrown when an error occurred during the initialization process. When an error is thrown, this plugin will be deactivated and not put into service.
-
getPluginInitializeData
public IPluginInitializeData getPluginInitializeData()
- Specified by:
getPluginInitializeData
in interfaceIPluginConditionNodeHandler<TData extends BaseConditionProps>
- Returns:
- The
IPluginInitializeData
, as they were passed toIFCPlugin.initialize(IPluginInitializeData)
. Implementation should usually just store the data in aprivate volatile
field and return it in this method.
-
-