Liferay 7.0-ce-m6

com.liferay.portlet.shopping.service
Class ShoppingCategoryServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.shopping.service.ShoppingCategoryServiceWrapper
All Implemented Interfaces:
BaseService, ServiceWrapper<ShoppingCategoryService>, ShoppingCategoryService

@ProviderType
public class ShoppingCategoryServiceWrapper
extends Object
implements ShoppingCategoryService, ServiceWrapper<ShoppingCategoryService>

Provides a wrapper for ShoppingCategoryService.

See Also:
ShoppingCategoryService

Constructor Summary
ShoppingCategoryServiceWrapper(ShoppingCategoryService shoppingCategoryService)
           
 
Method Summary
 ShoppingCategory addCategory(long parentCategoryId, String name, String description, ServiceContext serviceContext)
           
 void deleteCategory(long categoryId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 List<ShoppingCategory> getCategories(long groupId)
           
 List<ShoppingCategory> getCategories(long groupId, long parentCategoryId, int start, int end)
           
 int getCategoriesCount(long groupId, long parentCategoryId)
           
 ShoppingCategory getCategory(long categoryId)
           
 void getSubcategoryIds(List<Long> categoryIds, long groupId, long categoryId)
           
 ShoppingCategoryService getWrappedService()
           
 ShoppingCategoryService getWrappedShoppingCategoryService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedService(ShoppingCategoryService shoppingCategoryService)
           
 void setWrappedShoppingCategoryService(ShoppingCategoryService shoppingCategoryService)
          Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.shopping.service.ShoppingCategoryService)
 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

ShoppingCategoryServiceWrapper

public ShoppingCategoryServiceWrapper(ShoppingCategoryService shoppingCategoryService)
Method Detail

addCategory

public ShoppingCategory addCategory(long parentCategoryId,
                                    String name,
                                    String description,
                                    ServiceContext serviceContext)
                             throws PortalException
Specified by:
addCategory in interface ShoppingCategoryService
Throws:
PortalException

deleteCategory

public void deleteCategory(long categoryId)
                    throws PortalException
Specified by:
deleteCategory in interface ShoppingCategoryService
Throws:
PortalException

getBeanIdentifier

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

Specified by:
getBeanIdentifier in interface ShoppingCategoryService
Returns:
the Spring bean ID for this bean

getCategories

public List<ShoppingCategory> getCategories(long groupId)
Specified by:
getCategories in interface ShoppingCategoryService

getCategories

public List<ShoppingCategory> getCategories(long groupId,
                                            long parentCategoryId,
                                            int start,
                                            int end)
Specified by:
getCategories in interface ShoppingCategoryService

getCategoriesCount

public int getCategoriesCount(long groupId,
                              long parentCategoryId)
Specified by:
getCategoriesCount in interface ShoppingCategoryService

getCategory

public ShoppingCategory getCategory(long categoryId)
                             throws PortalException
Specified by:
getCategory in interface ShoppingCategoryService
Throws:
PortalException

getSubcategoryIds

public void getSubcategoryIds(List<Long> categoryIds,
                              long groupId,
                              long categoryId)
Specified by:
getSubcategoryIds in interface ShoppingCategoryService

setBeanIdentifier

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

Specified by:
setBeanIdentifier in interface ShoppingCategoryService
Parameters:
beanIdentifier - the Spring bean ID for this bean

updateCategory

public ShoppingCategory updateCategory(long categoryId,
                                       long parentCategoryId,
                                       String name,
                                       String description,
                                       boolean mergeWithParentCategory,
                                       ServiceContext serviceContext)
                                throws PortalException
Specified by:
updateCategory in interface ShoppingCategoryService
Throws:
PortalException

getWrappedShoppingCategoryService

@Deprecated
public ShoppingCategoryService getWrappedShoppingCategoryService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedShoppingCategoryService

@Deprecated
public void setWrappedShoppingCategoryService(ShoppingCategoryService shoppingCategoryService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.shopping.service.ShoppingCategoryService)


getWrappedService

public ShoppingCategoryService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<ShoppingCategoryService>

setWrappedService

public void setWrappedService(ShoppingCategoryService shoppingCategoryService)
Specified by:
setWrappedService in interface ServiceWrapper<ShoppingCategoryService>

Liferay 7.0-ce-m6