Interface ITriggerPropertiesBean<TData>

    • Method Detail

      • retrieveCurrentProperties

        default IRetrieveElementPropsRetVal<TData> retrieveCurrentProperties​(TData storedModel)
        Description copied from interface: IElementPropertiesBean
        Called each time the data that is currently being edited needs to be retrieved, and possibly persisted. Usually this is called when the user switch to another workflow element, or when the

        Note, however, that you may not assume the editing process for the current workflow element is done. The data is sometimes retrieved while the user is still editing the properties, such as to sync the properties with the workflow design area. Do not perform any clean up work here. Use PreDestroy for cleanup.

        Specified by:
        retrieveCurrentProperties in interface IElementPropertiesBean<TData,​WorkflowTrigger>
        Parameters:
        storedModel - The same model that was passed to IElementPropertiesBean.prepareViewForElement(IElementPropInitParams). If you did not need to replace that model with another instance, you can just returned it. Conversely, if you did store the properties model in your bean, you may just return your stored value and ignore this parameter altogether.
        Returns:
        The current properties that reflect the current user input. You may mutate and return the same object(s) that were passed to IElementPropertiesBean.prepareViewForElement(IElementPropInitParams).