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)
           
 int filterCountByG_P(long groupId, long parentCategoryId)
           
 int filterCountByGroupId(long groupId)
           
 java.util.List<ShoppingCategory> filterFindByG_P(long groupId, long parentCategoryId)
           
 java.util.List<ShoppingCategory> filterFindByG_P(long groupId, long parentCategoryId, int start, int end)
           
 java.util.List<ShoppingCategory> filterFindByG_P(long groupId, long parentCategoryId, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<ShoppingCategory> filterFindByGroupId(long groupId)
           
 java.util.List<ShoppingCategory> filterFindByGroupId(long groupId, int start, int end)
           
 java.util.List<ShoppingCategory> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<ShoppingCategory> findAll()
           
 java.util.List<ShoppingCategory> findAll(int start, int end)
           
 java.util.List<ShoppingCategory> findAll(int start, int end, OrderByComparator orderByComparator)
           
 ShoppingCategory findByG_P_First(long groupId, long parentCategoryId, OrderByComparator orderByComparator)
           
 ShoppingCategory findByG_P_Last(long groupId, long parentCategoryId, OrderByComparator orderByComparator)
           
 ShoppingCategory[] findByG_P_PrevAndNext(long categoryId, long groupId, long parentCategoryId, OrderByComparator orderByComparator)
           
 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, OrderByComparator orderByComparator)
           
 ShoppingCategory findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 ShoppingCategory findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 ShoppingCategory[] findByGroupId_PrevAndNext(long categoryId, long groupId, OrderByComparator orderByComparator)
           
 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, OrderByComparator orderByComparator)
           
 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, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, 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 SystemException,
                               NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

updateImpl

ShoppingCategory updateImpl(ShoppingCategory shoppingCategory,
                            boolean merge)
                            throws SystemException
Throws:
SystemException

findByPrimaryKey

ShoppingCategory findByPrimaryKey(long categoryId)
                                  throws SystemException,
                                         NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

fetchByPrimaryKey

ShoppingCategory fetchByPrimaryKey(long categoryId)
                                   throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<ShoppingCategory> findByGroupId(long groupId)
                                               throws SystemException
Throws:
SystemException

findByGroupId

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

findByGroupId

java.util.List<ShoppingCategory> findByGroupId(long groupId,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                               throws SystemException
Throws:
SystemException

findByGroupId_First

ShoppingCategory findByGroupId_First(long groupId,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

findByGroupId_Last

ShoppingCategory findByGroupId_Last(long groupId,
                                    OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

findByGroupId_PrevAndNext

ShoppingCategory[] findByGroupId_PrevAndNext(long categoryId,
                                             long groupId,
                                             OrderByComparator orderByComparator)
                                             throws SystemException,
                                                    NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

filterFindByGroupId

java.util.List<ShoppingCategory> filterFindByGroupId(long groupId)
                                                     throws SystemException
Throws:
SystemException

filterFindByGroupId

java.util.List<ShoppingCategory> filterFindByGroupId(long groupId,
                                                     int start,
                                                     int end)
                                                     throws SystemException
Throws:
SystemException

filterFindByGroupId

java.util.List<ShoppingCategory> filterFindByGroupId(long groupId,
                                                     int start,
                                                     int end,
                                                     OrderByComparator orderByComparator)
                                                     throws SystemException
Throws:
SystemException

findByG_P

java.util.List<ShoppingCategory> findByG_P(long groupId,
                                           long parentCategoryId)
                                           throws SystemException
Throws:
SystemException

findByG_P

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

findByG_P

java.util.List<ShoppingCategory> findByG_P(long groupId,
                                           long parentCategoryId,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                           throws SystemException
Throws:
SystemException

findByG_P_First

ShoppingCategory findByG_P_First(long groupId,
                                 long parentCategoryId,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

findByG_P_Last

ShoppingCategory findByG_P_Last(long groupId,
                                long parentCategoryId,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

findByG_P_PrevAndNext

ShoppingCategory[] findByG_P_PrevAndNext(long categoryId,
                                         long groupId,
                                         long parentCategoryId,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

filterFindByG_P

java.util.List<ShoppingCategory> filterFindByG_P(long groupId,
                                                 long parentCategoryId)
                                                 throws SystemException
Throws:
SystemException

filterFindByG_P

java.util.List<ShoppingCategory> filterFindByG_P(long groupId,
                                                 long parentCategoryId,
                                                 int start,
                                                 int end)
                                                 throws SystemException
Throws:
SystemException

filterFindByG_P

java.util.List<ShoppingCategory> filterFindByG_P(long groupId,
                                                 long parentCategoryId,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                                 throws SystemException
Throws:
SystemException

findAll

java.util.List<ShoppingCategory> findAll()
                                         throws SystemException
Throws:
SystemException

findAll

java.util.List<ShoppingCategory> findAll(int start,
                                         int end)
                                         throws SystemException
Throws:
SystemException

findAll

java.util.List<ShoppingCategory> findAll(int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                         throws SystemException
Throws:
SystemException

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Throws:
SystemException

removeByG_P

void removeByG_P(long groupId,
                 long parentCategoryId)
                 throws SystemException
Throws:
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Throws:
SystemException

filterCountByGroupId

int filterCountByGroupId(long groupId)
                         throws SystemException
Throws:
SystemException

countByG_P

int countByG_P(long groupId,
               long parentCategoryId)
               throws SystemException
Throws:
SystemException

filterCountByG_P

int filterCountByG_P(long groupId,
                     long parentCategoryId)
                     throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException