Package de.hybris.platform.workflow.daos
Interface WorkflowTemplateDao
- All Known Implementing Classes:
DefaultWorkflowTemplateDao
public interface WorkflowTemplateDao
Dao to find workflow templates
-
Method Summary
Modifier and TypeMethodDescriptionfindWorkflowLinkTemplates(AbstractWorkflowDecisionModel decision, AbstractWorkflowActionModel action)
-
Method Details
-
findWorkflowTemplatesByUser
- Parameters:
user- to which templates belongs to- Returns:
- all workflow templates that user is owner
-
findWorkflowTemplatesVisibleForPrincipal
- Parameters:
principal- to which templates is visible to- Returns:
- all workflow templates that are visible to the principal
-
findAdhocWorkflowTemplates
List<WorkflowTemplateModel> findAdhocWorkflowTemplates()- Returns:
- special template for adhoc workflows
-
findAdhocWorkflowTemplateDummyOwner
EmployeeModel findAdhocWorkflowTemplateDummyOwner()- Returns:
- user which is used for adhoc template, null if it's missing. See project properties file for default value.
-
findAllWorkflowTemplates
List<WorkflowTemplateModel> findAllWorkflowTemplates()- Returns:
- all defined workflow templates
-
findWorkflowActionTemplatesByCode
- Returns:
- workflow actions that match a given code
-
findWorkflowTemplatesByCode
- Returns:
- workflow templates that match a given code
-
findWorkflowLinkTemplatesByAction
- Parameters:
action- workflow action which is target of the link- Returns:
- collection of link models
-
findWorkflowLinkTemplatesByDecision
- Parameters:
decision- workflow decision which is the source of the link- Returns:
- collection of link models
-
findWorkflowLinkTemplates
Collection<LinkModel> findWorkflowLinkTemplates(AbstractWorkflowDecisionModel decision, AbstractWorkflowActionModel action) - Parameters:
decision- workflow decision which is the source of the linkaction- workflow action which is target of the link- Returns:
- collection of link models
-