Interface WarehousingCommentService
- All Superinterfaces:
CommentService
- All Known Implementing Classes:
AbstractWarehousingCommentService,DefaultAsnCommentService,DefaultConsignmentEntryCommentService,DefaultOrderEntryCommentService,DefaultStockLevelCommentService
Service to simplify working with the
CommentService.-
Method Summary
Modifier and TypeMethodDescriptioncreateAndSaveComment(WarehousingCommentContext context, String code) Create and save the comment subject, text, code and creation time in the associated item.Get the comment type for the requestedWarehousingCommentEventTypegetOrCreateComponent(WarehousingCommentEventType eventType) Get the component for the requestedWarehousingCommentEventTypeGet the domain with code "warehousing"Methods inherited from interface de.hybris.platform.comments.services.CommentService
createReply, getAvailableCommentTypes, getComments, getComments, getComments, getComments, getCommentTypeByCode, getCommentTypeForCode, getComponentByCode, getComponentForCode, getDirectReplies, getDomainByCode, getDomainForCode, getItemComments, getItemComments, getItemComments, getItemComments, getUserSetting
-
Method Details
-
createAndSaveComment
Create and save the comment subject, text, code and creation time in the associated item.- Parameters:
context- the comment context to process; cannot be nullcode- the comment code- Returns:
- the created
CommentModel
-
getOrCreateComponent
Get the component for the requestedWarehousingCommentEventType- Parameters:
eventType- - the event type specifying the component code and name- Returns:
- the requested component model
-
getOrCreateCommentType
Get the comment type for the requestedWarehousingCommentEventType- Parameters:
eventType- - the event type specifying the comment type code and name- Returns:
- the requested comment type model
-
getOrCreateDomainForCodeWarehousing
DomainModel getOrCreateDomainForCodeWarehousing()Get the domain with code "warehousing"- Returns:
- the domain model
-