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 java.lang.Object implements WorkflowActionCommentService
Default implementation ofWorkflowActionCommentService
-
-
Constructor Summary
Constructors Constructor Description DefaultWorkflowActionCommentService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowActionCommentModeladdCommentToAction(java.lang.String commentValue, WorkflowActionModel action)Adds comment to actionbooleanisAutomatedComment(WorkflowActionCommentModel comment)Returns true if comment is automatedvoidsetModelService(ModelService modelService)voidsetUserService(UserService userService)voidsetWorkflowService(WorkflowService workflowService)
-
-
-
Method Detail
-
isAutomatedComment
public boolean isAutomatedComment(WorkflowActionCommentModel comment)
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(java.lang.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
public void setWorkflowService(WorkflowService workflowService)
- Parameters:
workflowService- the workflowService to set
-
setModelService
public void setModelService(ModelService modelService)
- Parameters:
modelService- the modelService to set
-
setUserService
public void setUserService(UserService userService)
- Parameters:
userService- the userService to set
-
-