Liferay 7.0-ce-m3

com.liferay.portlet.shopping.service
Class ShoppingCategoryServiceUtil

java.lang.Object
  extended by com.liferay.portlet.shopping.service.ShoppingCategoryServiceUtil

@ProviderType
public class ShoppingCategoryServiceUtil
extends Object

Provides the remote service utility for ShoppingCategory. This utility wraps 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.

See Also:
ShoppingCategoryService, ShoppingCategoryServiceBaseImpl, ShoppingCategoryServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
ShoppingCategoryServiceUtil()
           
 
Method Summary
static ShoppingCategory addCategory(long parentCategoryId, String name, String description, ServiceContext serviceContext)
           
static void deleteCategory(long categoryId)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
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)
           
static void setBeanIdentifier(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, 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
Throws:
PortalException

deleteCategory

public static void deleteCategory(long categoryId)
                           throws PortalException
Throws:
PortalException

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

getCategories

public static List<ShoppingCategory> getCategories(long groupId)

getCategories

public static List<ShoppingCategory> getCategories(long groupId,
                                                   long parentCategoryId,
                                                   int start,
                                                   int end)

getCategoriesCount

public static int getCategoriesCount(long groupId,
                                     long parentCategoryId)

getCategory

public static ShoppingCategory getCategory(long categoryId)
                                    throws PortalException
Throws:
PortalException

getSubcategoryIds

public static void getSubcategoryIds(List<Long> categoryIds,
                                     long groupId,
                                     long categoryId)

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

updateCategory

public static ShoppingCategory updateCategory(long categoryId,
                                              long parentCategoryId,
                                              String name,
                                              String description,
                                              boolean mergeWithParentCategory,
                                              ServiceContext serviceContext)
                                       throws PortalException
Throws:
PortalException

getService

public static ShoppingCategoryService getService()

setService

@Deprecated
public void setService(ShoppingCategoryService service)
Deprecated. As of 6.2.0


Liferay 7.0-ce-m3