@ProviderType public interface MBSuspiciousActivityPersistence extends 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
MBSuspiciousActivityUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<MBSuspiciousActivity> mbSuspiciousActivities)
Caches the message boards suspicious activities in the entity cache if it is enabled.
|
void |
cacheResult(MBSuspiciousActivity mbSuspiciousActivity)
Caches the message boards suspicious activity 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_C(java.lang.String uuid,
long companyId)
Returns the number of message boards suspicious activities where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of message boards suspicious activities where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of message boards suspicious activities where uuid = ?.
|
MBSuspiciousActivity |
create(long suspiciousActivityId)
Creates a new message boards suspicious activity with the primary key.
|
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 = ?.
|
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 = ?.
|
MBSuspiciousActivity |
fetchByPrimaryKey(long suspiciousActivityId)
Returns the message boards suspicious activity with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
MBSuspiciousActivity |
fetchByU_M(long userId,
long messageId)
Returns the message boards suspicious activity where userId = ? and messageId = ? or returns
null if it could not be found. |
MBSuspiciousActivity |
fetchByU_M(long userId,
long messageId,
boolean useFinderCache)
Returns the message boards suspicious activity where userId = ? and messageId = ? or returns
null if it could not be found, optionally using the finder cache. |
MBSuspiciousActivity |
fetchByU_T(long userId,
long threadId)
Returns the message boards suspicious activity where userId = ? and threadId = ? or returns
null if it could not be found. |
MBSuspiciousActivity |
fetchByU_T(long userId,
long threadId,
boolean useFinderCache)
Returns the message boards suspicious activity where userId = ? and threadId = ? or returns
null if it could not be found, optionally using the finder cache. |
MBSuspiciousActivity |
fetchByUuid_C_First(java.lang.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 = ?.
|
MBSuspiciousActivity |
fetchByUuid_C_Last(java.lang.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 = ?.
|
MBSuspiciousActivity |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
Returns the first message boards suspicious activity in the ordered set where uuid = ?.
|
MBSuspiciousActivity |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the message boards suspicious activity where uuid = ? and groupId = ? or returns
null if it could not be found. |
MBSuspiciousActivity |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the message boards suspicious activity where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
MBSuspiciousActivity |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
Returns the last message boards suspicious activity in the ordered set where uuid = ?.
|
java.util.List<MBSuspiciousActivity> |
findAll()
Returns all the message boards suspicious activities.
|
java.util.List<MBSuspiciousActivity> |
findAll(int start,
int end)
Returns a range of all the message boards suspicious activities.
|
java.util.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.
|
java.util.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.
|
MBSuspiciousActivity |
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 = ?.
|
MBSuspiciousActivity |
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 = ?.
|
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 = ?.
|
java.util.List<MBSuspiciousActivity> |
findByMessageId(long messageId)
Returns all the message boards suspicious activities where messageId = ?.
|
java.util.List<MBSuspiciousActivity> |
findByMessageId(long messageId,
int start,
int end)
Returns a range of all the message boards suspicious activities where messageId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
MBSuspiciousActivity |
findByPrimaryKey(long suspiciousActivityId)
Returns the message boards suspicious activity with the primary key or throws a
NoSuchSuspiciousActivityException if it could not be found. |
MBSuspiciousActivity |
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 = ?.
|
MBSuspiciousActivity |
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 = ?.
|
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 = ?.
|
java.util.List<MBSuspiciousActivity> |
findByThreadId(long threadId)
Returns all the message boards suspicious activities where threadId = ?.
|
java.util.List<MBSuspiciousActivity> |
findByThreadId(long threadId,
int start,
int end)
Returns a range of all the message boards suspicious activities where threadId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
MBSuspiciousActivity |
findByU_M(long userId,
long messageId)
Returns the message boards suspicious activity where userId = ? and messageId = ? or throws a
NoSuchSuspiciousActivityException if it could not be found. |
MBSuspiciousActivity |
findByU_T(long userId,
long threadId)
Returns the message boards suspicious activity where userId = ? and threadId = ? or throws a
NoSuchSuspiciousActivityException if it could not be found. |
MBSuspiciousActivity |
findByUuid_C_First(java.lang.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 = ?.
|
MBSuspiciousActivity |
findByUuid_C_Last(java.lang.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 = ?.
|
MBSuspiciousActivity[] |
findByUuid_C_PrevAndNext(long suspiciousActivityId,
java.lang.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 = ?.
|
java.util.List<MBSuspiciousActivity> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the message boards suspicious activities where uuid = ? and companyId = ?.
|
java.util.List<MBSuspiciousActivity> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the message boards suspicious activities where uuid = ? and companyId = ?.
|
java.util.List<MBSuspiciousActivity> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<MBSuspiciousActivity> |
findByUuid_C(java.lang.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 = ?.
|
MBSuspiciousActivity |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
Returns the first message boards suspicious activity in the ordered set where uuid = ?.
|
MBSuspiciousActivity |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the message boards suspicious activity where uuid = ? and groupId = ? or throws a
NoSuchSuspiciousActivityException if it could not be found. |
MBSuspiciousActivity |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
Returns the last message boards suspicious activity in the ordered set where uuid = ?.
|
MBSuspiciousActivity[] |
findByUuid_PrevAndNext(long suspiciousActivityId,
java.lang.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 = ?.
|
java.util.List<MBSuspiciousActivity> |
findByUuid(java.lang.String uuid)
Returns all the message boards suspicious activities where uuid = ?.
|
java.util.List<MBSuspiciousActivity> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the message boards suspicious activities where uuid = ?.
|
java.util.List<MBSuspiciousActivity> |
findByUuid(java.lang.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 = ?.
|
java.util.List<MBSuspiciousActivity> |
findByUuid(java.lang.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 = ?.
|
MBSuspiciousActivity |
remove(long suspiciousActivityId)
Removes the message boards suspicious activity with the primary key from the database.
|
void |
removeAll()
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.
|
MBSuspiciousActivity |
removeByU_M(long userId,
long messageId)
Removes the message boards suspicious activity where userId = ? and messageId = ? from the database.
|
MBSuspiciousActivity |
removeByU_T(long userId,
long threadId)
Removes the message boards suspicious activity where userId = ? and threadId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the message boards suspicious activities where uuid = ? and companyId = ? from the database.
|
MBSuspiciousActivity |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the message boards suspicious activity where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the message boards suspicious activities where uuid = ? from the database.
|
MBSuspiciousActivity |
updateImpl(MBSuspiciousActivity mbSuspiciousActivity) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
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, setDataSource, unregisterListener, update, update
java.util.List<MBSuspiciousActivity> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<MBSuspiciousActivity> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from MBSuspiciousActivityModelImpl
.
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)java.util.List<MBSuspiciousActivity> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from MBSuspiciousActivityModelImpl
.
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 (optionally null
)java.util.List<MBSuspiciousActivity> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from MBSuspiciousActivityModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheMBSuspiciousActivity findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSuspiciousActivityException
- if a matching message boards suspicious activity could not be foundMBSuspiciousActivity fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards suspicious activity could not be foundMBSuspiciousActivity findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSuspiciousActivityException
- if a matching message boards suspicious activity could not be foundMBSuspiciousActivity fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards suspicious activity could not be foundMBSuspiciousActivity[] findByUuid_PrevAndNext(long suspiciousActivityId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
suspiciousActivityId
- the primary key of the current message boards suspicious activityuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSuspiciousActivityException
- if a message boards suspicious activity with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidMBSuspiciousActivity findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchSuspiciousActivityException
NoSuchSuspiciousActivityException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchSuspiciousActivityException
- if a matching message boards suspicious activity could not be foundMBSuspiciousActivity fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching message boards suspicious activity could not be foundMBSuspiciousActivity fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching message boards suspicious activity could not be foundMBSuspiciousActivity removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchSuspiciousActivityException
uuid
- the uuidgroupId
- the group IDNoSuchSuspiciousActivityException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<MBSuspiciousActivity> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<MBSuspiciousActivity> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from MBSuspiciousActivityModelImpl
.
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)java.util.List<MBSuspiciousActivity> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from MBSuspiciousActivityModelImpl
.
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 (optionally null
)java.util.List<MBSuspiciousActivity> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from MBSuspiciousActivityModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheMBSuspiciousActivity findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSuspiciousActivityException
- if a matching message boards suspicious activity could not be foundMBSuspiciousActivity fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards suspicious activity could not be foundMBSuspiciousActivity findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSuspiciousActivityException
- if a matching message boards suspicious activity could not be foundMBSuspiciousActivity fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards suspicious activity could not be foundMBSuspiciousActivity[] findByUuid_C_PrevAndNext(long suspiciousActivityId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
suspiciousActivityId
- the primary key of the current message boards suspicious activityuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSuspiciousActivityException
- if a message boards suspicious activity with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<MBSuspiciousActivity> findByMessageId(long messageId)
messageId
- the message IDjava.util.List<MBSuspiciousActivity> findByMessageId(long messageId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from MBSuspiciousActivityModelImpl
.
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)java.util.List<MBSuspiciousActivity> findByMessageId(long messageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from MBSuspiciousActivityModelImpl
.
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 (optionally null
)java.util.List<MBSuspiciousActivity> findByMessageId(long messageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from MBSuspiciousActivityModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheMBSuspiciousActivity findByMessageId_First(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
messageId
- the message IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSuspiciousActivityException
- if a matching message boards suspicious activity could not be foundMBSuspiciousActivity fetchByMessageId_First(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
messageId
- the message IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards suspicious activity could not be foundMBSuspiciousActivity findByMessageId_Last(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
messageId
- the message IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSuspiciousActivityException
- if a matching message boards suspicious activity could not be foundMBSuspiciousActivity fetchByMessageId_Last(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
messageId
- the message IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards suspicious activity could not be foundMBSuspiciousActivity[] findByMessageId_PrevAndNext(long suspiciousActivityId, long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
suspiciousActivityId
- the primary key of the current message boards suspicious activitymessageId
- the message IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSuspiciousActivityException
- if a message boards suspicious activity with the primary key could not be foundvoid removeByMessageId(long messageId)
messageId
- the message IDint countByMessageId(long messageId)
messageId
- the message IDjava.util.List<MBSuspiciousActivity> findByThreadId(long threadId)
threadId
- the thread IDjava.util.List<MBSuspiciousActivity> findByThreadId(long threadId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from MBSuspiciousActivityModelImpl
.
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)java.util.List<MBSuspiciousActivity> findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from MBSuspiciousActivityModelImpl
.
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 (optionally null
)java.util.List<MBSuspiciousActivity> findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from MBSuspiciousActivityModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheMBSuspiciousActivity findByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSuspiciousActivityException
- if a matching message boards suspicious activity could not be foundMBSuspiciousActivity fetchByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards suspicious activity could not be foundMBSuspiciousActivity findByThreadId_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSuspiciousActivityException
- if a matching message boards suspicious activity could not be foundMBSuspiciousActivity fetchByThreadId_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
threadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching message boards suspicious activity could not be foundMBSuspiciousActivity[] findByThreadId_PrevAndNext(long suspiciousActivityId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
suspiciousActivityId
- the primary key of the current message boards suspicious activitythreadId
- the thread IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSuspiciousActivityException
- if a message boards suspicious activity with the primary key could not be foundvoid removeByThreadId(long threadId)
threadId
- the thread IDint countByThreadId(long threadId)
threadId
- the thread IDMBSuspiciousActivity findByU_M(long userId, long messageId) throws NoSuchSuspiciousActivityException
NoSuchSuspiciousActivityException
if it could not be found.userId
- the user IDmessageId
- the message IDNoSuchSuspiciousActivityException
- if a matching message boards suspicious activity could not be foundMBSuspiciousActivity fetchByU_M(long userId, long messageId)
null
if it could not be found. Uses the finder cache.userId
- the user IDmessageId
- the message IDnull
if a matching message boards suspicious activity could not be foundMBSuspiciousActivity fetchByU_M(long userId, long messageId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.userId
- the user IDmessageId
- the message IDuseFinderCache
- whether to use the finder cachenull
if a matching message boards suspicious activity could not be foundMBSuspiciousActivity removeByU_M(long userId, long messageId) throws NoSuchSuspiciousActivityException
userId
- the user IDmessageId
- the message IDNoSuchSuspiciousActivityException
int countByU_M(long userId, long messageId)
userId
- the user IDmessageId
- the message IDMBSuspiciousActivity findByU_T(long userId, long threadId) throws NoSuchSuspiciousActivityException
NoSuchSuspiciousActivityException
if it could not be found.userId
- the user IDthreadId
- the thread IDNoSuchSuspiciousActivityException
- if a matching message boards suspicious activity could not be foundMBSuspiciousActivity fetchByU_T(long userId, long threadId)
null
if it could not be found. Uses the finder cache.userId
- the user IDthreadId
- the thread IDnull
if a matching message boards suspicious activity could not be foundMBSuspiciousActivity fetchByU_T(long userId, long threadId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.userId
- the user IDthreadId
- the thread IDuseFinderCache
- whether to use the finder cachenull
if a matching message boards suspicious activity could not be foundMBSuspiciousActivity removeByU_T(long userId, long threadId) throws NoSuchSuspiciousActivityException
userId
- the user IDthreadId
- the thread IDNoSuchSuspiciousActivityException
int countByU_T(long userId, long threadId)
userId
- the user IDthreadId
- the thread IDvoid cacheResult(MBSuspiciousActivity mbSuspiciousActivity)
mbSuspiciousActivity
- the message boards suspicious activityvoid cacheResult(java.util.List<MBSuspiciousActivity> mbSuspiciousActivities)
mbSuspiciousActivities
- the message boards suspicious activitiesMBSuspiciousActivity create(long suspiciousActivityId)
suspiciousActivityId
- the primary key for the new message boards suspicious activityMBSuspiciousActivity remove(long suspiciousActivityId) throws NoSuchSuspiciousActivityException
suspiciousActivityId
- the primary key of the message boards suspicious activityNoSuchSuspiciousActivityException
- if a message boards suspicious activity with the primary key could not be foundMBSuspiciousActivity updateImpl(MBSuspiciousActivity mbSuspiciousActivity)
MBSuspiciousActivity findByPrimaryKey(long suspiciousActivityId) throws NoSuchSuspiciousActivityException
NoSuchSuspiciousActivityException
if it could not be found.suspiciousActivityId
- the primary key of the message boards suspicious activityNoSuchSuspiciousActivityException
- if a message boards suspicious activity with the primary key could not be foundMBSuspiciousActivity fetchByPrimaryKey(long suspiciousActivityId)
null
if it could not be found.suspiciousActivityId
- the primary key of the message boards suspicious activitynull
if a message boards suspicious activity with the primary key could not be foundjava.util.List<MBSuspiciousActivity> findAll()
java.util.List<MBSuspiciousActivity> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from MBSuspiciousActivityModelImpl
.
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)java.util.List<MBSuspiciousActivity> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from MBSuspiciousActivityModelImpl
.
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 (optionally null
)java.util.List<MBSuspiciousActivity> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from MBSuspiciousActivityModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()