Interface InventoryClient

    • Method Detail

      • findCategoryByName

        Categories findCategoryByName​(String name,
                                      int offset,
                                      int limit)
                               throws javax.ws.rs.client.ResponseProcessingException
        Throws:
        javax.ws.rs.client.ResponseProcessingException
      • getCategory

        Category getCategory​(int id)
                      throws javax.ws.rs.client.ResponseProcessingException
        Throws:
        javax.ws.rs.client.ResponseProcessingException
      • deleteCategory

        boolean deleteCategory​(int id)
                        throws javax.ws.rs.client.ResponseProcessingException
        Throws:
        javax.ws.rs.client.ResponseProcessingException
      • createProduct

        Product createProduct​(Product product,
                              String string)
                       throws javax.ws.rs.client.ResponseProcessingException
        Throws:
        javax.ws.rs.client.ResponseProcessingException
      • findProductsByName

        Products findProductsByName​(String name,
                                    int offset,
                                    int limit)
                             throws javax.ws.rs.client.ResponseProcessingException
        Throws:
        javax.ws.rs.client.ResponseProcessingException
      • getProduct

        Product getProduct​(int id)
                    throws javax.ws.rs.client.ResponseProcessingException
        Throws:
        javax.ws.rs.client.ResponseProcessingException
      • updateProduct

        Product updateProduct​(Product product)
                       throws javax.ws.rs.client.ResponseProcessingException
        Throws:
        javax.ws.rs.client.ResponseProcessingException
      • deleteProduct

        boolean deleteProduct​(int id)
                       throws javax.ws.rs.client.ResponseProcessingException
        Throws:
        javax.ws.rs.client.ResponseProcessingException