Package de.hybris.platform.workflow.jalo
Class WorkflowManager
java.lang.Object
de.hybris.platform.jalo.Manager
de.hybris.platform.jalo.extension.Extension
de.hybris.platform.workflow.jalo.GeneratedWorkflowManager
de.hybris.platform.workflow.jalo.WorkflowManager
- All Implemented Interfaces:
ItemLifecycleListener,Serializable
@Deprecated(since="ages",
forRemoval=false)
public class WorkflowManager
extends GeneratedWorkflowManager
Deprecated.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.jalo.extension.Extension
Extension.RestrictedLanguagesProvider, Extension.RightsProviderNested classes/interfaces inherited from class de.hybris.platform.jalo.Manager
Manager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreator -
Field Summary
Fields inherited from class de.hybris.platform.workflow.jalo.GeneratedWorkflowManager
DEFAULT_INITIAL_ATTRIBUTES, WORKFLOWTEMPLATE2PRINCIPALRELATION_MARKMODIFIED, WORKFLOWTEMPLATE2PRINCIPALRELATION_SRC_ORDERED, WORKFLOWTEMPLATE2PRINCIPALRELATION_TGT_ORDERED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateWorkflowAction(SessionContext ctx, Map attributeValues, ComposedType type) Deprecated.since ages - as of release 4.3, please useWorkflowActionService.createWorkflowAction(WorkflowActionTemplateModel, de.hybris.platform.workflow.model.WorkflowModel)createWorkflowAction(Map attributeValues, ComposedType type) Deprecated.since ages - as of release 4.3, please useWorkflowActionService.createWorkflowAction(WorkflowActionTemplateModel, de.hybris.platform.workflow.model.WorkflowModel)getAllOwnerName(SessionContext ctx, Link item) Deprecated.since ages - as of release 4.3, please useAbstractWorkflowActionModel.getName(java.util.Locale)getAllUserWorkflowActionsWithAttachment(ComposedType attachmentType) Deprecated.since ages - as of release 4.3, please useWorkflowActionService.getAllUserWorkflowActionsWithAttachment(de.hybris.platform.core.model.type.ComposedTypeModel)getAllUserWorkflowActionsWithAttachment(String attachmentTypeCodeOrClassName) Deprecated.since ages - as of release 4.3, please useWorkflowActionService.getAllUserWorkflowActionsWithAttachment(String)getAllUserWorkflowActionsWithAttachments(List<String> attachments) Deprecated.since ages - as of release 4.3, please useWorkflowActionService.getAllUserWorkflowActionsWithAttachments(List)getAllUserWorkflowActionsWithAttachments(List<String> attachments, Collection<EnumerationValue> actionStatuses) Deprecated.since ages - as of release 4.3, please useWorkflowActionService.getAllUserWorkflowActionsWithAttachments(List, Collection)Deprecated.since ages - as of release 4.3, please useWorkflowTemplateService.getAllWorkflowTemplates()static final WorkflowManagerDeprecated.Gets the singleton instance of the manager.getLinks(WorkflowDecision decision, AbstractWorkflowAction action) Deprecated.since ages - as of release 4.3, private method inDefaultWorkflowProcessingServicegetLinkTemplates(AbstractWorkflowDecision decision, AbstractWorkflowAction action) Deprecated.since ages - as of release 4.3, no replacementDeprecated.since ages - as of release 4.3, please useWorkflowActionDefaultCodeInterceptorDeprecated.since ages - as of release 4.3, please useWorkflowItemAttachmentDefaultCodeInterceptorDeprecated.since ages - as of release 4.3, please useWorkflowDecisionDefaultCodeInterceptorDeprecated.since ages - as of release 4.3, please useWorkflowTemplateDefaultCodeInterceptorgetOwnerName(SessionContext ctx, Link item) Deprecated.since ages - as of release 4.3, please useAbstractWorkflowActionModel.getName()getWorkflowsByTemplate(WorkflowTemplate template) Deprecated.since ages - as of release 4.3, please useWorkflowService.getWorkflowsForTemplateAndUser(de.hybris.platform.workflow.model.WorkflowTemplateModel, de.hybris.platform.core.model.user.UserModel)voidsetAllOwnerName(SessionContext ctx, Link item, Map<Language, String> value) Deprecated.since ages - as of release 4.3, please useAbstractWorkflowActionModel.setName(String, java.util.Locale)voidsetOwnerName(SessionContext ctx, Link item, String value) Deprecated.since ages - as of release 4.3, please useAbstractWorkflowActionModel.setName(String)Methods inherited from class de.hybris.platform.workflow.jalo.GeneratedWorkflowManager
addToVisibleTemplates, addToVisibleTemplates, createAutomatedWorkflowActionTemplate, createAutomatedWorkflowActionTemplate, createWorkflow, createWorkflow, createWorkflowAction, createWorkflowAction, createWorkflowActionComment, createWorkflowActionComment, createWorkflowActionTemplate, createWorkflowActionTemplate, createWorkflowDecision, createWorkflowDecision, createWorkflowDecisionTemplate, createWorkflowDecisionTemplate, createWorkflowItemAttachment, createWorkflowItemAttachment, createWorkflowTemplate, createWorkflowTemplate, getAllOwnerName, getDefaultAttributeModes, getName, getOwnerName, getTemplate, getTemplate, getVisibleTemplates, getVisibleTemplates, getVisibleTemplatesCount, getVisibleTemplatesCount, isActive, isActive, isActiveAsPrimitive, isActiveAsPrimitive, isAndConnection, isAndConnection, isAndConnectionAsPrimitive, isAndConnectionAsPrimitive, isAndConnectionTemplate, isAndConnectionTemplate, isAndConnectionTemplateAsPrimitive, isAndConnectionTemplateAsPrimitive, removeFromVisibleTemplates, removeFromVisibleTemplates, setActive, setActive, setActive, setActive, setAllOwnerName, setAndConnection, setAndConnection, setAndConnection, setAndConnection, setAndConnectionTemplate, setAndConnectionTemplate, setAndConnectionTemplate, setAndConnectionTemplate, setOwnerName, setTemplate, setTemplate, setVisibleTemplates, setVisibleTemplatesMethods inherited from class de.hybris.platform.jalo.extension.Extension
checkBeforeInitialization, checkBeforeItemRemoval, createEssentialData, createProjectData, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, isCreatorDisabled, notifyInitializationEnd, notifyInitializationStart, notifyItemRemoval, onFirstSessionCreation, writeReplaceMethods inherited from class de.hybris.platform.jalo.Manager
afterItemCreation, beforeItemCreation, destroy, extractNonRequiredRemoteFromItem, extractRequiredRemoteFromItem, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, init, setAttribute, setTenant, setTransientObject, wrap
-
Constructor Details
-
WorkflowManager
public WorkflowManager()Deprecated.
-
-
Method Details
-
getInstance
Deprecated.Gets the singleton instance of the manager.- Returns:
- manager instance
-
getNextWorkflowNumber
Deprecated.since ages - as of release 4.3, please useWorkflowTemplateDefaultCodeInterceptorcreates a code for new workflow templates
- Returns:
- a generated code
-
getLinks
@Deprecated(since="ages", forRemoval=false) public Collection<Link> getLinks(WorkflowDecision decision, AbstractWorkflowAction action) Deprecated.since ages - as of release 4.3, private method inDefaultWorkflowProcessingServiceUses flexible search for getting all the link from a decision, all the links to an action or a specific link between a given decision and action. Provide at least on of the following parameters:
- Parameters:
decision-action-- Returns:
- a Collection of links
-
getLinkTemplates
@Deprecated(since="ages", forRemoval=false) public Collection<Link> getLinkTemplates(AbstractWorkflowDecision decision, AbstractWorkflowAction action) Deprecated.since ages - as of release 4.3, no replacementUses flexible search for getting all the link templates from a decision, all the links to an action or a specific link between a given decision and action. Provide at least on of the following parameters:
- Parameters:
decision-action-- Returns:
- a Collection of links
-
getNextActionNumber
Deprecated.since ages - as of release 4.3, please useWorkflowActionDefaultCodeInterceptor -
getNextAttachmentNumber
Deprecated.since ages - as of release 4.3, please useWorkflowItemAttachmentDefaultCodeInterceptor -
getNextDecisionNumber
Deprecated.since ages - as of release 4.3, please useWorkflowDecisionDefaultCodeInterceptor -
getAllWorkflowTemplates
Deprecated.since ages - as of release 4.3, please useWorkflowTemplateService.getAllWorkflowTemplates() -
getWorkflowsByTemplate
@Deprecated(since="ages", forRemoval=false) public List<Workflow> getWorkflowsByTemplate(WorkflowTemplate template) Deprecated.since ages - as of release 4.3, please useWorkflowService.getWorkflowsForTemplateAndUser(de.hybris.platform.workflow.model.WorkflowTemplateModel, de.hybris.platform.core.model.user.UserModel) -
getAllUserWorkflowActionsWithAttachment
@Deprecated(since="ages", forRemoval=false) public List<WorkflowAction> getAllUserWorkflowActionsWithAttachment(String attachmentTypeCodeOrClassName) Deprecated.since ages - as of release 4.3, please useWorkflowActionService.getAllUserWorkflowActionsWithAttachment(String) -
getAllUserWorkflowActionsWithAttachment
@Deprecated(since="ages", forRemoval=false) public List<WorkflowAction> getAllUserWorkflowActionsWithAttachment(ComposedType attachmentType) Deprecated.since ages - as of release 4.3, please useWorkflowActionService.getAllUserWorkflowActionsWithAttachment(de.hybris.platform.core.model.type.ComposedTypeModel) -
getAllUserWorkflowActionsWithAttachments
@Deprecated(since="ages", forRemoval=false) public List<WorkflowAction> getAllUserWorkflowActionsWithAttachments(List<String> attachments) Deprecated.since ages - as of release 4.3, please useWorkflowActionService.getAllUserWorkflowActionsWithAttachments(List) -
getAllUserWorkflowActionsWithAttachments
@Deprecated(since="ages", forRemoval=false) public List<WorkflowAction> getAllUserWorkflowActionsWithAttachments(List<String> attachments, Collection<EnumerationValue> actionStatuses) Deprecated.since ages - as of release 4.3, please useWorkflowActionService.getAllUserWorkflowActionsWithAttachments(List, Collection) -
getOwnerName
@Deprecated(since="ages", forRemoval=false) public String getOwnerName(SessionContext ctx, Link item) Deprecated.since ages - as of release 4.3, please useAbstractWorkflowActionModel.getName()Description copied from class:GeneratedWorkflowManagerGenerated method - Getter of theWorkflowActionTemplateLinkTemplateRelation.ownerNameattribute.- Specified by:
getOwnerNamein classGeneratedWorkflowManager- Returns:
- the ownerName
-
setOwnerName
@Deprecated(since="ages", forRemoval=false) public void setOwnerName(SessionContext ctx, Link item, String value) Deprecated.since ages - as of release 4.3, please useAbstractWorkflowActionModel.setName(String)Description copied from class:GeneratedWorkflowManagerGenerated method - Setter of theWorkflowActionTemplateLinkTemplateRelation.ownerNameattribute.- Specified by:
setOwnerNamein classGeneratedWorkflowManagervalue- the ownerName
-
createWorkflowAction
@Deprecated(since="ages", forRemoval=false) public WorkflowAction createWorkflowAction(SessionContext ctx, Map attributeValues, ComposedType type) Deprecated.since ages - as of release 4.3, please useWorkflowActionService.createWorkflowAction(WorkflowActionTemplateModel, de.hybris.platform.workflow.model.WorkflowModel) -
createWorkflowAction
@Deprecated(since="ages", forRemoval=false) public WorkflowAction createWorkflowAction(Map attributeValues, ComposedType type) Deprecated.since ages - as of release 4.3, please useWorkflowActionService.createWorkflowAction(WorkflowActionTemplateModel, de.hybris.platform.workflow.model.WorkflowModel) -
getAllOwnerName
@Deprecated(since="ages", forRemoval=false) public Map<Language,String> getAllOwnerName(SessionContext ctx, Link item) Deprecated.since ages - as of release 4.3, please useAbstractWorkflowActionModel.getName(java.util.Locale)Description copied from class:GeneratedWorkflowManagerGenerated method - Getter of theWorkflowActionTemplateLinkTemplateRelation.ownerNameattribute.- Specified by:
getAllOwnerNamein classGeneratedWorkflowManager- Returns:
- the localized ownerName
-
setAllOwnerName
@Deprecated(since="ages", forRemoval=false) public void setAllOwnerName(SessionContext ctx, Link item, Map<Language, String> value) Deprecated.since ages - as of release 4.3, please useAbstractWorkflowActionModel.setName(String, java.util.Locale)Description copied from class:GeneratedWorkflowManagerGenerated method - Setter of theWorkflowActionTemplateLinkTemplateRelation.ownerNameattribute.- Specified by:
setAllOwnerNamein classGeneratedWorkflowManagervalue- the ownerName
-
Manager instance of the workflow extension, providing the main API for creating instances and creating data for initialization.