getCategoryCount method
- int storeId
Get the number of categories enabled for the specified store.
Parameters
- IN storeId The store ID
Returns
- The number of categories if the store id exists in the collection
- GemError.notFound.code if the store does not exist in the collection
Throws
- An exception if it fails.
Implementation
int getCategoryCount(final int storeId) {
final OperationResult resultString = objectMethod(
_pointerId,
'LandmarkStoreCollection',
'getCategoryCount',
args: storeId,
);
return resultString['result'];
}