Liferay 6.0.5

com.liferay.portlet.shopping.service
Class ShoppingCategoryServiceUtil

java.lang.Object
  extended by 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.

Never modify this class directly. Add custom service methods to ShoppingCategoryServiceImpl and rerun ServiceBuilder to regenerate this class.

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 is generated.

Constructor Summary
ShoppingCategoryServiceUtil()
           
 
Method Summary
static ShoppingCategory addCategory(long parentCategoryId, String name, String description, ServiceContext serviceContext)
           
static void deleteCategory(long categoryId)
           
static ShoppingCategory getCategory(long categoryId)
           
static ShoppingCategoryService getService()
           
 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
 

Constructor Detail

ShoppingCategoryServiceUtil

public ShoppingCategoryServiceUtil()
Method Detail

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

getCategory

public static ShoppingCategory getCategory(long categoryId)
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
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)

Liferay 6.0.5