com.liferay.portlet.shopping.service.persistence
Interface ShoppingCategoryPersistence

All Superinterfaces:
BasePersistence<ShoppingCategory>

public interface ShoppingCategoryPersistence
extends BasePersistence<ShoppingCategory>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
ShoppingCategoryPersistenceImpl, ShoppingCategoryUtil
Generated:

Method Summary
 void cacheResult(java.util.List<ShoppingCategory> shoppingCategories)
           
 void cacheResult(ShoppingCategory shoppingCategory)
           
 int countAll()
           
 int countByG_P(long groupId, long parentCategoryId)
           
 int countByGroupId(long groupId)
           
 ShoppingCategory create(long categoryId)
           
 ShoppingCategory fetchByPrimaryKey(long categoryId)
           
 java.util.List<ShoppingCategory> findAll()
           
 java.util.List<ShoppingCategory> findAll(int start, int end)
           
 java.util.List<ShoppingCategory> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ShoppingCategory findByG_P_First(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ShoppingCategory findByG_P_Last(long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ShoppingCategory[] findByG_P_PrevAndNext(long categoryId, long groupId, long parentCategoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<ShoppingCategory> findByG_P(long groupId, long parentCategoryId)
           
 java.util.List<ShoppingCategory> findByG_P(long groupId, long parentCategoryId, int start, int end)
           
 java.util.List<ShoppingCategory> findByG_P(long groupId, long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ShoppingCategory findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ShoppingCategory findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ShoppingCategory[] findByGroupId_PrevAndNext(long categoryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<ShoppingCategory> findByGroupId(long groupId)
           
 java.util.List<ShoppingCategory> findByGroupId(long groupId, int start, int end)
           
 java.util.List<ShoppingCategory> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ShoppingCategory findByPrimaryKey(long categoryId)
           
 ShoppingCategory remove(long categoryId)
           
 void removeAll()
           
 void removeByG_P(long groupId, long parentCategoryId)
           
 void removeByGroupId(long groupId)
           
 ShoppingCategory updateImpl(ShoppingCategory shoppingCategory, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(ShoppingCategory shoppingCategory)

cacheResult

void cacheResult(java.util.List<ShoppingCategory> shoppingCategories)

create

ShoppingCategory create(long categoryId)

remove

ShoppingCategory remove(long categoryId)
                        throws com.liferay.portal.kernel.exception.SystemException,
                               NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

updateImpl

ShoppingCategory updateImpl(ShoppingCategory shoppingCategory,
                            boolean merge)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

ShoppingCategory findByPrimaryKey(long categoryId)
                                  throws com.liferay.portal.kernel.exception.SystemException,
                                         NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

fetchByPrimaryKey

ShoppingCategory fetchByPrimaryKey(long categoryId)
                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

java.util.List<ShoppingCategory> findByGroupId(long groupId)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

java.util.List<ShoppingCategory> findByGroupId(long groupId,
                                               int start,
                                               int end)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

java.util.List<ShoppingCategory> findByGroupId(long groupId,
                                               int start,
                                               int end,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId_First

ShoppingCategory findByGroupId_First(long groupId,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.kernel.exception.SystemException,
                                            NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByGroupId_Last

ShoppingCategory findByGroupId_Last(long groupId,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.kernel.exception.SystemException,
                                           NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByGroupId_PrevAndNext

ShoppingCategory[] findByGroupId_PrevAndNext(long categoryId,
                                             long groupId,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.kernel.exception.SystemException,
                                                    NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByG_P

java.util.List<ShoppingCategory> findByG_P(long groupId,
                                           long parentCategoryId)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_P

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

findByG_P

java.util.List<ShoppingCategory> findByG_P(long groupId,
                                           long parentCategoryId,
                                           int start,
                                           int end,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_P_First

ShoppingCategory findByG_P_First(long groupId,
                                 long parentCategoryId,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.kernel.exception.SystemException,
                                        NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByG_P_Last

ShoppingCategory findByG_P_Last(long groupId,
                                long parentCategoryId,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.kernel.exception.SystemException,
                                       NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findByG_P_PrevAndNext

ShoppingCategory[] findByG_P_PrevAndNext(long categoryId,
                                         long groupId,
                                         long parentCategoryId,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.kernel.exception.SystemException,
                                                NoSuchCategoryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchCategoryException

findAll

java.util.List<ShoppingCategory> findAll()
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<ShoppingCategory> findAll(int start,
                                         int end)
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<ShoppingCategory> findAll(int start,
                                         int end,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByGroupId

void removeByGroupId(long groupId)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByG_P

void removeByG_P(long groupId,
                 long parentCategoryId)
                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_P

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

countAll

int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException