@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 java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static ShoppingCategory addCategory(long parentCategoryId, java.lang.String name, java.lang.String description, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void deleteCategory(long categoryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static java.util.List<ShoppingCategory> getCategories(long groupId) throws SystemException
SystemExceptionpublic static java.util.List<ShoppingCategory> getCategories(long groupId, long parentCategoryId, int start, int end) throws SystemException
SystemExceptionpublic static int getCategoriesCount(long groupId,
long parentCategoryId)
throws SystemException
SystemExceptionpublic static ShoppingCategory getCategory(long categoryId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
long groupId,
long categoryId)
throws SystemException
SystemExceptionpublic static ShoppingCategory updateCategory(long categoryId, long parentCategoryId, java.lang.String name, java.lang.String description, boolean mergeWithParentCategory, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static ShoppingCategoryService getService()
public void setService(ShoppingCategoryService service)