Interface WarehousingCommentService

All Superinterfaces:
CommentService
All Known Implementing Classes:
AbstractWarehousingCommentService, DefaultAsnCommentService, DefaultConsignmentEntryCommentService, DefaultOrderEntryCommentService, DefaultStockLevelCommentService

public interface WarehousingCommentService extends CommentService
Service to simplify working with the CommentService.
  • Method Details

    • createAndSaveComment

      CommentModel createAndSaveComment(WarehousingCommentContext context, 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 null
      code - the comment code
      Returns:
      the created CommentModel
    • getOrCreateComponent

      ComponentModel getOrCreateComponent(WarehousingCommentEventType eventType)
      Get the component for the requested WarehousingCommentEventType
      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 requested WarehousingCommentEventType
      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