Interface TemplateStatusProvider


  • public interface TemplateStatusProvider
    This interface is used as a callback to retrieve template status objects for TemplateReferences (and also InstanceReferences) from the corresponding storage layers. Retrieving a template status may involve some conditions for embedded and instance-specific templates which cannot be accomplished by the storage.
    Author:
    Ulrich Kreher
    • Method Detail

      • getTemplateStatus

        TemplateStatus getTemplateStatus​(UUID templateID)
                                  throws DataSourceException
        Gets an object containing the status of the designated process template, for usage in objects that reference a template status and which are created in a storage layer.
        Parameters:
        templateID - The ID of the template to get the status of.
        Returns:
        An object containing the status of the designated process template.
        Throws:
        DataSourceException - If there are problems accessing the data source, a DataSourceException will be thrown.