com.liferay.portlet.messageboards.service.persistence
Class MBMessageFlagUtil
java.lang.Object
com.liferay.portlet.messageboards.service.persistence.MBMessageFlagUtil
public class MBMessageFlagUtil
- 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:
MBMessageFlagPersistence
,
MBMessageFlagPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(java.util.List<MBMessageFlag> mbMessageFlags)
|
static void |
cacheResult(MBMessageFlag mbMessageFlag)
|
static void |
clearCache()
|
static void |
clearCache(MBMessageFlag mbMessageFlag)
|
static int |
countAll()
|
static int |
countByM_F(long messageId,
int flag)
|
static int |
countByMessageId(long messageId)
|
static int |
countByT_F(long threadId,
int flag)
|
static int |
countByThreadId(long threadId)
|
static int |
countByU_M_F(long userId,
long messageId,
int flag)
|
static int |
countByU_T_F(long userId,
long threadId,
int flag)
|
static int |
countByUserId(long userId)
|
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static MBMessageFlag |
create(long messageFlagId)
|
static MBMessageFlag |
fetchByPrimaryKey(long messageFlagId)
|
static MBMessageFlag |
fetchByU_M_F(long userId,
long messageId,
int flag)
|
static MBMessageFlag |
fetchByU_M_F(long userId,
long messageId,
int flag,
boolean retrieveFromCache)
|
static java.util.List<MBMessageFlag> |
findAll()
|
static java.util.List<MBMessageFlag> |
findAll(int start,
int end)
|
static java.util.List<MBMessageFlag> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
static MBMessageFlag |
findByM_F_First(long messageId,
int flag,
OrderByComparator orderByComparator)
|
static MBMessageFlag |
findByM_F_Last(long messageId,
int flag,
OrderByComparator orderByComparator)
|
static MBMessageFlag[] |
findByM_F_PrevAndNext(long messageFlagId,
long messageId,
int flag,
OrderByComparator orderByComparator)
|
static java.util.List<MBMessageFlag> |
findByM_F(long messageId,
int flag)
|
static java.util.List<MBMessageFlag> |
findByM_F(long messageId,
int flag,
int start,
int end)
|
static java.util.List<MBMessageFlag> |
findByM_F(long messageId,
int flag,
int start,
int end,
OrderByComparator orderByComparator)
|
static MBMessageFlag |
findByMessageId_First(long messageId,
OrderByComparator orderByComparator)
|
static MBMessageFlag |
findByMessageId_Last(long messageId,
OrderByComparator orderByComparator)
|
static MBMessageFlag[] |
findByMessageId_PrevAndNext(long messageFlagId,
long messageId,
OrderByComparator orderByComparator)
|
static java.util.List<MBMessageFlag> |
findByMessageId(long messageId)
|
static java.util.List<MBMessageFlag> |
findByMessageId(long messageId,
int start,
int end)
|
static java.util.List<MBMessageFlag> |
findByMessageId(long messageId,
int start,
int end,
OrderByComparator orderByComparator)
|
static MBMessageFlag |
findByPrimaryKey(long messageFlagId)
|
static MBMessageFlag |
findByT_F_First(long threadId,
int flag,
OrderByComparator orderByComparator)
|
static MBMessageFlag |
findByT_F_Last(long threadId,
int flag,
OrderByComparator orderByComparator)
|
static MBMessageFlag[] |
findByT_F_PrevAndNext(long messageFlagId,
long threadId,
int flag,
OrderByComparator orderByComparator)
|
static java.util.List<MBMessageFlag> |
findByT_F(long threadId,
int flag)
|
static java.util.List<MBMessageFlag> |
findByT_F(long threadId,
int flag,
int start,
int end)
|
static java.util.List<MBMessageFlag> |
findByT_F(long threadId,
int flag,
int start,
int end,
OrderByComparator orderByComparator)
|
static MBMessageFlag |
findByThreadId_First(long threadId,
OrderByComparator orderByComparator)
|
static MBMessageFlag |
findByThreadId_Last(long threadId,
OrderByComparator orderByComparator)
|
static MBMessageFlag[] |
findByThreadId_PrevAndNext(long messageFlagId,
long threadId,
OrderByComparator orderByComparator)
|
static java.util.List<MBMessageFlag> |
findByThreadId(long threadId)
|
static java.util.List<MBMessageFlag> |
findByThreadId(long threadId,
int start,
int end)
|
static java.util.List<MBMessageFlag> |
findByThreadId(long threadId,
int start,
int end,
OrderByComparator orderByComparator)
|
static MBMessageFlag |
findByU_M_F(long userId,
long messageId,
int flag)
|
static MBMessageFlag |
findByU_T_F_First(long userId,
long threadId,
int flag,
OrderByComparator orderByComparator)
|
static MBMessageFlag |
findByU_T_F_Last(long userId,
long threadId,
int flag,
OrderByComparator orderByComparator)
|
static MBMessageFlag[] |
findByU_T_F_PrevAndNext(long messageFlagId,
long userId,
long threadId,
int flag,
OrderByComparator orderByComparator)
|
static java.util.List<MBMessageFlag> |
findByU_T_F(long userId,
long threadId,
int flag)
|
static java.util.List<MBMessageFlag> |
findByU_T_F(long userId,
long threadId,
int flag,
int start,
int end)
|
static java.util.List<MBMessageFlag> |
findByU_T_F(long userId,
long threadId,
int flag,
int start,
int end,
OrderByComparator orderByComparator)
|
static MBMessageFlag |
findByUserId_First(long userId,
OrderByComparator orderByComparator)
|
static MBMessageFlag |
findByUserId_Last(long userId,
OrderByComparator orderByComparator)
|
static MBMessageFlag[] |
findByUserId_PrevAndNext(long messageFlagId,
long userId,
OrderByComparator orderByComparator)
|
static java.util.List<MBMessageFlag> |
findByUserId(long userId)
|
static java.util.List<MBMessageFlag> |
findByUserId(long userId,
int start,
int end)
|
static java.util.List<MBMessageFlag> |
findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
|
static java.util.List<MBMessageFlag> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List<MBMessageFlag> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static MBMessageFlagPersistence |
getPersistence()
|
static MBMessageFlag |
remove(long messageFlagId)
|
static MBMessageFlag |
remove(MBMessageFlag mbMessageFlag)
|
static void |
removeAll()
|
static void |
removeByM_F(long messageId,
int flag)
|
static void |
removeByMessageId(long messageId)
|
static void |
removeByT_F(long threadId,
int flag)
|
static void |
removeByThreadId(long threadId)
|
static void |
removeByU_M_F(long userId,
long messageId,
int flag)
|
static void |
removeByU_T_F(long userId,
long threadId,
int flag)
|
static void |
removeByUserId(long userId)
|
void |
setPersistence(MBMessageFlagPersistence persistence)
|
static MBMessageFlag |
update(MBMessageFlag mbMessageFlag,
boolean merge)
|
static MBMessageFlag |
updateImpl(MBMessageFlag mbMessageFlag,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBMessageFlagUtil
public MBMessageFlagUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(MBMessageFlag mbMessageFlag)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(MBMessageFlag)
countWithDynamicQuery
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<MBMessageFlag> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<MBMessageFlag> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static MBMessageFlag remove(MBMessageFlag mbMessageFlag)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static MBMessageFlag update(MBMessageFlag mbMessageFlag,
boolean merge)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(MBMessageFlag mbMessageFlag)
cacheResult
public static void cacheResult(java.util.List<MBMessageFlag> mbMessageFlags)
create
public static MBMessageFlag create(long messageFlagId)
remove
public static MBMessageFlag remove(long messageFlagId)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
updateImpl
public static MBMessageFlag updateImpl(MBMessageFlag mbMessageFlag,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
public static MBMessageFlag findByPrimaryKey(long messageFlagId)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
fetchByPrimaryKey
public static MBMessageFlag fetchByPrimaryKey(long messageFlagId)
throws SystemException
- Throws:
SystemException
findByUserId
public static java.util.List<MBMessageFlag> findByUserId(long userId)
throws SystemException
- Throws:
SystemException
findByUserId
public static java.util.List<MBMessageFlag> findByUserId(long userId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByUserId
public static java.util.List<MBMessageFlag> findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByUserId_First
public static MBMessageFlag findByUserId_First(long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByUserId_Last
public static MBMessageFlag findByUserId_Last(long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByUserId_PrevAndNext
public static MBMessageFlag[] findByUserId_PrevAndNext(long messageFlagId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByThreadId
public static java.util.List<MBMessageFlag> findByThreadId(long threadId)
throws SystemException
- Throws:
SystemException
findByThreadId
public static java.util.List<MBMessageFlag> findByThreadId(long threadId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByThreadId
public static java.util.List<MBMessageFlag> findByThreadId(long threadId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByThreadId_First
public static MBMessageFlag findByThreadId_First(long threadId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByThreadId_Last
public static MBMessageFlag findByThreadId_Last(long threadId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByThreadId_PrevAndNext
public static MBMessageFlag[] findByThreadId_PrevAndNext(long messageFlagId,
long threadId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByMessageId
public static java.util.List<MBMessageFlag> findByMessageId(long messageId)
throws SystemException
- Throws:
SystemException
findByMessageId
public static java.util.List<MBMessageFlag> findByMessageId(long messageId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByMessageId
public static java.util.List<MBMessageFlag> findByMessageId(long messageId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByMessageId_First
public static MBMessageFlag findByMessageId_First(long messageId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByMessageId_Last
public static MBMessageFlag findByMessageId_Last(long messageId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByMessageId_PrevAndNext
public static MBMessageFlag[] findByMessageId_PrevAndNext(long messageFlagId,
long messageId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByT_F
public static java.util.List<MBMessageFlag> findByT_F(long threadId,
int flag)
throws SystemException
- Throws:
SystemException
findByT_F
public static java.util.List<MBMessageFlag> findByT_F(long threadId,
int flag,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByT_F
public static java.util.List<MBMessageFlag> findByT_F(long threadId,
int flag,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByT_F_First
public static MBMessageFlag findByT_F_First(long threadId,
int flag,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByT_F_Last
public static MBMessageFlag findByT_F_Last(long threadId,
int flag,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByT_F_PrevAndNext
public static MBMessageFlag[] findByT_F_PrevAndNext(long messageFlagId,
long threadId,
int flag,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByM_F
public static java.util.List<MBMessageFlag> findByM_F(long messageId,
int flag)
throws SystemException
- Throws:
SystemException
findByM_F
public static java.util.List<MBMessageFlag> findByM_F(long messageId,
int flag,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByM_F
public static java.util.List<MBMessageFlag> findByM_F(long messageId,
int flag,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByM_F_First
public static MBMessageFlag findByM_F_First(long messageId,
int flag,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByM_F_Last
public static MBMessageFlag findByM_F_Last(long messageId,
int flag,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByM_F_PrevAndNext
public static MBMessageFlag[] findByM_F_PrevAndNext(long messageFlagId,
long messageId,
int flag,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByU_T_F
public static java.util.List<MBMessageFlag> findByU_T_F(long userId,
long threadId,
int flag)
throws SystemException
- Throws:
SystemException
findByU_T_F
public static java.util.List<MBMessageFlag> findByU_T_F(long userId,
long threadId,
int flag,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByU_T_F
public static java.util.List<MBMessageFlag> findByU_T_F(long userId,
long threadId,
int flag,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByU_T_F_First
public static MBMessageFlag findByU_T_F_First(long userId,
long threadId,
int flag,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByU_T_F_Last
public static MBMessageFlag findByU_T_F_Last(long userId,
long threadId,
int flag,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByU_T_F_PrevAndNext
public static MBMessageFlag[] findByU_T_F_PrevAndNext(long messageFlagId,
long userId,
long threadId,
int flag,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
findByU_M_F
public static MBMessageFlag findByU_M_F(long userId,
long messageId,
int flag)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
fetchByU_M_F
public static MBMessageFlag fetchByU_M_F(long userId,
long messageId,
int flag)
throws SystemException
- Throws:
SystemException
fetchByU_M_F
public static MBMessageFlag fetchByU_M_F(long userId,
long messageId,
int flag,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findAll
public static java.util.List<MBMessageFlag> findAll()
throws SystemException
- Throws:
SystemException
findAll
public static java.util.List<MBMessageFlag> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
public static java.util.List<MBMessageFlag> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByUserId
public static void removeByUserId(long userId)
throws SystemException
- Throws:
SystemException
removeByThreadId
public static void removeByThreadId(long threadId)
throws SystemException
- Throws:
SystemException
removeByMessageId
public static void removeByMessageId(long messageId)
throws SystemException
- Throws:
SystemException
removeByT_F
public static void removeByT_F(long threadId,
int flag)
throws SystemException
- Throws:
SystemException
removeByM_F
public static void removeByM_F(long messageId,
int flag)
throws SystemException
- Throws:
SystemException
removeByU_T_F
public static void removeByU_T_F(long userId,
long threadId,
int flag)
throws SystemException
- Throws:
SystemException
removeByU_M_F
public static void removeByU_M_F(long userId,
long messageId,
int flag)
throws SystemException,
NoSuchMessageFlagException
- Throws:
SystemException
NoSuchMessageFlagException
removeAll
public static void removeAll()
throws SystemException
- Throws:
SystemException
countByUserId
public static int countByUserId(long userId)
throws SystemException
- Throws:
SystemException
countByThreadId
public static int countByThreadId(long threadId)
throws SystemException
- Throws:
SystemException
countByMessageId
public static int countByMessageId(long messageId)
throws SystemException
- Throws:
SystemException
countByT_F
public static int countByT_F(long threadId,
int flag)
throws SystemException
- Throws:
SystemException
countByM_F
public static int countByM_F(long messageId,
int flag)
throws SystemException
- Throws:
SystemException
countByU_T_F
public static int countByU_T_F(long userId,
long threadId,
int flag)
throws SystemException
- Throws:
SystemException
countByU_M_F
public static int countByU_M_F(long userId,
long messageId,
int flag)
throws SystemException
- Throws:
SystemException
countAll
public static int countAll()
throws SystemException
- Throws:
SystemException
getPersistence
public static MBMessageFlagPersistence getPersistence()
setPersistence
public void setPersistence(MBMessageFlagPersistence persistence)