Package com.bitheads.braincloud.services
Class ItemCatalogService
java.lang.Object
com.bitheads.braincloud.services.ItemCatalogService
public class ItemCatalogService extends Object
-
Constructor Summary
Constructors Constructor Description ItemCatalogService(BrainCloudClient client) -
Method Summary
Modifier and Type Method Description voidgetCatalogItemDefinition(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_DEFINITIONvoidgetCatalogItemsPage(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.voidgetCatalogItemsPageOffset(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
-
Constructor Details
-
ItemCatalogService
-
-
Method Details
-
getCatalogItemDefinition
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
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
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
-