public static void deleteCategory(java.lang.String categoryId) throws RemoteException { try { ShoppingCategoryServiceUtil.deleteCategory(categoryId); } catch (Exception e) { throw new RemoteException(e.getMessage()); } }
public static void deleteCategory(com.liferay.portlet.shopping.model.ShoppingCategory category) throws RemoteException { try { ShoppingCategoryServiceUtil.deleteCategory(category); } catch (Exception e) { throw new RemoteException(e.getMessage()); } }
public static boolean hasAdmin(java.lang.String categoryId) throws RemoteException { try { boolean returnValue = ShoppingCategoryServiceUtil.hasAdmin(categoryId); return returnValue; } catch (Exception e) { throw new RemoteException(e.getMessage()); } }
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()); } }
public static com.liferay.portlet.shopping.model.ShoppingCategoryModel[] getCategories( com.liferay.portlet.shopping.model.ShoppingCategory category) throws RemoteException { try { java.util.List returnValue = ShoppingCategoryServiceUtil.getCategories(category); return (com.liferay.portlet.shopping.model.ShoppingCategory[]) returnValue.toArray(new com.liferay.portlet.shopping.model.ShoppingCategory[0]); } catch (Exception e) { throw new RemoteException(e.getMessage()); } }
public static com.liferay.portlet.shopping.model.ShoppingCategoryModel getCategory( java.lang.String categoryId) throws RemoteException { try { com.liferay.portlet.shopping.model.ShoppingCategory returnValue = ShoppingCategoryServiceUtil.getCategory(categoryId); return returnValue; } catch (Exception e) { throw new RemoteException(e.getMessage()); } }