com.liferay.portlet.messageboards.service.persistence
Interface MBCategoryPersistence

All Superinterfaces:
BasePersistence<MBCategory>

public interface MBCategoryPersistence
extends BasePersistence<MBCategory>

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:
MBCategoryPersistenceImpl, MBCategoryUtil
Generated:

Method Summary
 void cacheResult(java.util.List<MBCategory> mbCategories)
           
 void cacheResult(MBCategory mbCategory)
           
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByG_P(long groupId, long parentCategoryId)
           
 int countByGroupId(long groupId)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.String uuid)
           
 MBCategory create(long categoryId)
           
 MBCategory fetchByPrimaryKey(long categoryId)
           
 MBCategory fetchByUUID_G(java.lang.String uuid, long groupId)
           
 MBCategory fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
 int filterCountByG_P(long groupId, long parentCategoryId)
           
 int filterCountByGroupId(long groupId)
           
 java.util.List<MBCategory> filterFindByG_P(long groupId, long parentCategoryId)
           
 java.util.List<MBCategory> filterFindByG_P(long groupId, long parentCategoryId, int start, int end)
           
 java.util.List<MBCategory> filterFindByG_P(long groupId, long parentCategoryId, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<MBCategory> filterFindByGroupId(long groupId)
           
 java.util.List<MBCategory> filterFindByGroupId(long groupId, int start, int end)
           
 java.util.List<MBCategory> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<MBCategory> findAll()
           
 java.util.List<MBCategory> findAll(int start, int end)
           
 java.util.List<MBCategory> findAll(int start, int end, OrderByComparator orderByComparator)
           
 MBCategory findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 MBCategory findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 MBCategory[] findByCompanyId_PrevAndNext(long categoryId, long companyId, OrderByComparator orderByComparator)
           
 java.util.List<MBCategory> findByCompanyId(long companyId)
           
 java.util.List<MBCategory> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<MBCategory> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
           
 MBCategory findByG_P_First(long groupId, long parentCategoryId, OrderByComparator orderByComparator)
           
 MBCategory findByG_P_Last(long groupId, long parentCategoryId, OrderByComparator orderByComparator)
           
 MBCategory[] findByG_P_PrevAndNext(long categoryId, long groupId, long parentCategoryId, OrderByComparator orderByComparator)
           
 java.util.List<MBCategory> findByG_P(long groupId, long parentCategoryId)
           
 java.util.List<MBCategory> findByG_P(long groupId, long parentCategoryId, int start, int end)
           
 java.util.List<MBCategory> findByG_P(long groupId, long parentCategoryId, int start, int end, OrderByComparator orderByComparator)
           
 MBCategory findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 MBCategory findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 MBCategory[] findByGroupId_PrevAndNext(long categoryId, long groupId, OrderByComparator orderByComparator)
           
 java.util.List<MBCategory> findByGroupId(long groupId)
           
 java.util.List<MBCategory> findByGroupId(long groupId, int start, int end)
           
 java.util.List<MBCategory> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 MBCategory findByPrimaryKey(long categoryId)
           
 MBCategory findByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator)
           
 MBCategory findByUUID_G(java.lang.String uuid, long groupId)
           
 MBCategory findByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator)
           
 MBCategory[] findByUuid_PrevAndNext(long categoryId, java.lang.String uuid, OrderByComparator orderByComparator)
           
 java.util.List<MBCategory> findByUuid(java.lang.String uuid)
           
 java.util.List<MBCategory> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<MBCategory> findByUuid(java.lang.String uuid, int start, int end, OrderByComparator orderByComparator)
           
 MBCategory remove(long categoryId)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByG_P(long groupId, long parentCategoryId)
           
 void removeByGroupId(long groupId)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 MBCategory updateImpl(MBCategory mbCategory, 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(MBCategory mbCategory)

cacheResult

void cacheResult(java.util.List<MBCategory> mbCategories)

create

MBCategory create(long categoryId)

remove

MBCategory remove(long categoryId)
                  throws SystemException,
                         NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

updateImpl

MBCategory updateImpl(MBCategory mbCategory,
                      boolean merge)
                      throws SystemException
Throws:
SystemException

findByPrimaryKey

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

fetchByPrimaryKey

MBCategory fetchByPrimaryKey(long categoryId)
                             throws SystemException
Throws:
SystemException

findByUuid

java.util.List<MBCategory> findByUuid(java.lang.String uuid)
                                      throws SystemException
Throws:
SystemException

findByUuid

java.util.List<MBCategory> findByUuid(java.lang.String uuid,
                                      int start,
                                      int end)
                                      throws SystemException
Throws:
SystemException

findByUuid

java.util.List<MBCategory> findByUuid(java.lang.String uuid,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                                      throws SystemException
Throws:
SystemException

findByUuid_First

MBCategory findByUuid_First(java.lang.String uuid,
                            OrderByComparator orderByComparator)
                            throws SystemException,
                                   NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

findByUuid_Last

MBCategory findByUuid_Last(java.lang.String uuid,
                           OrderByComparator orderByComparator)
                           throws SystemException,
                                  NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

findByUuid_PrevAndNext

MBCategory[] findByUuid_PrevAndNext(long categoryId,
                                    java.lang.String uuid,
                                    OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

findByUUID_G

MBCategory findByUUID_G(java.lang.String uuid,
                        long groupId)
                        throws SystemException,
                               NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

fetchByUUID_G

MBCategory fetchByUUID_G(java.lang.String uuid,
                         long groupId)
                         throws SystemException
Throws:
SystemException

fetchByUUID_G

MBCategory fetchByUUID_G(java.lang.String uuid,
                         long groupId,
                         boolean retrieveFromCache)
                         throws SystemException
Throws:
SystemException

findByGroupId

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

findByGroupId

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

findByGroupId

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

findByGroupId_First

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

findByGroupId_Last

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

findByGroupId_PrevAndNext

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

filterFindByGroupId

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

filterFindByGroupId

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

filterFindByGroupId

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

findByCompanyId

java.util.List<MBCategory> findByCompanyId(long companyId)
                                           throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<MBCategory> findByCompanyId(long companyId,
                                           int start,
                                           int end)
                                           throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<MBCategory> findByCompanyId(long companyId,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                           throws SystemException
Throws:
SystemException

findByCompanyId_First

MBCategory findByCompanyId_First(long companyId,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

findByCompanyId_Last

MBCategory findByCompanyId_Last(long companyId,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

findByCompanyId_PrevAndNext

MBCategory[] findByCompanyId_PrevAndNext(long categoryId,
                                         long companyId,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

findByG_P

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

findByG_P

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

findByG_P

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

findByG_P_First

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

findByG_P_Last

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

findByG_P_PrevAndNext

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

filterFindByG_P

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

filterFindByG_P

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

filterFindByG_P

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

findAll

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

findAll

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

findAll

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

removeByUuid

void removeByUuid(java.lang.String uuid)
                  throws SystemException
Throws:
SystemException

removeByUUID_G

void removeByUUID_G(java.lang.String uuid,
                    long groupId)
                    throws SystemException,
                           NoSuchCategoryException
Throws:
SystemException
NoSuchCategoryException

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Throws:
SystemException

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws SystemException
Throws:
SystemException

removeByG_P

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

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByUuid

int countByUuid(java.lang.String uuid)
                throws SystemException
Throws:
SystemException

countByUUID_G

int countByUUID_G(java.lang.String uuid,
                  long groupId)
                  throws SystemException
Throws:
SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Throws:
SystemException

filterCountByGroupId

int filterCountByGroupId(long groupId)
                         throws SystemException
Throws:
SystemException

countByCompanyId

int countByCompanyId(long companyId)
                     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