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,java.io.Serializable
@Deprecated(since="ages", forRemoval=false) public class WorkflowManager extends GeneratedWorkflowManagerDeprecated.since ages - as of release 4.3, please use services from de.hybris.platform.workflow packageManager instance of the workflow extension, providing the main API for creating instances and creating data for initialization.
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.extension.Extension
Extension.RestrictedLanguagesProvider, Extension.RightsProvider
-
Nested 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 Constructor Description WorkflowManager()Deprecated.
-
Method Summary
-
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, setVisibleTemplates
-
Methods 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, writeReplace
-
Methods 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
-
-
-
-
Method Detail
-
getInstance
public static final WorkflowManager getInstance()
Deprecated.Gets the singleton instance of the manager.- Returns:
- manager instance
-
getNextWorkflowNumber
@Deprecated(since="ages", forRemoval=false) public java.lang.String 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 java.util.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 java.util.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", forRemoval=false) public java.lang.String getNextActionNumber()Deprecated.since ages - as of release 4.3, please useWorkflowActionDefaultCodeInterceptor
-
getNextAttachmentNumber
@Deprecated(since="ages", forRemoval=false) public java.lang.String getNextAttachmentNumber()Deprecated.since ages - as of release 4.3, please useWorkflowItemAttachmentDefaultCodeInterceptor
-
getNextDecisionNumber
@Deprecated(since="ages", forRemoval=false) public java.lang.String getNextDecisionNumber()Deprecated.since ages - as of release 4.3, please useWorkflowDecisionDefaultCodeInterceptor
-
getAllWorkflowTemplates
@Deprecated(since="ages", forRemoval=false) public java.util.List<WorkflowTemplate> getAllWorkflowTemplates()Deprecated.since ages - as of release 4.3, please useWorkflowTemplateService.getAllWorkflowTemplates()
-
getWorkflowsByTemplate
@Deprecated(since="ages", forRemoval=false) public java.util.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 java.util.List<WorkflowAction> getAllUserWorkflowActionsWithAttachment(java.lang.String attachmentTypeCodeOrClassName)Deprecated.since ages - as of release 4.3, please useWorkflowActionService.getAllUserWorkflowActionsWithAttachment(String)
-
getAllUserWorkflowActionsWithAttachment
@Deprecated(since="ages", forRemoval=false) public java.util.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 java.util.List<WorkflowAction> getAllUserWorkflowActionsWithAttachments(java.util.List<java.lang.String> attachments)Deprecated.since ages - as of release 4.3, please useWorkflowActionService.getAllUserWorkflowActionsWithAttachments(List)
-
getAllUserWorkflowActionsWithAttachments
@Deprecated(since="ages", forRemoval=false) public java.util.List<WorkflowAction> getAllUserWorkflowActionsWithAttachments(java.util.List<java.lang.String> attachments, java.util.Collection<EnumerationValue> actionStatuses)Deprecated.since ages - as of release 4.3, please useWorkflowActionService.getAllUserWorkflowActionsWithAttachments(List, Collection)
-
getOwnerName
@Deprecated(since="ages", forRemoval=false) public java.lang.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, java.lang.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, java.util.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(java.util.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 java.util.Map<Language,java.lang.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, java.util.Map<Language,java.lang.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
-
-