HAPPY NEW YEAR 2017

Identity And Access Management - Rajiv Dewan

Catalog Search API Usage



Request Catalog Search API Usage:

public void searchCatalog(OIMClient oimClient){     

CatalogService catalogService = oimClient.getService(CatalogService .class);
CatalogSearchCriteria catalogSearchCriteria = new CatalogSearchCriteria(CatalogSearchCriteria.Argument.TAG, "Test", CatalogSearchCriteria.Operator.EQUAL); // WORKING
try {
    CatalogSearchResult catalogSearchResult = catalogService.search(catalogSearchCriteria, 0, 100, CatalogConstants.CATALOG_ITEM_TAGS, SortCriteria.ASCENDING);
  

  } catch (Exception e) {
       e.printStackTrace();

  }

}