Interface MBSuspiciousActivityPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<MBSuspiciousActivity>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBSuspiciousActivity>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(MBSuspiciousActivity mbSuspiciousActivity) Caches the message boards suspicious activity in the entity cache if it is enabled.void
cacheResult
(List<MBSuspiciousActivity> mbSuspiciousActivities) Caches the message boards suspicious activities in the entity cache if it is enabled.int
countAll()
Returns the number of message boards suspicious activities.int
countByMessageId
(long messageId) Returns the number of message boards suspicious activities where messageId = ?.int
countByThreadId
(long threadId) Returns the number of message boards suspicious activities where threadId = ?.int
countByU_M
(long userId, long messageId) Returns the number of message boards suspicious activities where userId = ? and messageId = ?.int
countByU_T
(long userId, long threadId) Returns the number of message boards suspicious activities where userId = ? and threadId = ?.int
countByUuid
(String uuid) Returns the number of message boards suspicious activities where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of message boards suspicious activities where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of message boards suspicious activities where uuid = ? and groupId = ?.create
(long suspiciousActivityId) Creates a new message boards suspicious activity with the primary key.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 = ?.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 = ?.fetchByPrimaryKey
(long suspiciousActivityId) Returns the message boards suspicious activity with the primary key or returnsnull
if it could not be found.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 = ?.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 = ?.fetchByU_M
(long userId, long messageId) Returns the message boards suspicious activity where userId = ? and messageId = ? or returnsnull
if it could not be found.fetchByU_M
(long userId, long messageId, boolean useFinderCache) Returns the message boards suspicious activity where userId = ? and messageId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByU_T
(long userId, long threadId) Returns the message boards suspicious activity where userId = ? and threadId = ? or returnsnull
if it could not be found.fetchByU_T
(long userId, long threadId, boolean useFinderCache) Returns the message boards suspicious activity where userId = ? and threadId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.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 = ?.fetchByUUID_G
(String uuid, long groupId) Returns the message boards suspicious activity where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the message boards suspicious activity where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.findAll()
Returns all the message boards suspicious activities.findAll
(int start, int end) Returns a range of all the message boards suspicious activities.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns an ordered range of all the message boards suspicious activities.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.findByMessageId
(long messageId) Returns all the message boards suspicious activities where messageId = ?.findByMessageId
(long messageId, int start, int end) Returns a range of all the message boards suspicious activities where messageId = ?.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 = ?.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 = ?.findByMessageId_First
(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the first message boards suspicious activity in the ordered set where messageId = ?.findByMessageId_Last
(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the last message boards suspicious activity in the ordered set where messageId = ?.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 = ?.findByPrimaryKey
(long suspiciousActivityId) Returns the message boards suspicious activity with the primary key or throws aNoSuchSuspiciousActivityException
if it could not be found.findByThreadId
(long threadId) Returns all the message boards suspicious activities where threadId = ?.findByThreadId
(long threadId, int start, int end) Returns a range of all the message boards suspicious activities where threadId = ?.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 = ?.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 = ?.findByThreadId_First
(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the first message boards suspicious activity in the ordered set where threadId = ?.findByThreadId_Last
(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the last message boards suspicious activity in the ordered set where threadId = ?.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 = ?.findByU_M
(long userId, long messageId) Returns the message boards suspicious activity where userId = ? and messageId = ? or throws aNoSuchSuspiciousActivityException
if it could not be found.findByU_T
(long userId, long threadId) Returns the message boards suspicious activity where userId = ? and threadId = ? or throws aNoSuchSuspiciousActivityException
if it could not be found.findByUuid
(String uuid) Returns all the message boards suspicious activities where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the message boards suspicious activities where uuid = ?.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 = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the message boards suspicious activities where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the message boards suspicious activities where uuid = ? and companyId = ?.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 = ?.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 = ?.findByUuid_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 = ?.findByUuid_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 = ?.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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the first message boards suspicious activity in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the message boards suspicious activity where uuid = ? and groupId = ? or throws aNoSuchSuspiciousActivityException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) Returns the last message boards suspicious activity in the ordered set where uuid = ?.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 = ?.remove
(long suspiciousActivityId) Removes the message boards suspicious activity with the primary key from the database.void
Removes all the message boards suspicious activities from the database.void
removeByMessageId
(long messageId) Removes all the message boards suspicious activities where messageId = ? from the database.void
removeByThreadId
(long threadId) Removes all the message boards suspicious activities where threadId = ? from the database.removeByU_M
(long userId, long messageId) Removes the message boards suspicious activity where userId = ? and messageId = ? from the database.removeByU_T
(long userId, long threadId) Removes the message boards suspicious activity where userId = ? and threadId = ? from the database.void
removeByUuid
(String uuid) Removes all the message boards suspicious activities where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the message boards suspicious activities where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the message boards suspicious activity where uuid = ? and groupId = ? from the database.updateImpl
(MBSuspiciousActivity mbSuspiciousActivity) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByUuid_First
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
null
if a matching message boards suspicious activity could not be found
-
findByUuid_Last
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 found
-
fetchByUuid_Last
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
null
if a matching message boards suspicious activity could not be found
-
findByUuid_PrevAndNext
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 found
-
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
MBSuspiciousActivity findByUUID_G(String uuid, long groupId) throws NoSuchSuspiciousActivityException Returns the message boards suspicious activity where uuid = ? and groupId = ? or throws aNoSuchSuspiciousActivityException
if 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 found
-
fetchByUUID_G
Returns the message boards suspicious activity where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching message boards suspicious activity, or
null
if a matching message boards suspicious activity could not be found
-
fetchByUUID_G
Returns the message boards suspicious activity where uuid = ? and groupId = ? or returnsnull
if 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
null
if a matching message boards suspicious activity could not be found
-
removeByUUID_G
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
Returns a range of all the message boards suspicious activities where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByUuid_C_First
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
null
if a matching message boards suspicious activity could not be found
-
findByUuid_C_Last
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 found
-
fetchByUuid_C_Last
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
null
if a matching message boards suspicious activity could not be found
-
findByUuid_C_PrevAndNext
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 found
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByMessageId_First
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
null
if a matching message boards suspicious activity could not be found
-
findByMessageId_Last
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 found
-
fetchByMessageId_Last
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
null
if a matching message boards suspicious activity could not be found
-
findByMessageId_PrevAndNext
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 found
-
removeByMessageId
void removeByMessageId(long messageId) Removes all the message boards suspicious activities where messageId = ? from the database.- Parameters:
messageId
- the message ID
-
countByMessageId
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByThreadId_First
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
null
if a matching message boards suspicious activity could not be found
-
findByThreadId_Last
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 found
-
fetchByThreadId_Last
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
null
if a matching message boards suspicious activity could not be found
-
findByThreadId_PrevAndNext
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 found
-
removeByThreadId
void removeByThreadId(long threadId) Removes all the message boards suspicious activities where threadId = ? from the database.- Parameters:
threadId
- the thread ID
-
countByThreadId
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
MBSuspiciousActivity findByU_M(long userId, long messageId) throws NoSuchSuspiciousActivityException Returns the message boards suspicious activity where userId = ? and messageId = ? or throws aNoSuchSuspiciousActivityException
if 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 found
-
fetchByU_M
Returns the message boards suspicious activity where userId = ? and messageId = ? or returnsnull
if 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
null
if a matching message boards suspicious activity could not be found
-
fetchByU_M
Returns the message boards suspicious activity where userId = ? and messageId = ? or returnsnull
if 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
null
if a matching message boards suspicious activity could not be found
-
removeByU_M
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
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
Returns the message boards suspicious activity where userId = ? and threadId = ? or throws aNoSuchSuspiciousActivityException
if 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 found
-
fetchByU_T
Returns the message boards suspicious activity where userId = ? and threadId = ? or returnsnull
if 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
null
if a matching message boards suspicious activity could not be found
-
fetchByU_T
Returns the message boards suspicious activity where userId = ? and threadId = ? or returnsnull
if 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
null
if a matching message boards suspicious activity could not be found
-
removeByU_T
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
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
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 found
-
updateImpl
-
findByPrimaryKey
MBSuspiciousActivity findByPrimaryKey(long suspiciousActivityId) throws NoSuchSuspiciousActivityException Returns the message boards suspicious activity with the primary key or throws aNoSuchSuspiciousActivityException
if 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 found
-
fetchByPrimaryKey
Returns the message boards suspicious activity with the primary key or returnsnull
if it could not be found.- Parameters:
suspiciousActivityId
- the primary key of the message boards suspicious activity- Returns:
- the message boards suspicious activity, or
null
if a message boards suspicious activity with the primary key could not be found
-
findAll
List<MBSuspiciousActivity> 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
void removeAll()Removes all the message boards suspicious activities from the database. -
countAll
int countAll()Returns the number of message boards suspicious activities.- Returns:
- the number of message boards suspicious activities
-