Package de.hybris.platform.workflow.impl
Class DefaultWorkflowActionCommentService
java.lang.Object
de.hybris.platform.workflow.impl.DefaultWorkflowActionCommentService
- All Implemented Interfaces:
WorkflowActionCommentService
public class DefaultWorkflowActionCommentService
extends Object
implements WorkflowActionCommentService
Default implementation of
WorkflowActionCommentService-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCommentToAction(String commentValue, WorkflowActionModel action) Adds comment to actionbooleanReturns true if comment is automatedvoidsetModelService(ModelService modelService) voidsetUserService(UserService userService) voidsetWorkflowService(WorkflowService workflowService)
-
Constructor Details
-
DefaultWorkflowActionCommentService
public DefaultWorkflowActionCommentService()
-
-
Method Details
-
isAutomatedComment
Description copied from interface:WorkflowActionCommentServiceReturns true if comment is automated- Specified by:
isAutomatedCommentin interfaceWorkflowActionCommentService- Parameters:
comment- commment to test- Returns:
- true if comment is automated, false otherwise
-
addCommentToAction
public WorkflowActionCommentModel addCommentToAction(String commentValue, WorkflowActionModel action) Description copied from interface:WorkflowActionCommentServiceAdds comment to action- Specified by:
addCommentToActionin interfaceWorkflowActionCommentService- Parameters:
commentValue- comment to addaction- action to which comment is added- Returns:
- created comment
-
setWorkflowService
- Parameters:
workflowService- the workflowService to set
-
setModelService
- Parameters:
modelService- the modelService to set
-
setUserService
- Parameters:
userService- the userService to set
-