Interface ArticleOperations


  • public interface ArticleOperations
    • Method Detail

      • createArticle

        int createArticle​(int shopId,
                          java.lang.String articleName,
                          int articlePrice)
        Creates new article in shop with count 0.
        Parameters:
        shopId - shop id
        articleName - article name
        articlePrice - price of the article
        Returns:
        id of the article, -1 in failure