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

All Superinterfaces:
BasePersistence<MBStatsUser>

public interface MBStatsUserPersistence
extends BasePersistence<MBStatsUser>

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:
MBStatsUserPersistenceImpl, MBStatsUserUtil
Generated:

Method Summary
 void cacheResult(java.util.List<MBStatsUser> mbStatsUsers)
           
 void cacheResult(MBStatsUser mbStatsUser)
           
 int countAll()
           
 int countByG_M(long groupId, int messageCount)
           
 int countByG_U(long groupId, long userId)
           
 int countByGroupId(long groupId)
           
 int countByUserId(long userId)
           
 MBStatsUser create(long statsUserId)
           
 MBStatsUser fetchByG_U(long groupId, long userId)
           
 MBStatsUser fetchByG_U(long groupId, long userId, boolean retrieveFromCache)
           
 MBStatsUser fetchByPrimaryKey(long statsUserId)
           
 java.util.List<MBStatsUser> findAll()
           
 java.util.List<MBStatsUser> findAll(int start, int end)
           
 java.util.List<MBStatsUser> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBStatsUser findByG_M_First(long groupId, int messageCount, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBStatsUser findByG_M_Last(long groupId, int messageCount, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBStatsUser[] findByG_M_PrevAndNext(long statsUserId, long groupId, int messageCount, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<MBStatsUser> findByG_M(long groupId, int messageCount)
           
 java.util.List<MBStatsUser> findByG_M(long groupId, int messageCount, int start, int end)
           
 java.util.List<MBStatsUser> findByG_M(long groupId, int messageCount, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBStatsUser findByG_U(long groupId, long userId)
           
 MBStatsUser findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBStatsUser findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBStatsUser[] findByGroupId_PrevAndNext(long statsUserId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<MBStatsUser> findByGroupId(long groupId)
           
 java.util.List<MBStatsUser> findByGroupId(long groupId, int start, int end)
           
 java.util.List<MBStatsUser> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBStatsUser findByPrimaryKey(long statsUserId)
           
 MBStatsUser findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBStatsUser findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBStatsUser[] findByUserId_PrevAndNext(long statsUserId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<MBStatsUser> findByUserId(long userId)
           
 java.util.List<MBStatsUser> findByUserId(long userId, int start, int end)
           
 java.util.List<MBStatsUser> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBStatsUser remove(long statsUserId)
           
 void removeAll()
           
 void removeByG_M(long groupId, int messageCount)
           
 void removeByG_U(long groupId, long userId)
           
 void removeByGroupId(long groupId)
           
 void removeByUserId(long userId)
           
 MBStatsUser update(MBStatsUser mbStatsUser)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 MBStatsUser updateImpl(MBStatsUser mbStatsUser, 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(MBStatsUser mbStatsUser)

cacheResult

void cacheResult(java.util.List<MBStatsUser> mbStatsUsers)

create

MBStatsUser create(long statsUserId)

remove

MBStatsUser remove(long statsUserId)
                   throws com.liferay.portal.SystemException,
                          NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

update

MBStatsUser update(MBStatsUser mbStatsUser)
                   throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

MBStatsUser updateImpl(MBStatsUser mbStatsUser,
                       boolean merge)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

MBStatsUser findByPrimaryKey(long statsUserId)
                             throws com.liferay.portal.SystemException,
                                    NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

fetchByPrimaryKey

MBStatsUser fetchByPrimaryKey(long statsUserId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

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

findByGroupId

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

findByGroupId

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

findByGroupId_First

MBStatsUser findByGroupId_First(long groupId,
                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                throws com.liferay.portal.SystemException,
                                       NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByGroupId_Last

MBStatsUser findByGroupId_Last(long groupId,
                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                               throws com.liferay.portal.SystemException,
                                      NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByGroupId_PrevAndNext

MBStatsUser[] findByGroupId_PrevAndNext(long statsUserId,
                                        long groupId,
                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByUserId

java.util.List<MBStatsUser> findByUserId(long userId)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

java.util.List<MBStatsUser> findByUserId(long userId,
                                         int start,
                                         int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

java.util.List<MBStatsUser> findByUserId(long userId,
                                         int start,
                                         int end,
                                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId_First

MBStatsUser findByUserId_First(long userId,
                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                               throws com.liferay.portal.SystemException,
                                      NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByUserId_Last

MBStatsUser findByUserId_Last(long userId,
                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                              throws com.liferay.portal.SystemException,
                                     NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByUserId_PrevAndNext

MBStatsUser[] findByUserId_PrevAndNext(long statsUserId,
                                       long userId,
                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByG_U

MBStatsUser findByG_U(long groupId,
                      long userId)
                      throws com.liferay.portal.SystemException,
                             NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

fetchByG_U

MBStatsUser fetchByG_U(long groupId,
                       long userId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByG_U

MBStatsUser fetchByG_U(long groupId,
                       long userId,
                       boolean retrieveFromCache)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_M

java.util.List<MBStatsUser> findByG_M(long groupId,
                                      int messageCount)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_M

java.util.List<MBStatsUser> findByG_M(long groupId,
                                      int messageCount,
                                      int start,
                                      int end)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_M

java.util.List<MBStatsUser> findByG_M(long groupId,
                                      int messageCount,
                                      int start,
                                      int end,
                                      com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_M_First

MBStatsUser findByG_M_First(long groupId,
                            int messageCount,
                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException,
                                   NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByG_M_Last

MBStatsUser findByG_M_Last(long groupId,
                           int messageCount,
                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                           throws com.liferay.portal.SystemException,
                                  NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByG_M_PrevAndNext

MBStatsUser[] findByG_M_PrevAndNext(long statsUserId,
                                    long groupId,
                                    int messageCount,
                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findAll

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

findAll

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

findAll

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

removeByGroupId

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

removeByUserId

void removeByUserId(long userId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_U

void removeByG_U(long groupId,
                 long userId)
                 throws com.liferay.portal.SystemException,
                        NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

removeByG_M

void removeByG_M(long groupId,
                 int messageCount)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countByGroupId

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

countByUserId

int countByUserId(long userId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_U

int countByG_U(long groupId,
               long userId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_M

int countByG_M(long groupId,
               int messageCount)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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