Class MBSuspiciousActivityUtil
com.liferay.message.boards.service.persistence.impl.MBSuspiciousActivityPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(MBSuspiciousActivity mbSuspiciousActivity) Caches the message boards suspicious activity in the entity cache if it is enabled.static voidcacheResult(List<MBSuspiciousActivity> mbSuspiciousActivities) Caches the message boards suspicious activities in the entity cache if it is enabled.static voidstatic voidclearCache(MBSuspiciousActivity mbSuspiciousActivity) static intcountAll()Returns the number of message boards suspicious activities.static intcountByMessageId(long messageId) Returns the number of message boards suspicious activities where messageId = ?.static intcountByThreadId(long threadId) Returns the number of message boards suspicious activities where threadId = ?.static intcountByU_M(long userId, long messageId) Returns the number of message boards suspicious activities where userId = ? and messageId = ?.static intcountByU_T(long userId, long threadId) Returns the number of message boards suspicious activities where userId = ? and threadId = ?.static intcountByUuid(String uuid) Returns the number of message boards suspicious activities where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of message boards suspicious activities where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of message boards suspicious activities where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static MBSuspiciousActivitycreate(long suspiciousActivityId) Creates a new message boards suspicious activity with the primary key.static MBSuspiciousActivityfetchByMessageId_First(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the first message boards suspicious activity in the ordered set where messageId = ?.static MBSuspiciousActivityfetchByMessageId_Last(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the last message boards suspicious activity in the ordered set where messageId = ?.static MBSuspiciousActivityfetchByPrimaryKey(long suspiciousActivityId) Returns the message boards suspicious activity with the primary key or returnsnullif it could not be found.static Map<Serializable,MBSuspiciousActivity> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static MBSuspiciousActivityfetchByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the first message boards suspicious activity in the ordered set where threadId = ?.static MBSuspiciousActivityfetchByThreadId_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the last message boards suspicious activity in the ordered set where threadId = ?.static MBSuspiciousActivityfetchByU_M(long userId, long messageId) Returns the message boards suspicious activity where userId = ? and messageId = ? or returnsnullif it could not be found.static MBSuspiciousActivityfetchByU_M(long userId, long messageId, boolean useFinderCache) Returns the message boards suspicious activity where userId = ? and messageId = ? or returnsnullif it could not be found, optionally using the finder cache.static MBSuspiciousActivityfetchByU_T(long userId, long threadId) Returns the message boards suspicious activity where userId = ? and threadId = ? or returnsnullif it could not be found.static MBSuspiciousActivityfetchByU_T(long userId, long threadId, boolean useFinderCache) Returns the message boards suspicious activity where userId = ? and threadId = ? or returnsnullif it could not be found, optionally using the finder cache.static MBSuspiciousActivityfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the first message boards suspicious activity in the ordered set where uuid = ? and companyId = ?.static MBSuspiciousActivityfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the last message boards suspicious activity in the ordered set where uuid = ? and companyId = ?.static MBSuspiciousActivityfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the first message boards suspicious activity in the ordered set where uuid = ?.static MBSuspiciousActivityfetchByUUID_G(String uuid, long groupId) Returns the message boards suspicious activity where uuid = ? and groupId = ? or returnsnullif it could not be found.static MBSuspiciousActivityfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the message boards suspicious activity where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static MBSuspiciousActivityfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the last message boards suspicious activity in the ordered set where uuid = ?.static List<MBSuspiciousActivity>findAll()Returns all the message boards suspicious activities.static List<MBSuspiciousActivity>findAll(int start, int end) Returns a range of all the message boards suspicious activities.static List<MBSuspiciousActivity>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns an ordered range of all the message boards suspicious activities.static List<MBSuspiciousActivity>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards suspicious activities.static List<MBSuspiciousActivity>findByMessageId(long messageId) Returns all the message boards suspicious activities where messageId = ?.static List<MBSuspiciousActivity>findByMessageId(long messageId, int start, int end) Returns a range of all the message boards suspicious activities where messageId = ?.static List<MBSuspiciousActivity>findByMessageId(long messageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns an ordered range of all the message boards suspicious activities where messageId = ?.static List<MBSuspiciousActivity>findByMessageId(long messageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards suspicious activities where messageId = ?.static MBSuspiciousActivityfindByMessageId_First(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the first message boards suspicious activity in the ordered set where messageId = ?.static MBSuspiciousActivityfindByMessageId_Last(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the last message boards suspicious activity in the ordered set where messageId = ?.static MBSuspiciousActivity[]findByMessageId_PrevAndNext(long suspiciousActivityId, long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the message boards suspicious activities before and after the current message boards suspicious activity in the ordered set where messageId = ?.static MBSuspiciousActivityfindByPrimaryKey(long suspiciousActivityId) Returns the message boards suspicious activity with the primary key or throws aNoSuchSuspiciousActivityExceptionif it could not be found.static List<MBSuspiciousActivity>findByThreadId(long threadId) Returns all the message boards suspicious activities where threadId = ?.static List<MBSuspiciousActivity>findByThreadId(long threadId, int start, int end) Returns a range of all the message boards suspicious activities where threadId = ?.static List<MBSuspiciousActivity>findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns an ordered range of all the message boards suspicious activities where threadId = ?.static List<MBSuspiciousActivity>findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards suspicious activities where threadId = ?.static MBSuspiciousActivityfindByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the first message boards suspicious activity in the ordered set where threadId = ?.static MBSuspiciousActivityfindByThreadId_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the last message boards suspicious activity in the ordered set where threadId = ?.static MBSuspiciousActivity[]findByThreadId_PrevAndNext(long suspiciousActivityId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the message boards suspicious activities before and after the current message boards suspicious activity in the ordered set where threadId = ?.static MBSuspiciousActivityfindByU_M(long userId, long messageId) Returns the message boards suspicious activity where userId = ? and messageId = ? or throws aNoSuchSuspiciousActivityExceptionif it could not be found.static MBSuspiciousActivityfindByU_T(long userId, long threadId) Returns the message boards suspicious activity where userId = ? and threadId = ? or throws aNoSuchSuspiciousActivityExceptionif it could not be found.static List<MBSuspiciousActivity>findByUuid(String uuid) Returns all the message boards suspicious activities where uuid = ?.static List<MBSuspiciousActivity>findByUuid(String uuid, int start, int end) Returns a range of all the message boards suspicious activities where uuid = ?.static List<MBSuspiciousActivity>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns an ordered range of all the message boards suspicious activities where uuid = ?.static List<MBSuspiciousActivity>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards suspicious activities where uuid = ?.static List<MBSuspiciousActivity>findByUuid_C(String uuid, long companyId) Returns all the message boards suspicious activities where uuid = ? and companyId = ?.static List<MBSuspiciousActivity>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the message boards suspicious activities where uuid = ? and companyId = ?.static List<MBSuspiciousActivity>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns an ordered range of all the message boards suspicious activities where uuid = ? and companyId = ?.static List<MBSuspiciousActivity>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards suspicious activities where uuid = ? and companyId = ?.static MBSuspiciousActivityfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the first message boards suspicious activity in the ordered set where uuid = ? and companyId = ?.static MBSuspiciousActivityfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the last message boards suspicious activity in the ordered set where uuid = ? and companyId = ?.static MBSuspiciousActivity[]findByUuid_C_PrevAndNext(long suspiciousActivityId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the message boards suspicious activities before and after the current message boards suspicious activity in the ordered set where uuid = ? and companyId = ?.static MBSuspiciousActivityfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the first message boards suspicious activity in the ordered set where uuid = ?.static MBSuspiciousActivityfindByUUID_G(String uuid, long groupId) Returns the message boards suspicious activity where uuid = ? and groupId = ? or throws aNoSuchSuspiciousActivityExceptionif it could not be found.static MBSuspiciousActivityfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the last message boards suspicious activity in the ordered set where uuid = ?.static MBSuspiciousActivity[]findByUuid_PrevAndNext(long suspiciousActivityId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the message boards suspicious activities before and after the current message boards suspicious activity in the ordered set where uuid = ?.static List<MBSuspiciousActivity>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<MBSuspiciousActivity>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<MBSuspiciousActivity>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) static MBSuspiciousActivityremove(long suspiciousActivityId) Removes the message boards suspicious activity with the primary key from the database.static voidRemoves all the message boards suspicious activities from the database.static voidremoveByMessageId(long messageId) Removes all the message boards suspicious activities where messageId = ? from the database.static voidremoveByThreadId(long threadId) Removes all the message boards suspicious activities where threadId = ? from the database.static MBSuspiciousActivityremoveByU_M(long userId, long messageId) Removes the message boards suspicious activity where userId = ? and messageId = ? from the database.static MBSuspiciousActivityremoveByU_T(long userId, long threadId) Removes the message boards suspicious activity where userId = ? and threadId = ? from the database.static voidremoveByUuid(String uuid) Removes all the message boards suspicious activities where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the message boards suspicious activities where uuid = ? and companyId = ? from the database.static MBSuspiciousActivityremoveByUUID_G(String uuid, long groupId) Removes the message boards suspicious activity where uuid = ? and groupId = ? from the database.static voidsetPersistence(MBSuspiciousActivityPersistence persistence) static MBSuspiciousActivityupdate(MBSuspiciousActivity mbSuspiciousActivity) static MBSuspiciousActivityupdate(MBSuspiciousActivity mbSuspiciousActivity, com.liferay.portal.kernel.service.ServiceContext serviceContext) static MBSuspiciousActivityupdateImpl(MBSuspiciousActivity mbSuspiciousActivity)
-
Constructor Details
-
MBSuspiciousActivityUtil
public MBSuspiciousActivityUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,MBSuspiciousActivity> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<MBSuspiciousActivity> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<MBSuspiciousActivity> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<MBSuspiciousActivity> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static MBSuspiciousActivity update(MBSuspiciousActivity mbSuspiciousActivity, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the message boards suspicious activities where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching message boards suspicious activities
-
findByUuid
Returns a range of all the message boards suspicious activities where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMBSuspiciousActivityModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of message boards suspicious activitiesend- the upper bound of the range of message boards suspicious activities (not inclusive)- Returns:
- the range of matching message boards suspicious activities
-
findByUuid
public static List<MBSuspiciousActivity> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns an ordered range of all the message boards suspicious activities where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMBSuspiciousActivityModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of message boards suspicious activitiesend- the upper bound of the range of message boards suspicious activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching message boards suspicious activities
-
findByUuid
public static List<MBSuspiciousActivity> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards suspicious activities where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMBSuspiciousActivityModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of message boards suspicious activitiesend- the upper bound of the range of message boards suspicious activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching message boards suspicious activities
-
findByUuid_First
public static MBSuspiciousActivity findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException Returns the first message boards suspicious activity in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching message boards suspicious activity
- Throws:
NoSuchSuspiciousActivityException- if a matching message boards suspicious activity could not be foundNoSuchSuspiciousActivityException
-
fetchByUuid_First
public static MBSuspiciousActivity fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the first message boards suspicious activity in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching message boards suspicious activity, or
nullif a matching message boards suspicious activity could not be found
-
findByUuid_Last
public static MBSuspiciousActivity findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException Returns the last message boards suspicious activity in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching message boards suspicious activity
- Throws:
NoSuchSuspiciousActivityException- if a matching message boards suspicious activity could not be foundNoSuchSuspiciousActivityException
-
fetchByUuid_Last
public static MBSuspiciousActivity fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the last message boards suspicious activity in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching message boards suspicious activity, or
nullif a matching message boards suspicious activity could not be found
-
findByUuid_PrevAndNext
public static MBSuspiciousActivity[] findByUuid_PrevAndNext(long suspiciousActivityId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException Returns the message boards suspicious activities before and after the current message boards suspicious activity in the ordered set where uuid = ?.- Parameters:
suspiciousActivityId- the primary key of the current message boards suspicious activityuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next message boards suspicious activity
- Throws:
NoSuchSuspiciousActivityException- if a message boards suspicious activity with the primary key could not be foundNoSuchSuspiciousActivityException
-
removeByUuid
Removes all the message boards suspicious activities where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of message boards suspicious activities where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching message boards suspicious activities
-
findByUUID_G
public static MBSuspiciousActivity findByUUID_G(String uuid, long groupId) throws NoSuchSuspiciousActivityException Returns the message boards suspicious activity where uuid = ? and groupId = ? or throws aNoSuchSuspiciousActivityExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching message boards suspicious activity
- Throws:
NoSuchSuspiciousActivityException- if a matching message boards suspicious activity could not be foundNoSuchSuspiciousActivityException
-
fetchByUUID_G
Returns the message boards suspicious activity where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching message boards suspicious activity, or
nullif a matching message boards suspicious activity could not be found
-
fetchByUUID_G
Returns the message boards suspicious activity where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching message boards suspicious activity, or
nullif a matching message boards suspicious activity could not be found
-
removeByUUID_G
public static MBSuspiciousActivity removeByUUID_G(String uuid, long groupId) throws NoSuchSuspiciousActivityException Removes the message boards suspicious activity where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the message boards suspicious activity that was removed
- Throws:
NoSuchSuspiciousActivityException
-
countByUUID_G
Returns the number of message boards suspicious activities where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching message boards suspicious activities
-
findByUuid_C
Returns all the message boards suspicious activities where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching message boards suspicious activities
-
findByUuid_C
public static List<MBSuspiciousActivity> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the message boards suspicious activities where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMBSuspiciousActivityModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of message boards suspicious activitiesend- the upper bound of the range of message boards suspicious activities (not inclusive)- Returns:
- the range of matching message boards suspicious activities
-
findByUuid_C
public static List<MBSuspiciousActivity> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns an ordered range of all the message boards suspicious activities where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMBSuspiciousActivityModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of message boards suspicious activitiesend- the upper bound of the range of message boards suspicious activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching message boards suspicious activities
-
findByUuid_C
public static List<MBSuspiciousActivity> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards suspicious activities where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMBSuspiciousActivityModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of message boards suspicious activitiesend- the upper bound of the range of message boards suspicious activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching message boards suspicious activities
-
findByUuid_C_First
public static MBSuspiciousActivity findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException Returns the first message boards suspicious activity in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching message boards suspicious activity
- Throws:
NoSuchSuspiciousActivityException- if a matching message boards suspicious activity could not be foundNoSuchSuspiciousActivityException
-
fetchByUuid_C_First
public static MBSuspiciousActivity fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the first message boards suspicious activity in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching message boards suspicious activity, or
nullif a matching message boards suspicious activity could not be found
-
findByUuid_C_Last
public static MBSuspiciousActivity findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException Returns the last message boards suspicious activity in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching message boards suspicious activity
- Throws:
NoSuchSuspiciousActivityException- if a matching message boards suspicious activity could not be foundNoSuchSuspiciousActivityException
-
fetchByUuid_C_Last
public static MBSuspiciousActivity fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the last message boards suspicious activity in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching message boards suspicious activity, or
nullif a matching message boards suspicious activity could not be found
-
findByUuid_C_PrevAndNext
public static MBSuspiciousActivity[] findByUuid_C_PrevAndNext(long suspiciousActivityId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException Returns the message boards suspicious activities before and after the current message boards suspicious activity in the ordered set where uuid = ? and companyId = ?.- Parameters:
suspiciousActivityId- the primary key of the current message boards suspicious activityuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next message boards suspicious activity
- Throws:
NoSuchSuspiciousActivityException- if a message boards suspicious activity with the primary key could not be foundNoSuchSuspiciousActivityException
-
removeByUuid_C
Removes all the message boards suspicious activities where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of message boards suspicious activities where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching message boards suspicious activities
-
findByMessageId
Returns all the message boards suspicious activities where messageId = ?.- Parameters:
messageId- the message ID- Returns:
- the matching message boards suspicious activities
-
findByMessageId
Returns a range of all the message boards suspicious activities where messageId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMBSuspiciousActivityModelImpl.- Parameters:
messageId- the message IDstart- the lower bound of the range of message boards suspicious activitiesend- the upper bound of the range of message boards suspicious activities (not inclusive)- Returns:
- the range of matching message boards suspicious activities
-
findByMessageId
public static List<MBSuspiciousActivity> findByMessageId(long messageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns an ordered range of all the message boards suspicious activities where messageId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMBSuspiciousActivityModelImpl.- Parameters:
messageId- the message IDstart- the lower bound of the range of message boards suspicious activitiesend- the upper bound of the range of message boards suspicious activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching message boards suspicious activities
-
findByMessageId
public static List<MBSuspiciousActivity> findByMessageId(long messageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards suspicious activities where messageId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMBSuspiciousActivityModelImpl.- Parameters:
messageId- the message IDstart- the lower bound of the range of message boards suspicious activitiesend- the upper bound of the range of message boards suspicious activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching message boards suspicious activities
-
findByMessageId_First
public static MBSuspiciousActivity findByMessageId_First(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException Returns the first message boards suspicious activity in the ordered set where messageId = ?.- Parameters:
messageId- the message IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching message boards suspicious activity
- Throws:
NoSuchSuspiciousActivityException- if a matching message boards suspicious activity could not be foundNoSuchSuspiciousActivityException
-
fetchByMessageId_First
public static MBSuspiciousActivity fetchByMessageId_First(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the first message boards suspicious activity in the ordered set where messageId = ?.- Parameters:
messageId- the message IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching message boards suspicious activity, or
nullif a matching message boards suspicious activity could not be found
-
findByMessageId_Last
public static MBSuspiciousActivity findByMessageId_Last(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException Returns the last message boards suspicious activity in the ordered set where messageId = ?.- Parameters:
messageId- the message IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching message boards suspicious activity
- Throws:
NoSuchSuspiciousActivityException- if a matching message boards suspicious activity could not be foundNoSuchSuspiciousActivityException
-
fetchByMessageId_Last
public static MBSuspiciousActivity fetchByMessageId_Last(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the last message boards suspicious activity in the ordered set where messageId = ?.- Parameters:
messageId- the message IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching message boards suspicious activity, or
nullif a matching message boards suspicious activity could not be found
-
findByMessageId_PrevAndNext
public static MBSuspiciousActivity[] findByMessageId_PrevAndNext(long suspiciousActivityId, long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException Returns the message boards suspicious activities before and after the current message boards suspicious activity in the ordered set where messageId = ?.- Parameters:
suspiciousActivityId- the primary key of the current message boards suspicious activitymessageId- the message IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next message boards suspicious activity
- Throws:
NoSuchSuspiciousActivityException- if a message boards suspicious activity with the primary key could not be foundNoSuchSuspiciousActivityException
-
removeByMessageId
public static void removeByMessageId(long messageId) Removes all the message boards suspicious activities where messageId = ? from the database.- Parameters:
messageId- the message ID
-
countByMessageId
public static int countByMessageId(long messageId) Returns the number of message boards suspicious activities where messageId = ?.- Parameters:
messageId- the message ID- Returns:
- the number of matching message boards suspicious activities
-
findByThreadId
Returns all the message boards suspicious activities where threadId = ?.- Parameters:
threadId- the thread ID- Returns:
- the matching message boards suspicious activities
-
findByThreadId
Returns a range of all the message boards suspicious activities where threadId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMBSuspiciousActivityModelImpl.- Parameters:
threadId- the thread IDstart- the lower bound of the range of message boards suspicious activitiesend- the upper bound of the range of message boards suspicious activities (not inclusive)- Returns:
- the range of matching message boards suspicious activities
-
findByThreadId
public static List<MBSuspiciousActivity> findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns an ordered range of all the message boards suspicious activities where threadId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMBSuspiciousActivityModelImpl.- Parameters:
threadId- the thread IDstart- the lower bound of the range of message boards suspicious activitiesend- the upper bound of the range of message boards suspicious activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching message boards suspicious activities
-
findByThreadId
public static List<MBSuspiciousActivity> findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards suspicious activities where threadId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMBSuspiciousActivityModelImpl.- Parameters:
threadId- the thread IDstart- the lower bound of the range of message boards suspicious activitiesend- the upper bound of the range of message boards suspicious activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching message boards suspicious activities
-
findByThreadId_First
public static MBSuspiciousActivity findByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException Returns the first message boards suspicious activity in the ordered set where threadId = ?.- Parameters:
threadId- the thread IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching message boards suspicious activity
- Throws:
NoSuchSuspiciousActivityException- if a matching message boards suspicious activity could not be foundNoSuchSuspiciousActivityException
-
fetchByThreadId_First
public static MBSuspiciousActivity fetchByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the first message boards suspicious activity in the ordered set where threadId = ?.- Parameters:
threadId- the thread IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching message boards suspicious activity, or
nullif a matching message boards suspicious activity could not be found
-
findByThreadId_Last
public static MBSuspiciousActivity findByThreadId_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException Returns the last message boards suspicious activity in the ordered set where threadId = ?.- Parameters:
threadId- the thread IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching message boards suspicious activity
- Throws:
NoSuchSuspiciousActivityException- if a matching message boards suspicious activity could not be foundNoSuchSuspiciousActivityException
-
fetchByThreadId_Last
public static MBSuspiciousActivity fetchByThreadId_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the last message boards suspicious activity in the ordered set where threadId = ?.- Parameters:
threadId- the thread IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching message boards suspicious activity, or
nullif a matching message boards suspicious activity could not be found
-
findByThreadId_PrevAndNext
public static MBSuspiciousActivity[] findByThreadId_PrevAndNext(long suspiciousActivityId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException Returns the message boards suspicious activities before and after the current message boards suspicious activity in the ordered set where threadId = ?.- Parameters:
suspiciousActivityId- the primary key of the current message boards suspicious activitythreadId- the thread IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next message boards suspicious activity
- Throws:
NoSuchSuspiciousActivityException- if a message boards suspicious activity with the primary key could not be foundNoSuchSuspiciousActivityException
-
removeByThreadId
public static void removeByThreadId(long threadId) Removes all the message boards suspicious activities where threadId = ? from the database.- Parameters:
threadId- the thread ID
-
countByThreadId
public static int countByThreadId(long threadId) Returns the number of message boards suspicious activities where threadId = ?.- Parameters:
threadId- the thread ID- Returns:
- the number of matching message boards suspicious activities
-
findByU_M
public static MBSuspiciousActivity findByU_M(long userId, long messageId) throws NoSuchSuspiciousActivityException Returns the message boards suspicious activity where userId = ? and messageId = ? or throws aNoSuchSuspiciousActivityExceptionif it could not be found.- Parameters:
userId- the user IDmessageId- the message ID- Returns:
- the matching message boards suspicious activity
- Throws:
NoSuchSuspiciousActivityException- if a matching message boards suspicious activity could not be foundNoSuchSuspiciousActivityException
-
fetchByU_M
Returns the message boards suspicious activity where userId = ? and messageId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
userId- the user IDmessageId- the message ID- Returns:
- the matching message boards suspicious activity, or
nullif a matching message boards suspicious activity could not be found
-
fetchByU_M
Returns the message boards suspicious activity where userId = ? and messageId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
userId- the user IDmessageId- the message IDuseFinderCache- whether to use the finder cache- Returns:
- the matching message boards suspicious activity, or
nullif a matching message boards suspicious activity could not be found
-
removeByU_M
public static MBSuspiciousActivity removeByU_M(long userId, long messageId) throws NoSuchSuspiciousActivityException Removes the message boards suspicious activity where userId = ? and messageId = ? from the database.- Parameters:
userId- the user IDmessageId- the message ID- Returns:
- the message boards suspicious activity that was removed
- Throws:
NoSuchSuspiciousActivityException
-
countByU_M
public static int countByU_M(long userId, long messageId) Returns the number of message boards suspicious activities where userId = ? and messageId = ?.- Parameters:
userId- the user IDmessageId- the message ID- Returns:
- the number of matching message boards suspicious activities
-
findByU_T
public static MBSuspiciousActivity findByU_T(long userId, long threadId) throws NoSuchSuspiciousActivityException Returns the message boards suspicious activity where userId = ? and threadId = ? or throws aNoSuchSuspiciousActivityExceptionif it could not be found.- Parameters:
userId- the user IDthreadId- the thread ID- Returns:
- the matching message boards suspicious activity
- Throws:
NoSuchSuspiciousActivityException- if a matching message boards suspicious activity could not be foundNoSuchSuspiciousActivityException
-
fetchByU_T
Returns the message boards suspicious activity where userId = ? and threadId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
userId- the user IDthreadId- the thread ID- Returns:
- the matching message boards suspicious activity, or
nullif a matching message boards suspicious activity could not be found
-
fetchByU_T
Returns the message boards suspicious activity where userId = ? and threadId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
userId- the user IDthreadId- the thread IDuseFinderCache- whether to use the finder cache- Returns:
- the matching message boards suspicious activity, or
nullif a matching message boards suspicious activity could not be found
-
removeByU_T
public static MBSuspiciousActivity removeByU_T(long userId, long threadId) throws NoSuchSuspiciousActivityException Removes the message boards suspicious activity where userId = ? and threadId = ? from the database.- Parameters:
userId- the user IDthreadId- the thread ID- Returns:
- the message boards suspicious activity that was removed
- Throws:
NoSuchSuspiciousActivityException
-
countByU_T
public static int countByU_T(long userId, long threadId) Returns the number of message boards suspicious activities where userId = ? and threadId = ?.- Parameters:
userId- the user IDthreadId- the thread ID- Returns:
- the number of matching message boards suspicious activities
-
cacheResult
Caches the message boards suspicious activity in the entity cache if it is enabled.- Parameters:
mbSuspiciousActivity- the message boards suspicious activity
-
cacheResult
Caches the message boards suspicious activities in the entity cache if it is enabled.- Parameters:
mbSuspiciousActivities- the message boards suspicious activities
-
create
Creates a new message boards suspicious activity with the primary key. Does not add the message boards suspicious activity to the database.- Parameters:
suspiciousActivityId- the primary key for the new message boards suspicious activity- Returns:
- the new message boards suspicious activity
-
remove
public static MBSuspiciousActivity remove(long suspiciousActivityId) throws NoSuchSuspiciousActivityException Removes the message boards suspicious activity with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
suspiciousActivityId- the primary key of the message boards suspicious activity- Returns:
- the message boards suspicious activity that was removed
- Throws:
NoSuchSuspiciousActivityException- if a message boards suspicious activity with the primary key could not be foundNoSuchSuspiciousActivityException
-
updateImpl
-
findByPrimaryKey
public static MBSuspiciousActivity findByPrimaryKey(long suspiciousActivityId) throws NoSuchSuspiciousActivityException Returns the message boards suspicious activity with the primary key or throws aNoSuchSuspiciousActivityExceptionif it could not be found.- Parameters:
suspiciousActivityId- the primary key of the message boards suspicious activity- Returns:
- the message boards suspicious activity
- Throws:
NoSuchSuspiciousActivityException- if a message boards suspicious activity with the primary key could not be foundNoSuchSuspiciousActivityException
-
fetchByPrimaryKey
Returns the message boards suspicious activity with the primary key or returnsnullif it could not be found.- Parameters:
suspiciousActivityId- the primary key of the message boards suspicious activity- Returns:
- the message boards suspicious activity, or
nullif a message boards suspicious activity with the primary key could not be found
-
findAll
Returns all the message boards suspicious activities.- Returns:
- the message boards suspicious activities
-
findAll
Returns a range of all the message boards suspicious activities.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMBSuspiciousActivityModelImpl.- Parameters:
start- the lower bound of the range of message boards suspicious activitiesend- the upper bound of the range of message boards suspicious activities (not inclusive)- Returns:
- the range of message boards suspicious activities
-
findAll
public static List<MBSuspiciousActivity> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns an ordered range of all the message boards suspicious activities.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMBSuspiciousActivityModelImpl.- Parameters:
start- the lower bound of the range of message boards suspicious activitiesend- the upper bound of the range of message boards suspicious activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of message boards suspicious activities
-
findAll
public static List<MBSuspiciousActivity> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache) Returns an ordered range of all the message boards suspicious activities.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromMBSuspiciousActivityModelImpl.- Parameters:
start- the lower bound of the range of message boards suspicious activitiesend- the upper bound of the range of message boards suspicious activities (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of message boards suspicious activities
-
removeAll
public static void removeAll()Removes all the message boards suspicious activities from the database. -
countAll
public static int countAll()Returns the number of message boards suspicious activities.- Returns:
- the number of message boards suspicious activities
-
getPersistence
-
setPersistence
-