Class ItemCatalogService

java.lang.Object
com.bitheads.braincloud.services.ItemCatalogService

public class ItemCatalogService
extends Object
  • Constructor Details

  • Method Details

    • getCatalogItemDefinition

      public void getCatalogItemDefinition​(String defId, IServerCallback callback)
      Reads an existing item definition from the server, with language fields limited to the current or default language Service Name - itemCatalog Service Operation - GET_CATALOG_ITEM_DEFINITION
      Parameters:
      defId - The unique id of the item definition.
      callback - The callback handler
    • getCatalogItemsPage

      public void getCatalogItemsPage​(String context, IServerCallback callback)
      Retrieve page of catalog items from the server, with language fields limited to the text for the current or default language. Service Name - itemCatalog Service Operation - GET_CATALOG_ITEMS_PAGE
      Parameters:
      context - The json context for the page request.
      callback - The callback handler
    • getCatalogItemsPageOffset

      public void getCatalogItemsPageOffset​(String context, int pageOffset, IServerCallback callback)
      Gets the page of catalog items from the server based ont he encoded context and specified page offset, with language fields limited to the text fir the current or default language Service Name - itemCatalog Service Operation - GET_CATALOG_ITEMS_PAGE_OFFSET
      Parameters:
      context - The context string returned from the server from a previous call to GetCatalogItemsPage or GetCatalogItemsPageOffset.
      pageOffset - The positive or negative page offset to fetch. Uses the last page retrieved using the context string to determine a starting point.
      callback - The callback handler