Interface AcmeOrderService

    • Method Detail

      • save

        AcmeOrder save​(AcmeOrder acmeOrder)
        Save a acmeOrder.
        Parameters:
        acmeOrder - the entity to save.
        Returns:
        the persisted entity.
      • findAll

        List<AcmeOrder> findAll()
        Get all the acmeOrders.
        Returns:
        the list of entities.
      • findOne

        Optional<AcmeOrder> findOne​(Long id)
        Get the "id" acmeOrder.
        Parameters:
        id - the id of the entity.
        Returns:
        the entity.
      • findOneByAcmeOrderId

        Optional<AcmeOrder> findOneByAcmeOrderId​(Long orderId)
        Get the "orderId" acmeOrder.
        Parameters:
        orderId - the id of the order.
        Returns:
        the entity.
      • delete

        void delete​(Long id)
        Delete the "id" acmeOrder.
        Parameters:
        id - the id of the entity.