Interface CMSWorkflowTemplateDao
- All Known Implementing Classes:
DefaultCMSWorkflowTemplateDao
public interface CMSWorkflowTemplateDao
Service that provides helper methods for actions of workflow templates.
-
Method Summary
Modifier and TypeMethodDescriptiongetVisibleWorkflowTemplatesForCatalogVersion(CatalogVersionModel catalogVersion, PrincipalModel principal) Retrieves the list of workflow templates for a given catalog version and principal.
-
Method Details
-
getVisibleWorkflowTemplatesForCatalogVersion
List<WorkflowTemplateModel> getVisibleWorkflowTemplatesForCatalogVersion(CatalogVersionModel catalogVersion, PrincipalModel principal) Retrieves the list of workflow templates for a given catalog version and principal.- Parameters:
catalogVersion- The catalog version associated to a workflow templateprincipal- The principal used to determine if the workflow template is visible or not- Returns:
- A list of workflow templates
-