|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MBMessageFlagPersistence
The persistence interface for the message boards message flag service.
Never modify or reference this interface directly. Always use MBMessageFlagUtil
to access the message boards message flag persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this interface.
Caching information and settings can be found in portal.properties
MBMessageFlagPersistenceImpl
,
MBMessageFlagUtil
Method Summary | |
---|---|
void |
cacheResult(List<MBMessageFlag> mbMessageFlags)
Caches the message boards message flags in the entity cache if it is enabled. |
void |
cacheResult(MBMessageFlag mbMessageFlag)
Caches the message boards message flag in the entity cache if it is enabled. |
int |
countAll()
Counts all the message boards message flags. |
int |
countByM_F(long messageId,
int flag)
Counts all the message boards message flags where messageId = ? and flag = ?. |
int |
countByMessageId(long messageId)
Counts all the message boards message flags where messageId = ?. |
int |
countByT_F(long threadId,
int flag)
Counts all the message boards message flags where threadId = ? and flag = ?. |
int |
countByThreadId(long threadId)
Counts all the message boards message flags where threadId = ?. |
int |
countByU_M_F(long userId,
long messageId,
int flag)
Counts all the message boards message flags where userId = ? and messageId = ? and flag = ?. |
int |
countByU_T_F(long userId,
long threadId,
int flag)
Counts all the message boards message flags where userId = ? and threadId = ? and flag = ?. |
int |
countByUserId(long userId)
Counts all the message boards message flags where userId = ?. |
MBMessageFlag |
create(long messageFlagId)
Creates a new message boards message flag with the primary key. |
MBMessageFlag |
fetchByPrimaryKey(long messageFlagId)
Finds the message boards message flag with the primary key or returns null if it could not be found. |
MBMessageFlag |
fetchByU_M_F(long userId,
long messageId,
int flag)
Finds the message boards message flag where userId = ? and messageId = ? and flag = ? or returns null if it could not be found. |
MBMessageFlag |
fetchByU_M_F(long userId,
long messageId,
int flag,
boolean retrieveFromCache)
Finds the message boards message flag where userId = ? and messageId = ? and flag = ? or returns null if it could not be found, optionally using the finder cache. |
List<MBMessageFlag> |
findAll()
Finds all the message boards message flags. |
List<MBMessageFlag> |
findAll(int start,
int end)
Finds a range of all the message boards message flags. |
List<MBMessageFlag> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards message flags. |
MBMessageFlag |
findByM_F_First(long messageId,
int flag,
OrderByComparator orderByComparator)
Finds the first message boards message flag in the ordered set where messageId = ? and flag = ?. |
MBMessageFlag |
findByM_F_Last(long messageId,
int flag,
OrderByComparator orderByComparator)
Finds the last message boards message flag in the ordered set where messageId = ? and flag = ?. |
MBMessageFlag[] |
findByM_F_PrevAndNext(long messageFlagId,
long messageId,
int flag,
OrderByComparator orderByComparator)
Finds the message boards message flags before and after the current message boards message flag in the ordered set where messageId = ? and flag = ?. |
List<MBMessageFlag> |
findByM_F(long messageId,
int flag)
Finds all the message boards message flags where messageId = ? and flag = ?. |
List<MBMessageFlag> |
findByM_F(long messageId,
int flag,
int start,
int end)
Finds a range of all the message boards message flags where messageId = ? and flag = ?. |
List<MBMessageFlag> |
findByM_F(long messageId,
int flag,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards message flags where messageId = ? and flag = ?. |
MBMessageFlag |
findByMessageId_First(long messageId,
OrderByComparator orderByComparator)
Finds the first message boards message flag in the ordered set where messageId = ?. |
MBMessageFlag |
findByMessageId_Last(long messageId,
OrderByComparator orderByComparator)
Finds the last message boards message flag in the ordered set where messageId = ?. |
MBMessageFlag[] |
findByMessageId_PrevAndNext(long messageFlagId,
long messageId,
OrderByComparator orderByComparator)
Finds the message boards message flags before and after the current message boards message flag in the ordered set where messageId = ?. |
List<MBMessageFlag> |
findByMessageId(long messageId)
Finds all the message boards message flags where messageId = ?. |
List<MBMessageFlag> |
findByMessageId(long messageId,
int start,
int end)
Finds a range of all the message boards message flags where messageId = ?. |
List<MBMessageFlag> |
findByMessageId(long messageId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards message flags where messageId = ?. |
MBMessageFlag |
findByPrimaryKey(long messageFlagId)
Finds the message boards message flag with the primary key or throws a NoSuchMessageFlagException if it could not be found. |
MBMessageFlag |
findByT_F_First(long threadId,
int flag,
OrderByComparator orderByComparator)
Finds the first message boards message flag in the ordered set where threadId = ? and flag = ?. |
MBMessageFlag |
findByT_F_Last(long threadId,
int flag,
OrderByComparator orderByComparator)
Finds the last message boards message flag in the ordered set where threadId = ? and flag = ?. |
MBMessageFlag[] |
findByT_F_PrevAndNext(long messageFlagId,
long threadId,
int flag,
OrderByComparator orderByComparator)
Finds the message boards message flags before and after the current message boards message flag in the ordered set where threadId = ? and flag = ?. |
List<MBMessageFlag> |
findByT_F(long threadId,
int flag)
Finds all the message boards message flags where threadId = ? and flag = ?. |
List<MBMessageFlag> |
findByT_F(long threadId,
int flag,
int start,
int end)
Finds a range of all the message boards message flags where threadId = ? and flag = ?. |
List<MBMessageFlag> |
findByT_F(long threadId,
int flag,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards message flags where threadId = ? and flag = ?. |
MBMessageFlag |
findByThreadId_First(long threadId,
OrderByComparator orderByComparator)
Finds the first message boards message flag in the ordered set where threadId = ?. |
MBMessageFlag |
findByThreadId_Last(long threadId,
OrderByComparator orderByComparator)
Finds the last message boards message flag in the ordered set where threadId = ?. |
MBMessageFlag[] |
findByThreadId_PrevAndNext(long messageFlagId,
long threadId,
OrderByComparator orderByComparator)
Finds the message boards message flags before and after the current message boards message flag in the ordered set where threadId = ?. |
List<MBMessageFlag> |
findByThreadId(long threadId)
Finds all the message boards message flags where threadId = ?. |
List<MBMessageFlag> |
findByThreadId(long threadId,
int start,
int end)
Finds a range of all the message boards message flags where threadId = ?. |
List<MBMessageFlag> |
findByThreadId(long threadId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards message flags where threadId = ?. |
MBMessageFlag |
findByU_M_F(long userId,
long messageId,
int flag)
Finds the message boards message flag where userId = ? and messageId = ? and flag = ? or throws a NoSuchMessageFlagException if it could not be found. |
MBMessageFlag |
findByU_T_F_First(long userId,
long threadId,
int flag,
OrderByComparator orderByComparator)
Finds the first message boards message flag in the ordered set where userId = ? and threadId = ? and flag = ?. |
MBMessageFlag |
findByU_T_F_Last(long userId,
long threadId,
int flag,
OrderByComparator orderByComparator)
Finds the last message boards message flag in the ordered set where userId = ? and threadId = ? and flag = ?. |
MBMessageFlag[] |
findByU_T_F_PrevAndNext(long messageFlagId,
long userId,
long threadId,
int flag,
OrderByComparator orderByComparator)
Finds the message boards message flags before and after the current message boards message flag in the ordered set where userId = ? and threadId = ? and flag = ?. |
List<MBMessageFlag> |
findByU_T_F(long userId,
long threadId,
int flag)
Finds all the message boards message flags where userId = ? and threadId = ? and flag = ?. |
List<MBMessageFlag> |
findByU_T_F(long userId,
long threadId,
int flag,
int start,
int end)
Finds a range of all the message boards message flags where userId = ? and threadId = ? and flag = ?. |
List<MBMessageFlag> |
findByU_T_F(long userId,
long threadId,
int flag,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards message flags where userId = ? and threadId = ? and flag = ?. |
MBMessageFlag |
findByUserId_First(long userId,
OrderByComparator orderByComparator)
Finds the first message boards message flag in the ordered set where userId = ?. |
MBMessageFlag |
findByUserId_Last(long userId,
OrderByComparator orderByComparator)
Finds the last message boards message flag in the ordered set where userId = ?. |
MBMessageFlag[] |
findByUserId_PrevAndNext(long messageFlagId,
long userId,
OrderByComparator orderByComparator)
Finds the message boards message flags before and after the current message boards message flag in the ordered set where userId = ?. |
List<MBMessageFlag> |
findByUserId(long userId)
Finds all the message boards message flags where userId = ?. |
List<MBMessageFlag> |
findByUserId(long userId,
int start,
int end)
Finds a range of all the message boards message flags where userId = ?. |
List<MBMessageFlag> |
findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the message boards message flags where userId = ?. |
MBMessageFlag |
remove(long messageFlagId)
Removes the message boards message flag with the primary key from the database. |
void |
removeAll()
Removes all the message boards message flags from the database. |
void |
removeByM_F(long messageId,
int flag)
Removes all the message boards message flags where messageId = ? and flag = ? from the database. |
void |
removeByMessageId(long messageId)
Removes all the message boards message flags where messageId = ? from the database. |
void |
removeByT_F(long threadId,
int flag)
Removes all the message boards message flags where threadId = ? and flag = ? from the database. |
void |
removeByThreadId(long threadId)
Removes all the message boards message flags where threadId = ? from the database. |
void |
removeByU_M_F(long userId,
long messageId,
int flag)
Removes the message boards message flag where userId = ? and messageId = ? and flag = ? from the database. |
void |
removeByU_T_F(long userId,
long threadId,
int flag)
Removes all the message boards message flags where userId = ? and threadId = ? and flag = ? from the database. |
void |
removeByUserId(long userId)
Removes all the message boards message flags where userId = ? from the database. |
MBMessageFlag |
updateImpl(MBMessageFlag mbMessageFlag,
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 |
---|
void cacheResult(MBMessageFlag mbMessageFlag)
mbMessageFlag
- the message boards message flag to cachevoid cacheResult(List<MBMessageFlag> mbMessageFlags)
mbMessageFlags
- the message boards message flags to cacheMBMessageFlag create(long messageFlagId)
messageFlagId
- the primary key for the new message boards message flag
MBMessageFlag remove(long messageFlagId) throws SystemException, NoSuchMessageFlagException
messageFlagId
- the primary key of the message boards message flag to remove
NoSuchMessageFlagException
- if a message boards message flag with the primary key could not be found
SystemException
- if a system exception occurredMBMessageFlag updateImpl(MBMessageFlag mbMessageFlag, boolean merge) throws SystemException
SystemException
MBMessageFlag findByPrimaryKey(long messageFlagId) throws SystemException, NoSuchMessageFlagException
NoSuchMessageFlagException
if it could not be found.
messageFlagId
- the primary key of the message boards message flag to find
NoSuchMessageFlagException
- if a message boards message flag with the primary key could not be found
SystemException
- if a system exception occurredMBMessageFlag fetchByPrimaryKey(long messageFlagId) throws SystemException
null
if it could not be found.
messageFlagId
- the primary key of the message boards message flag to find
null
if a message boards message flag with the primary key could not be found
SystemException
- if a system exception occurredList<MBMessageFlag> findByUserId(long userId) throws SystemException
userId
- the user id to search with
SystemException
- if a system exception occurredList<MBMessageFlag> findByUserId(long userId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
userId
- the user id to search withstart
- the lower bound of the range of message boards message flags to returnend
- the upper bound of the range of message boards message flags to return (not inclusive)
SystemException
- if a system exception occurredList<MBMessageFlag> findByUserId(long userId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
userId
- the user id to search withstart
- the lower bound of the range of message boards message flags to returnend
- the upper bound of the range of message boards message flags to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredMBMessageFlag findByUserId_First(long userId, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
userId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a matching message boards message flag could not be found
SystemException
- if a system exception occurredMBMessageFlag findByUserId_Last(long userId, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
userId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a matching message boards message flag could not be found
SystemException
- if a system exception occurredMBMessageFlag[] findByUserId_PrevAndNext(long messageFlagId, long userId, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
messageFlagId
- the primary key of the current message boards message flaguserId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a message boards message flag with the primary key could not be found
SystemException
- if a system exception occurredList<MBMessageFlag> findByThreadId(long threadId) throws SystemException
threadId
- the thread id to search with
SystemException
- if a system exception occurredList<MBMessageFlag> findByThreadId(long threadId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
threadId
- the thread id to search withstart
- the lower bound of the range of message boards message flags to returnend
- the upper bound of the range of message boards message flags to return (not inclusive)
SystemException
- if a system exception occurredList<MBMessageFlag> findByThreadId(long threadId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
threadId
- the thread id to search withstart
- the lower bound of the range of message boards message flags to returnend
- the upper bound of the range of message boards message flags to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredMBMessageFlag findByThreadId_First(long threadId, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
threadId
- the thread id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a matching message boards message flag could not be found
SystemException
- if a system exception occurredMBMessageFlag findByThreadId_Last(long threadId, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
threadId
- the thread id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a matching message boards message flag could not be found
SystemException
- if a system exception occurredMBMessageFlag[] findByThreadId_PrevAndNext(long messageFlagId, long threadId, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
messageFlagId
- the primary key of the current message boards message flagthreadId
- the thread id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a message boards message flag with the primary key could not be found
SystemException
- if a system exception occurredList<MBMessageFlag> findByMessageId(long messageId) throws SystemException
messageId
- the message id to search with
SystemException
- if a system exception occurredList<MBMessageFlag> findByMessageId(long messageId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
messageId
- the message id to search withstart
- the lower bound of the range of message boards message flags to returnend
- the upper bound of the range of message boards message flags to return (not inclusive)
SystemException
- if a system exception occurredList<MBMessageFlag> findByMessageId(long messageId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
messageId
- the message id to search withstart
- the lower bound of the range of message boards message flags to returnend
- the upper bound of the range of message boards message flags to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredMBMessageFlag findByMessageId_First(long messageId, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
messageId
- the message id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a matching message boards message flag could not be found
SystemException
- if a system exception occurredMBMessageFlag findByMessageId_Last(long messageId, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
messageId
- the message id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a matching message boards message flag could not be found
SystemException
- if a system exception occurredMBMessageFlag[] findByMessageId_PrevAndNext(long messageFlagId, long messageId, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
messageFlagId
- the primary key of the current message boards message flagmessageId
- the message id to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a message boards message flag with the primary key could not be found
SystemException
- if a system exception occurredList<MBMessageFlag> findByT_F(long threadId, int flag) throws SystemException
threadId
- the thread id to search withflag
- the flag to search with
SystemException
- if a system exception occurredList<MBMessageFlag> findByT_F(long threadId, int flag, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
threadId
- the thread id to search withflag
- the flag to search withstart
- the lower bound of the range of message boards message flags to returnend
- the upper bound of the range of message boards message flags to return (not inclusive)
SystemException
- if a system exception occurredList<MBMessageFlag> findByT_F(long threadId, int flag, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
threadId
- the thread id to search withflag
- the flag to search withstart
- the lower bound of the range of message boards message flags to returnend
- the upper bound of the range of message boards message flags to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredMBMessageFlag findByT_F_First(long threadId, int flag, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
threadId
- the thread id to search withflag
- the flag to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a matching message boards message flag could not be found
SystemException
- if a system exception occurredMBMessageFlag findByT_F_Last(long threadId, int flag, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
threadId
- the thread id to search withflag
- the flag to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a matching message boards message flag could not be found
SystemException
- if a system exception occurredMBMessageFlag[] findByT_F_PrevAndNext(long messageFlagId, long threadId, int flag, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
messageFlagId
- the primary key of the current message boards message flagthreadId
- the thread id to search withflag
- the flag to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a message boards message flag with the primary key could not be found
SystemException
- if a system exception occurredList<MBMessageFlag> findByM_F(long messageId, int flag) throws SystemException
messageId
- the message id to search withflag
- the flag to search with
SystemException
- if a system exception occurredList<MBMessageFlag> findByM_F(long messageId, int flag, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
messageId
- the message id to search withflag
- the flag to search withstart
- the lower bound of the range of message boards message flags to returnend
- the upper bound of the range of message boards message flags to return (not inclusive)
SystemException
- if a system exception occurredList<MBMessageFlag> findByM_F(long messageId, int flag, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
messageId
- the message id to search withflag
- the flag to search withstart
- the lower bound of the range of message boards message flags to returnend
- the upper bound of the range of message boards message flags to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredMBMessageFlag findByM_F_First(long messageId, int flag, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
messageId
- the message id to search withflag
- the flag to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a matching message boards message flag could not be found
SystemException
- if a system exception occurredMBMessageFlag findByM_F_Last(long messageId, int flag, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
messageId
- the message id to search withflag
- the flag to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a matching message boards message flag could not be found
SystemException
- if a system exception occurredMBMessageFlag[] findByM_F_PrevAndNext(long messageFlagId, long messageId, int flag, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
messageFlagId
- the primary key of the current message boards message flagmessageId
- the message id to search withflag
- the flag to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a message boards message flag with the primary key could not be found
SystemException
- if a system exception occurredList<MBMessageFlag> findByU_T_F(long userId, long threadId, int flag) throws SystemException
userId
- the user id to search withthreadId
- the thread id to search withflag
- the flag to search with
SystemException
- if a system exception occurredList<MBMessageFlag> findByU_T_F(long userId, long threadId, int flag, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
userId
- the user id to search withthreadId
- the thread id to search withflag
- the flag to search withstart
- the lower bound of the range of message boards message flags to returnend
- the upper bound of the range of message boards message flags to return (not inclusive)
SystemException
- if a system exception occurredList<MBMessageFlag> findByU_T_F(long userId, long threadId, int flag, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
userId
- the user id to search withthreadId
- the thread id to search withflag
- the flag to search withstart
- the lower bound of the range of message boards message flags to returnend
- the upper bound of the range of message boards message flags to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredMBMessageFlag findByU_T_F_First(long userId, long threadId, int flag, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
userId
- the user id to search withthreadId
- the thread id to search withflag
- the flag to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a matching message boards message flag could not be found
SystemException
- if a system exception occurredMBMessageFlag findByU_T_F_Last(long userId, long threadId, int flag, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
userId
- the user id to search withthreadId
- the thread id to search withflag
- the flag to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a matching message boards message flag could not be found
SystemException
- if a system exception occurredMBMessageFlag[] findByU_T_F_PrevAndNext(long messageFlagId, long userId, long threadId, int flag, OrderByComparator orderByComparator) throws SystemException, NoSuchMessageFlagException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
messageFlagId
- the primary key of the current message boards message flaguserId
- the user id to search withthreadId
- the thread id to search withflag
- the flag to search withorderByComparator
- the comparator to order the set by
NoSuchMessageFlagException
- if a message boards message flag with the primary key could not be found
SystemException
- if a system exception occurredMBMessageFlag findByU_M_F(long userId, long messageId, int flag) throws SystemException, NoSuchMessageFlagException
NoSuchMessageFlagException
if it could not be found.
userId
- the user id to search withmessageId
- the message id to search withflag
- the flag to search with
NoSuchMessageFlagException
- if a matching message boards message flag could not be found
SystemException
- if a system exception occurredMBMessageFlag fetchByU_M_F(long userId, long messageId, int flag) throws SystemException
null
if it could not be found. Uses the finder cache.
userId
- the user id to search withmessageId
- the message id to search withflag
- the flag to search with
null
if a matching message boards message flag could not be found
SystemException
- if a system exception occurredMBMessageFlag fetchByU_M_F(long userId, long messageId, int flag, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
userId
- the user id to search withmessageId
- the message id to search withflag
- the flag to search with
null
if a matching message boards message flag could not be found
SystemException
- if a system exception occurredList<MBMessageFlag> findAll() throws SystemException
SystemException
- if a system exception occurredList<MBMessageFlag> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
start
- the lower bound of the range of message boards message flags to returnend
- the upper bound of the range of message boards message flags to return (not inclusive)
SystemException
- if a system exception occurredList<MBMessageFlag> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
start
- the lower bound of the range of message boards message flags to returnend
- the upper bound of the range of message boards message flags to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredvoid removeByUserId(long userId) throws SystemException
userId
- the user id to search with
SystemException
- if a system exception occurredvoid removeByThreadId(long threadId) throws SystemException
threadId
- the thread id to search with
SystemException
- if a system exception occurredvoid removeByMessageId(long messageId) throws SystemException
messageId
- the message id to search with
SystemException
- if a system exception occurredvoid removeByT_F(long threadId, int flag) throws SystemException
threadId
- the thread id to search withflag
- the flag to search with
SystemException
- if a system exception occurredvoid removeByM_F(long messageId, int flag) throws SystemException
messageId
- the message id to search withflag
- the flag to search with
SystemException
- if a system exception occurredvoid removeByU_T_F(long userId, long threadId, int flag) throws SystemException
userId
- the user id to search withthreadId
- the thread id to search withflag
- the flag to search with
SystemException
- if a system exception occurredvoid removeByU_M_F(long userId, long messageId, int flag) throws SystemException, NoSuchMessageFlagException
userId
- the user id to search withmessageId
- the message id to search withflag
- the flag to search with
SystemException
- if a system exception occurred
NoSuchMessageFlagException
void removeAll() throws SystemException
SystemException
- if a system exception occurredint countByUserId(long userId) throws SystemException
userId
- the user id to search with
SystemException
- if a system exception occurredint countByThreadId(long threadId) throws SystemException
threadId
- the thread id to search with
SystemException
- if a system exception occurredint countByMessageId(long messageId) throws SystemException
messageId
- the message id to search with
SystemException
- if a system exception occurredint countByT_F(long threadId, int flag) throws SystemException
threadId
- the thread id to search withflag
- the flag to search with
SystemException
- if a system exception occurredint countByM_F(long messageId, int flag) throws SystemException
messageId
- the message id to search withflag
- the flag to search with
SystemException
- if a system exception occurredint countByU_T_F(long userId, long threadId, int flag) throws SystemException
userId
- the user id to search withthreadId
- the thread id to search withflag
- the flag to search with
SystemException
- if a system exception occurredint countByU_M_F(long userId, long messageId, int flag) throws SystemException
userId
- the user id to search withmessageId
- the message id to search withflag
- the flag to search with
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurred
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |