public static int getCategoriesSize(java.lang.String companyId) throws RemoteException {
    try {
      int returnValue = ShoppingCategoryServiceUtil.getCategoriesSize(companyId);

      return returnValue;
    } catch (Exception e) {
      throw new RemoteException(e.getMessage());
    }
  }
  public static int getCategoriesSize(com.liferay.portlet.shopping.model.ShoppingCategory category)
      throws RemoteException {
    try {
      int returnValue = ShoppingCategoryServiceUtil.getCategoriesSize(category);

      return returnValue;
    } catch (Exception e) {
      throw new RemoteException(e.getMessage());
    }
  }