@ProviderType
public class ShoppingCategoryServiceUtil
extends java.lang.Object
com.liferay.shopping.service.impl.ShoppingCategoryServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.ShoppingCategoryService,
com.liferay.shopping.service.base.ShoppingCategoryServiceBaseImpl,
com.liferay.shopping.service.impl.ShoppingCategoryServiceImpl| Constructor and Description |
|---|
ShoppingCategoryServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static ShoppingCategory |
addCategory(long parentCategoryId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteCategory(long categoryId) |
static java.util.List<ShoppingCategory> |
getCategories(long groupId) |
static java.util.List<ShoppingCategory> |
getCategories(long groupId,
long parentCategoryId,
int start,
int end) |
static java.util.List<java.lang.Object> |
getCategoriesAndItems(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> obc) |
static int |
getCategoriesAndItemsCount(long groupId,
long categoryId) |
static int |
getCategoriesCount(long groupId,
long parentCategoryId) |
static ShoppingCategory |
getCategory(long categoryId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static ShoppingCategoryService |
getService() |
static void |
getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
long groupId,
long categoryId) |
static ShoppingCategory |
updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentCategory,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static ShoppingCategory addCategory(long parentCategoryId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static ShoppingCategory getCategory(long categoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static ShoppingCategory updateCategory(long categoryId, long parentCategoryId, java.lang.String name, java.lang.String description, boolean mergeWithParentCategory, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getCategoriesAndItemsCount(long groupId,
long categoryId)
public static int getCategoriesCount(long groupId,
long parentCategoryId)
public static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<ShoppingCategory> getCategories(long groupId)
public static java.util.List<ShoppingCategory> getCategories(long groupId, long parentCategoryId, int start, int end)
public static java.util.List<java.lang.Object> getCategoriesAndItems(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> obc)
public static void deleteCategory(long categoryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
long groupId,
long categoryId)
public static ShoppingCategoryService getService()