Liferay 6.0.3

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

All Superinterfaces:
BasePersistence<MBStatsUser>
All Known Implementing Classes:
MBStatsUserPersistenceImpl

public interface MBStatsUserPersistence
extends BasePersistence<MBStatsUser>

See Also:
MBStatsUserPersistenceImpl, MBStatsUserUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void cacheResult(List<MBStatsUser> mbStatsUsers)
           
 void cacheResult(MBStatsUser mbStatsUser)
           
 int countAll()
           
 int countByG_NotM(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)
           
 List<MBStatsUser> findAll()
           
 List<MBStatsUser> findAll(int start, int end)
           
 List<MBStatsUser> findAll(int start, int end, OrderByComparator orderByComparator)
           
 MBStatsUser findByG_NotM_First(long groupId, int messageCount, OrderByComparator orderByComparator)
           
 MBStatsUser findByG_NotM_Last(long groupId, int messageCount, OrderByComparator orderByComparator)
           
 MBStatsUser[] findByG_NotM_PrevAndNext(long statsUserId, long groupId, int messageCount, OrderByComparator orderByComparator)
           
 List<MBStatsUser> findByG_NotM(long groupId, int messageCount)
           
 List<MBStatsUser> findByG_NotM(long groupId, int messageCount, int start, int end)
           
 List<MBStatsUser> findByG_NotM(long groupId, int messageCount, int start, int end, OrderByComparator orderByComparator)
           
 MBStatsUser findByG_U(long groupId, long userId)
           
 MBStatsUser findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 MBStatsUser findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 MBStatsUser[] findByGroupId_PrevAndNext(long statsUserId, long groupId, OrderByComparator orderByComparator)
           
 List<MBStatsUser> findByGroupId(long groupId)
           
 List<MBStatsUser> findByGroupId(long groupId, int start, int end)
           
 List<MBStatsUser> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 MBStatsUser findByPrimaryKey(long statsUserId)
           
 MBStatsUser findByUserId_First(long userId, OrderByComparator orderByComparator)
           
 MBStatsUser findByUserId_Last(long userId, OrderByComparator orderByComparator)
           
 MBStatsUser[] findByUserId_PrevAndNext(long statsUserId, long userId, OrderByComparator orderByComparator)
           
 List<MBStatsUser> findByUserId(long userId)
           
 List<MBStatsUser> findByUserId(long userId, int start, int end)
           
 List<MBStatsUser> findByUserId(long userId, int start, int end, OrderByComparator orderByComparator)
           
 MBStatsUser remove(long statsUserId)
           
 void removeAll()
           
 void removeByG_NotM(long groupId, int messageCount)
           
 void removeByG_U(long groupId, long userId)
           
 void removeByGroupId(long groupId)
           
 void removeByUserId(long userId)
           
 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, update
 

Method Detail

cacheResult

void cacheResult(MBStatsUser mbStatsUser)

cacheResult

void cacheResult(List<MBStatsUser> mbStatsUsers)

create

MBStatsUser create(long statsUserId)

remove

MBStatsUser remove(long statsUserId)
                   throws SystemException,
                          NoSuchStatsUserException
Throws:
SystemException
NoSuchStatsUserException

updateImpl

MBStatsUser updateImpl(MBStatsUser mbStatsUser,
                       boolean merge)
                       throws SystemException
Throws:
SystemException

findByPrimaryKey

MBStatsUser findByPrimaryKey(long statsUserId)
                             throws SystemException,
                                    NoSuchStatsUserException
Throws:
SystemException
NoSuchStatsUserException

fetchByPrimaryKey

MBStatsUser fetchByPrimaryKey(long statsUserId)
                              throws SystemException
Throws:
SystemException

findByGroupId

List<MBStatsUser> findByGroupId(long groupId)
                                throws SystemException
Throws:
SystemException

findByGroupId

List<MBStatsUser> findByGroupId(long groupId,
                                int start,
                                int end)
                                throws SystemException
Throws:
SystemException

findByGroupId

List<MBStatsUser> findByGroupId(long groupId,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                                throws SystemException
Throws:
SystemException

findByGroupId_First

MBStatsUser findByGroupId_First(long groupId,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchStatsUserException
Throws:
SystemException
NoSuchStatsUserException

findByGroupId_Last

MBStatsUser findByGroupId_Last(long groupId,
                               OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchStatsUserException
Throws:
SystemException
NoSuchStatsUserException

findByGroupId_PrevAndNext

MBStatsUser[] findByGroupId_PrevAndNext(long statsUserId,
                                        long groupId,
                                        OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchStatsUserException
Throws:
SystemException
NoSuchStatsUserException

findByUserId

List<MBStatsUser> findByUserId(long userId)
                               throws SystemException
Throws:
SystemException

findByUserId

List<MBStatsUser> findByUserId(long userId,
                               int start,
                               int end)
                               throws SystemException
Throws:
SystemException

findByUserId

List<MBStatsUser> findByUserId(long userId,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
Throws:
SystemException

findByUserId_First

MBStatsUser findByUserId_First(long userId,
                               OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchStatsUserException
Throws:
SystemException
NoSuchStatsUserException

findByUserId_Last

MBStatsUser findByUserId_Last(long userId,
                              OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchStatsUserException
Throws:
SystemException
NoSuchStatsUserException

findByUserId_PrevAndNext

MBStatsUser[] findByUserId_PrevAndNext(long statsUserId,
                                       long userId,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchStatsUserException
Throws:
SystemException
NoSuchStatsUserException

findByG_U

MBStatsUser findByG_U(long groupId,
                      long userId)
                      throws SystemException,
                             NoSuchStatsUserException
Throws:
SystemException
NoSuchStatsUserException

fetchByG_U

MBStatsUser fetchByG_U(long groupId,
                       long userId)
                       throws SystemException
Throws:
SystemException

fetchByG_U

MBStatsUser fetchByG_U(long groupId,
                       long userId,
                       boolean retrieveFromCache)
                       throws SystemException
Throws:
SystemException

findByG_NotM

List<MBStatsUser> findByG_NotM(long groupId,
                               int messageCount)
                               throws SystemException
Throws:
SystemException

findByG_NotM

List<MBStatsUser> findByG_NotM(long groupId,
                               int messageCount,
                               int start,
                               int end)
                               throws SystemException
Throws:
SystemException

findByG_NotM

List<MBStatsUser> findByG_NotM(long groupId,
                               int messageCount,
                               int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
Throws:
SystemException

findByG_NotM_First

MBStatsUser findByG_NotM_First(long groupId,
                               int messageCount,
                               OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchStatsUserException
Throws:
SystemException
NoSuchStatsUserException

findByG_NotM_Last

MBStatsUser findByG_NotM_Last(long groupId,
                              int messageCount,
                              OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchStatsUserException
Throws:
SystemException
NoSuchStatsUserException

findByG_NotM_PrevAndNext

MBStatsUser[] findByG_NotM_PrevAndNext(long statsUserId,
                                       long groupId,
                                       int messageCount,
                                       OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchStatsUserException
Throws:
SystemException
NoSuchStatsUserException

findAll

List<MBStatsUser> findAll()
                          throws SystemException
Throws:
SystemException

findAll

List<MBStatsUser> findAll(int start,
                          int end)
                          throws SystemException
Throws:
SystemException

findAll

List<MBStatsUser> findAll(int start,
                          int end,
                          OrderByComparator orderByComparator)
                          throws SystemException
Throws:
SystemException

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Throws:
SystemException

removeByUserId

void removeByUserId(long userId)
                    throws SystemException
Throws:
SystemException

removeByG_U

void removeByG_U(long groupId,
                 long userId)
                 throws SystemException,
                        NoSuchStatsUserException
Throws:
SystemException
NoSuchStatsUserException

removeByG_NotM

void removeByG_NotM(long groupId,
                    int messageCount)
                    throws SystemException
Throws:
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Throws:
SystemException

countByUserId

int countByUserId(long userId)
                  throws SystemException
Throws:
SystemException

countByG_U

int countByG_U(long groupId,
               long userId)
               throws SystemException
Throws:
SystemException

countByG_NotM

int countByG_NotM(long groupId,
                  int messageCount)
                  throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

Liferay 6.0.3