@ProviderType
public class ShoppingCategoryServiceUtil
extends java.lang.Object
com.liferay.portlet.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.portlet.shopping.service.base.ShoppingCategoryServiceBaseImpl,
com.liferay.portlet.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,
ServiceContext serviceContext) |
static void |
deleteCategory(long categoryId) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static java.util.List<ShoppingCategory> |
getCategories(long groupId) |
static java.util.List<ShoppingCategory> |
getCategories(long groupId,
long parentCategoryId,
int start,
int end) |
static int |
getCategoriesCount(long groupId,
long parentCategoryId) |
static ShoppingCategory |
getCategory(long categoryId) |
static ShoppingCategoryService |
getService() |
static void |
getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
long groupId,
long categoryId) |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(ShoppingCategoryService service)
Deprecated.
As of 6.2.0
|
static ShoppingCategory |
updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentCategory,
ServiceContext serviceContext) |
public static ShoppingCategory addCategory(long parentCategoryId, java.lang.String name, java.lang.String description, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static void deleteCategory(long categoryId)
throws PortalException
PortalExceptionpublic static java.lang.String getBeanIdentifier()
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 int getCategoriesCount(long groupId,
long parentCategoryId)
public static ShoppingCategory getCategory(long categoryId) throws PortalException
PortalExceptionpublic static void getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
long groupId,
long categoryId)
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static ShoppingCategory updateCategory(long categoryId, long parentCategoryId, java.lang.String name, java.lang.String description, boolean mergeWithParentCategory, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static ShoppingCategoryService getService()
@Deprecated public void setService(ShoppingCategoryService service)