Class FcProcessHistoryPdfHandler

    • Method Detail

      • getDataModelClass

        public Class<FcProcessHistoryPdfProps> getDataModelClass()
        Deprecated.
        Description copied from interface: IElementHandler
        Returns the class of the custom properties used by the elements handled by this element logic handler.

        The custom properties of a workflow element are internally stored as JSON. To ease the development work, you can specify a model class, and the JSON is automatically converted to an instance of that model class. Please note that the model class must be compatible with serialization mechanism used by JSON.

        See IElementHandler.getVersion() for how custom properties are updated.

        If you need more control over serialization and deserialization, specify JSONObject as the type parameter and return JSONObject.class. You will then receive the raw JSON data and may perform the serialization in whatever way you like.

        Specified by:
        getDataModelClass in interface IElementHandler<FcProcessLogPdfProps,​WorkflowNode>
        Overrides:
        getDataModelClass in class FcProcessLogPdfHandler
        Returns:
        The class corresponding to the type parameter TData.
      • getNodePrototypes

        public List<INodePrototypeDescriptor<FcProcessLogPdfProps>> getNodePrototypes​(IGetNodePrototypesParams params)
        Deprecated.
        Description copied from interface: INodeHandler
        Returns a list of all node prototypes for this node type. Each prototype appears in the drawer panel of the workflow designer. The user can move a node prototype via drag & drop into the design area in the center to add the node to the current flowchart.

        You should always return all prototypes, irrespective of whether they are allowed to the current user. IElementHandler.isAvailable(IIsAvailableParams) is checked by the engine, and unavailable node types are removed automatically.

        Parameters:
        params - Parameters for this method, such as the current locale for localizing the display name of the prototypes.
        Returns:
        A list of all available prototypes. null is treated as an empty list.
      • getInstance

        public static FcProcessHistoryPdfHandler getInstance()
        Deprecated.
        Returns:
        The immutable, stateless instance of this handler.
      • getRelatedNodeTypes

        public Set<String> getRelatedNodeTypes()
        Deprecated.
        Description copied from interface: INodeHandler
        Complex workflow elements may consist of several related node types. For example, a switch may consist of a switch node, a default case node, and a switch case node. This method should return such related node types (but not the IWorkflowElementTypeProviding.getType() itself. This is not a strict requirement, all features will still work even if this method returns an empty set. The result of this method is used e.g. to load the handlers for the related node types when the flowchart is loaded in the designer (otherwise they would be loaded dynamically once required).
        Specified by:
        getRelatedNodeTypes in interface INodeHandler<FcProcessLogPdfProps>
        Overrides:
        getRelatedNodeTypes in class FcProcessLogPdfHandler
        Returns:
        A list of related node types.