Class DefaultOrderFulfillmentNoteService<P extends OrderFulfillmentNote>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      P create​(P orderFulfillmentNote, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)  
      protected OrderFulfillmentNoteRepository<com.broadleafcommerce.data.tracking.core.Trackable> getOrderFulfillmentNoteRepository()  
      org.springframework.data.domain.Page<P> readAllByOrderFulfillmentId​(@NonNull String orderFulfillmentId, @NonNull cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Retrieve notes for the given order fulfillment ID.
      protected void setAuditInformation​(P orderFulfillmentNote, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Sets audit information for the order fulfillment note for creation.
      • Methods inherited from class com.broadleafcommerce.data.tracking.core.service.BaseRsqlCrudEntityService

        getRsqlHelper, readAll, readAll, readAll, readAll
      • Methods inherited from class com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService

        convertFromPersistentDomain, convertToPersistentDomain, createAll, createAllAllowingPartialSuccess, delete, getHelper, getRepository, getSortPositionStrategy, readAll, readAll, readAll, readAllByContextId, readByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, setSortPositionStrategy, update, updateAll, updateAllAllowingPartialSuccess, updateSort
      • Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.CrudEntityService

        createAll, createAllAllowingPartialSuccess, delete, readAll, readAll, readAll, readAllByContextId, readByContextId, replace, replaceAll, replaceAllAllowingPartialSuccess, update, updateAll, updateAllAllowingPartialSuccess, updateSort
      • Methods inherited from interface com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService

        readAll, readAll, readAll, readAll
    • Constructor Detail

      • DefaultOrderFulfillmentNoteService

        public DefaultOrderFulfillmentNoteService​(OrderFulfillmentNoteRepository<com.broadleafcommerce.data.tracking.core.Trackable> orderFulfillmentNoteRepository,
                                                  com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper)
    • Method Detail

      • readAllByOrderFulfillmentId

        public org.springframework.data.domain.Page<P> readAllByOrderFulfillmentId​(@NonNull
                                                                                   @NonNull String orderFulfillmentId,
                                                                                   @NonNull
                                                                                   @NonNull cz.jirutka.rsql.parser.ast.Node filters,
                                                                                   org.springframework.data.domain.Pageable page,
                                                                                   @Nullable
                                                                                   com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Description copied from interface: OrderFulfillmentNoteService
        Retrieve notes for the given order fulfillment ID.
        Specified by:
        readAllByOrderFulfillmentId in interface OrderFulfillmentNoteService<P extends OrderFulfillmentNote>
        Parameters:
        orderFulfillmentId - the ID of the order fulfillment whose notes should be found
        filters - additional filters to apply in the query. Should be EmptyNode if no additional filters should be applied.
        page - the requested page of results from the database
        contextInfo - context information around sandbox and multitenant state
        Returns:
        a page of the notes associated with the given order fulfillment ID
      • create

        public P create​(@NonNull
                        P orderFulfillmentNote,
                        @Nullable
                        com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Specified by:
        create in interface com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P extends OrderFulfillmentNote>
        Overrides:
        create in class com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P extends OrderFulfillmentNote>
      • setAuditInformation

        protected void setAuditInformation​(P orderFulfillmentNote,
                                           @Nullable
                                           com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Sets audit information for the order fulfillment note for creation.
        Parameters:
        orderFulfillmentNote - the note on which to initialize audit information
        contextInfo - context information about multitenant state
      • getOrderFulfillmentNoteRepository

        protected OrderFulfillmentNoteRepository<com.broadleafcommerce.data.tracking.core.Trackable> getOrderFulfillmentNoteRepository()