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

java.lang.Object
  extended bycom.liferay.portal.service.impl.PrincipalBean
      extended bycom.liferay.portlet.shopping.service.impl.ShoppingCategoryServiceImpl
All Implemented Interfaces:
com.liferay.portlet.shopping.service.ShoppingCategoryService

public class ShoppingCategoryServiceImpl
extends PrincipalBean
implements com.liferay.portlet.shopping.service.ShoppingCategoryService

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portal.service.impl.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
ShoppingCategoryServiceImpl()
           
 
Method Summary
 com.liferay.portlet.shopping.model.ShoppingCategory addCategory(long plid, long parentCategoryId, java.lang.String name, java.lang.String description, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 com.liferay.portlet.shopping.model.ShoppingCategory addCategory(long plid, long parentCategoryId, java.lang.String name, java.lang.String description, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void deleteCategory(long categoryId)
           
 com.liferay.portlet.shopping.model.ShoppingCategory getCategory(long categoryId)
           
 com.liferay.portlet.shopping.model.ShoppingCategory updateCategory(long categoryId, long parentCategoryId, java.lang.String name, java.lang.String description, boolean mergeWithParentCategory)
           
 
Methods inherited from class com.liferay.portal.service.impl.PrincipalBean
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 plid,
                                                                       long parentCategoryId,
                                                                       java.lang.String name,
                                                                       java.lang.String description,
                                                                       boolean addCommunityPermissions,
                                                                       boolean addGuestPermissions)
                                                                throws com.liferay.portal.PortalException,
                                                                       com.liferay.portal.SystemException
Specified by:
addCategory in interface com.liferay.portlet.shopping.service.ShoppingCategoryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addCategory

public com.liferay.portlet.shopping.model.ShoppingCategory addCategory(long plid,
                                                                       long parentCategoryId,
                                                                       java.lang.String name,
                                                                       java.lang.String description,
                                                                       java.lang.String[] communityPermissions,
                                                                       java.lang.String[] guestPermissions)
                                                                throws com.liferay.portal.PortalException,
                                                                       com.liferay.portal.SystemException
Specified by:
addCategory in interface com.liferay.portlet.shopping.service.ShoppingCategoryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteCategory

public void deleteCategory(long categoryId)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Specified by:
deleteCategory in interface com.liferay.portlet.shopping.service.ShoppingCategoryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCategory

public com.liferay.portlet.shopping.model.ShoppingCategory getCategory(long categoryId)
                                                                throws com.liferay.portal.PortalException,
                                                                       com.liferay.portal.SystemException
Specified by:
getCategory in interface com.liferay.portlet.shopping.service.ShoppingCategoryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateCategory

public com.liferay.portlet.shopping.model.ShoppingCategory updateCategory(long categoryId,
                                                                          long parentCategoryId,
                                                                          java.lang.String name,
                                                                          java.lang.String description,
                                                                          boolean mergeWithParentCategory)
                                                                   throws com.liferay.portal.PortalException,
                                                                          com.liferay.portal.SystemException
Specified by:
updateCategory in interface com.liferay.portlet.shopping.service.ShoppingCategoryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException