com.liferay.portlet.messageboards.service.persistence
Class MBStatsUserUtil
java.lang.Object
com.liferay.portlet.messageboards.service.persistence.MBStatsUserUtil
public class MBStatsUserUtil
- extends java.lang.Object
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:
MBStatsUserPersistence
,
MBStatsUserPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(java.util.List<MBStatsUser> mbStatsUsers)
|
static void |
cacheResult(MBStatsUser mbStatsUser)
|
static void |
clearCache()
|
static int |
countAll()
|
static int |
countByG_M(long groupId,
int messageCount)
|
static int |
countByG_U(long groupId,
long userId)
|
static int |
countByGroupId(long groupId)
|
static int |
countByUserId(long userId)
|
static MBStatsUser |
create(long statsUserId)
|
static MBStatsUser |
fetchByG_U(long groupId,
long userId)
|
static MBStatsUser |
fetchByG_U(long groupId,
long userId,
boolean retrieveFromCache)
|
static MBStatsUser |
fetchByPrimaryKey(long statsUserId)
|
static java.util.List<MBStatsUser> |
findAll()
|
static java.util.List<MBStatsUser> |
findAll(int start,
int end)
|
static java.util.List<MBStatsUser> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static MBStatsUser |
findByG_M_First(long groupId,
int messageCount,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static MBStatsUser |
findByG_M_Last(long groupId,
int messageCount,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static MBStatsUser[] |
findByG_M_PrevAndNext(long statsUserId,
long groupId,
int messageCount,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<MBStatsUser> |
findByG_M(long groupId,
int messageCount)
|
static java.util.List<MBStatsUser> |
findByG_M(long groupId,
int messageCount,
int start,
int end)
|
static java.util.List<MBStatsUser> |
findByG_M(long groupId,
int messageCount,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static MBStatsUser |
findByG_U(long groupId,
long userId)
|
static MBStatsUser |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static MBStatsUser |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static MBStatsUser[] |
findByGroupId_PrevAndNext(long statsUserId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<MBStatsUser> |
findByGroupId(long groupId)
|
static java.util.List<MBStatsUser> |
findByGroupId(long groupId,
int start,
int end)
|
static java.util.List<MBStatsUser> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static MBStatsUser |
findByPrimaryKey(long statsUserId)
|
static MBStatsUser |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static MBStatsUser |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static MBStatsUser[] |
findByUserId_PrevAndNext(long statsUserId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<MBStatsUser> |
findByUserId(long userId)
|
static java.util.List<MBStatsUser> |
findByUserId(long userId,
int start,
int end)
|
static java.util.List<MBStatsUser> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static MBStatsUserPersistence |
getPersistence()
|
static MBStatsUser |
remove(long statsUserId)
|
static MBStatsUser |
remove(MBStatsUser mbStatsUser)
|
static void |
removeAll()
|
static void |
removeByG_M(long groupId,
int messageCount)
|
static void |
removeByG_U(long groupId,
long userId)
|
static void |
removeByGroupId(long groupId)
|
static void |
removeByUserId(long userId)
|
void |
setPersistence(MBStatsUserPersistence persistence)
|
static MBStatsUser |
update(MBStatsUser mbStatsUser,
boolean merge)
|
static MBStatsUser |
updateImpl(MBStatsUser mbStatsUser,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBStatsUserUtil
public MBStatsUserUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static MBStatsUser remove(MBStatsUser mbStatsUser)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static MBStatsUser update(MBStatsUser mbStatsUser,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(MBStatsUser mbStatsUser)
cacheResult
public static void cacheResult(java.util.List<MBStatsUser> mbStatsUsers)
create
public static MBStatsUser create(long statsUserId)
remove
public static MBStatsUser remove(long statsUserId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchStatsUserException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchStatsUserException
updateImpl
public static MBStatsUser updateImpl(MBStatsUser mbStatsUser,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
public static MBStatsUser findByPrimaryKey(long statsUserId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchStatsUserException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchStatsUserException
fetchByPrimaryKey
public static MBStatsUser fetchByPrimaryKey(long statsUserId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<MBStatsUser> findByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<MBStatsUser> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<MBStatsUser> 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
public static MBStatsUser findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchStatsUserException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchStatsUserException
findByGroupId_Last
public static MBStatsUser findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchStatsUserException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchStatsUserException
findByGroupId_PrevAndNext
public static MBStatsUser[] findByGroupId_PrevAndNext(long statsUserId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchStatsUserException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchStatsUserException
findByUserId
public static java.util.List<MBStatsUser> findByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId
public static java.util.List<MBStatsUser> findByUserId(long userId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId
public static java.util.List<MBStatsUser> findByUserId(long userId,
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
findByUserId_First
public static MBStatsUser findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchStatsUserException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchStatsUserException
findByUserId_Last
public static MBStatsUser findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchStatsUserException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchStatsUserException
findByUserId_PrevAndNext
public static MBStatsUser[] findByUserId_PrevAndNext(long statsUserId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchStatsUserException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchStatsUserException
findByG_U
public static MBStatsUser findByG_U(long groupId,
long userId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchStatsUserException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchStatsUserException
fetchByG_U
public static MBStatsUser fetchByG_U(long groupId,
long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByG_U
public static MBStatsUser fetchByG_U(long groupId,
long userId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_M
public static java.util.List<MBStatsUser> findByG_M(long groupId,
int messageCount)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_M
public static java.util.List<MBStatsUser> findByG_M(long groupId,
int messageCount,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_M
public static java.util.List<MBStatsUser> findByG_M(long groupId,
int messageCount,
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_M_First
public static MBStatsUser findByG_M_First(long groupId,
int messageCount,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchStatsUserException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchStatsUserException
findByG_M_Last
public static MBStatsUser findByG_M_Last(long groupId,
int messageCount,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchStatsUserException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchStatsUserException
findByG_M_PrevAndNext
public static MBStatsUser[] findByG_M_PrevAndNext(long statsUserId,
long groupId,
int messageCount,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchStatsUserException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchStatsUserException
findAll
public static java.util.List<MBStatsUser> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<MBStatsUser> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<MBStatsUser> 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
public static void removeByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByUserId
public static void removeByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByG_U
public static void removeByG_U(long groupId,
long userId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchStatsUserException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchStatsUserException
removeByG_M
public static void removeByG_M(long groupId,
int messageCount)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByGroupId
public static int countByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByUserId
public static int countByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByG_U
public static int countByG_U(long groupId,
long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByG_M
public static int countByG_M(long groupId,
int messageCount)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
public static int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getPersistence
public static MBStatsUserPersistence getPersistence()
setPersistence
public void setPersistence(MBStatsUserPersistence persistence)