com.liferay.portlet.shopping.service.impl
Class ShoppingCategoryServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.shopping.service.base.ShoppingCategoryServiceBaseImpl
          extended by com.liferay.portlet.shopping.service.impl.ShoppingCategoryServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portlet.shopping.service.ShoppingCategoryService

public class ShoppingCategoryServiceImpl
extends ShoppingCategoryServiceBaseImpl

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.shopping.service.base.ShoppingCategoryServiceBaseImpl
counterLocalService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, shoppingCartLocalService, shoppingCartPersistence, shoppingCategoryLocalService, shoppingCategoryPersistence, shoppingCategoryService, shoppingCouponFinder, shoppingCouponLocalService, shoppingCouponPersistence, shoppingCouponService, shoppingItemFieldLocalService, shoppingItemFieldPersistence, shoppingItemFinder, shoppingItemLocalService, shoppingItemPersistence, shoppingItemPriceLocalService, shoppingItemPricePersistence, shoppingItemService, shoppingOrderFinder, shoppingOrderItemLocalService, shoppingOrderItemPersistence, shoppingOrderLocalService, shoppingOrderPersistence, shoppingOrderService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
ShoppingCategoryServiceImpl()
           
 
Method Summary
 com.liferay.portlet.shopping.model.ShoppingCategory addCategory(long parentCategoryId, java.lang.String name, java.lang.String description, com.liferay.portal.service.ServiceContext serviceContext)
           
 void deleteCategory(long categoryId)
           
 java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(long groupId)
           
 java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(long groupId, long parentCategoryId, int start, int end)
           
 int getCategoriesCount(long groupId, long parentCategoryId)
           
 com.liferay.portlet.shopping.model.ShoppingCategory getCategory(long categoryId)
           
 void getSubcategoryIds(java.util.List<java.lang.Long> categoryIds, long groupId, long categoryId)
           
 com.liferay.portlet.shopping.model.ShoppingCategory updateCategory(long categoryId, long parentCategoryId, java.lang.String name, java.lang.String description, boolean mergeWithParentCategory, com.liferay.portal.service.ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.shopping.service.base.ShoppingCategoryServiceBaseImpl
afterPropertiesSet, destroy, getBeanIdentifier, getCounterLocalService, getModelClass, getModelClassName, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getShoppingCartLocalService, getShoppingCartPersistence, getShoppingCategoryLocalService, getShoppingCategoryPersistence, getShoppingCategoryService, getShoppingCouponFinder, getShoppingCouponLocalService, getShoppingCouponPersistence, getShoppingCouponService, getShoppingItemFieldLocalService, getShoppingItemFieldPersistence, getShoppingItemFinder, getShoppingItemLocalService, getShoppingItemPersistence, getShoppingItemPriceLocalService, getShoppingItemPricePersistence, getShoppingItemService, getShoppingOrderFinder, getShoppingOrderItemLocalService, getShoppingOrderItemPersistence, getShoppingOrderLocalService, getShoppingOrderPersistence, getShoppingOrderService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setShoppingCartLocalService, setShoppingCartPersistence, setShoppingCategoryLocalService, setShoppingCategoryPersistence, setShoppingCategoryService, setShoppingCouponFinder, setShoppingCouponLocalService, setShoppingCouponPersistence, setShoppingCouponService, setShoppingItemFieldLocalService, setShoppingItemFieldPersistence, setShoppingItemFinder, setShoppingItemLocalService, setShoppingItemPersistence, setShoppingItemPriceLocalService, setShoppingItemPricePersistence, setShoppingItemService, setShoppingOrderFinder, setShoppingOrderItemLocalService, setShoppingOrderItemPersistence, setShoppingOrderLocalService, setShoppingOrderPersistence, setShoppingOrderService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingCategoryServiceImpl

public ShoppingCategoryServiceImpl()
Method Detail

addCategory

public com.liferay.portlet.shopping.model.ShoppingCategory addCategory(long parentCategoryId,
                                                                       java.lang.String name,
                                                                       java.lang.String description,
                                                                       com.liferay.portal.service.ServiceContext serviceContext)
                                                                throws com.liferay.portal.kernel.exception.PortalException,
                                                                       com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteCategory

public void deleteCategory(long categoryId)
                    throws com.liferay.portal.kernel.exception.PortalException,
                           com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getCategories

public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(long groupId)
                                                                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getCategories

public java.util.List<com.liferay.portlet.shopping.model.ShoppingCategory> getCategories(long groupId,
                                                                                         long parentCategoryId,
                                                                                         int start,
                                                                                         int end)
                                                                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getCategoriesCount

public int getCategoriesCount(long groupId,
                              long parentCategoryId)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getCategory

public com.liferay.portlet.shopping.model.ShoppingCategory getCategory(long categoryId)
                                                                throws com.liferay.portal.kernel.exception.PortalException,
                                                                       com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getSubcategoryIds

public void getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
                              long groupId,
                              long categoryId)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateCategory

public com.liferay.portlet.shopping.model.ShoppingCategory updateCategory(long categoryId,
                                                                          long parentCategoryId,
                                                                          java.lang.String name,
                                                                          java.lang.String description,
                                                                          boolean mergeWithParentCategory,
                                                                          com.liferay.portal.service.ServiceContext serviceContext)
                                                                   throws com.liferay.portal.kernel.exception.PortalException,
                                                                          com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException