public class SugarCRMCache extends Object
| Constructor and Description |
|---|
SugarCRMCache() |
| Modifier and Type | Method and Description |
|---|---|
SugarCRMSearchResults<DataSet> |
getCollectionByID(String id)
Gets a dataset according to the given ID
|
SugarCRMSearchResults<DataSet> |
getCollectionByProviderID(String id)
Gets the set of the collections that belong to a provider given the provider ID
|
SugarCRMSearchResults<DataSet> |
getCollections()
Gets all datasets from the Mongo Cache.
|
SugarCRMSearchResults<DataSet> |
getCollections(int offset,
int pagesize) |
SugarCRMSearchResults<DataSet> |
getCollections(int offset,
int pagesize,
String name,
String country,
String status)
Gets all datasets from the Mongo Cache.
|
SugarCRMSearchResults<Provider> |
getProviderbyID(String id)
Gets a provider according to the given ID
|
SugarCRMSearchResults<Provider> |
getProviders()
Gets all providers from the Mongo Cache.
|
SugarCRMSearchResults<Provider> |
getProviders(String country,
int offset,
int pagesize)
Gets all providers from the Mongo Cache.
|
public SugarCRMSearchResults<Provider> getProviders()
public SugarCRMSearchResults<Provider> getProviders(String country, int offset, int pagesize)
country - the country code filter (might be null)offset - the offset of search (might be 0)pagesize - the page size (might be 0: 200 will be set as default in that case)public SugarCRMSearchResults<DataSet> getCollections()
public SugarCRMSearchResults<DataSet> getCollections(int offset, int pagesize)
public SugarCRMSearchResults<DataSet> getCollections(int offset, int pagesize, String name, String country, String status)
offset - the offset of search (might be 0)pagesize - the page size (might be 0: 200 will be set as default in that case)public SugarCRMSearchResults<Provider> getProviderbyID(String id)
id - the provider IDpublic SugarCRMSearchResults<DataSet> getCollectionByID(String id)
id - the dataset IDpublic SugarCRMSearchResults<DataSet> getCollectionByProviderID(String id)
id - the provider IDCopyright © 2017. All rights reserved.