Interface WarehousingCommentService
-
- All Superinterfaces:
CommentService
- All Known Implementing Classes:
AbstractWarehousingCommentService
,DefaultAsnCommentService
,DefaultConsignmentEntryCommentService
,DefaultOrderEntryCommentService
,DefaultStockLevelCommentService
public interface WarehousingCommentService extends CommentService
Service to simplify working with theCommentService
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommentModel
createAndSaveComment(WarehousingCommentContext context, java.lang.String code)
Create and save the comment subject, text, code and creation time in the associated item.CommentTypeModel
getOrCreateCommentType(WarehousingCommentEventType eventType)
Get the comment type for the requestedWarehousingCommentEventType
ComponentModel
getOrCreateComponent(WarehousingCommentEventType eventType)
Get the component for the requestedWarehousingCommentEventType
DomainModel
getOrCreateDomainForCodeWarehousing()
Get 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 Detail
-
createAndSaveComment
CommentModel createAndSaveComment(WarehousingCommentContext context, java.lang.String code)
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
ComponentModel getOrCreateComponent(WarehousingCommentEventType eventType)
Get the component for the requestedWarehousingCommentEventType
- Parameters:
eventType
- - the event type specifying the component code and name- Returns:
- the requested component model
-
getOrCreateCommentType
CommentTypeModel getOrCreateCommentType(WarehousingCommentEventType eventType)
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
-
-