com.liferay.portlet.shopping.service
Class ShoppingCategoryServiceUtil
java.lang.Object
com.liferay.portlet.shopping.service.ShoppingCategoryServiceUtil
public class ShoppingCategoryServiceUtil
- extends Object
The utility for the shopping category remote service. This utility wraps ShoppingCategoryServiceImpl
and is the primary access point for service operations in application layer code running on a remote server.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- See Also:
ShoppingCategoryService
,
ShoppingCategoryServiceBaseImpl
,
ShoppingCategoryServiceImpl
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
Method Summary |
static ShoppingCategory |
addCategory(long parentCategoryId,
String name,
String description,
ServiceContext serviceContext)
|
static void |
deleteCategory(long categoryId)
|
static List<ShoppingCategory> |
getCategories(long groupId)
|
static 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(List<Long> categoryIds,
long groupId,
long categoryId)
|
void |
setService(ShoppingCategoryService service)
|
static ShoppingCategory |
updateCategory(long categoryId,
long parentCategoryId,
String name,
String description,
boolean mergeWithParentCategory,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShoppingCategoryServiceUtil
public ShoppingCategoryServiceUtil()
addCategory
public static ShoppingCategory addCategory(long parentCategoryId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteCategory
public static void deleteCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategories
public static List<ShoppingCategory> getCategories(long groupId)
throws SystemException
- Throws:
SystemException
getCategories
public static List<ShoppingCategory> getCategories(long groupId,
long parentCategoryId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCategoriesCount
public static int getCategoriesCount(long groupId,
long parentCategoryId)
throws SystemException
- Throws:
SystemException
getCategory
public static ShoppingCategory getCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getSubcategoryIds
public static void getSubcategoryIds(List<Long> categoryIds,
long groupId,
long categoryId)
throws SystemException
- Throws:
SystemException
updateCategory
public static ShoppingCategory updateCategory(long categoryId,
long parentCategoryId,
String name,
String description,
boolean mergeWithParentCategory,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static ShoppingCategoryService getService()
setService
public void setService(ShoppingCategoryService service)