public class MBSuspiciousActivityUtil
extends java.lang.Object
com.liferay.message.boards.service.persistence.impl.MBSuspiciousActivityPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
MBSuspiciousActivityPersistence
Constructor and Description |
---|
MBSuspiciousActivityUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<MBSuspiciousActivity> mbSuspiciousActivities)
Caches the message boards suspicious activities in the entity cache if it is enabled.
|
static void |
cacheResult(MBSuspiciousActivity mbSuspiciousActivity)
Caches the message boards suspicious activity in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(MBSuspiciousActivity mbSuspiciousActivity) |
static int |
countAll()
Returns the number of message boards suspicious activities.
|
static int |
countByMessageId(long messageId)
Returns the number of message boards suspicious activities where messageId = ?.
|
static int |
countByThreadId(long threadId)
Returns the number of message boards suspicious activities where threadId = ?.
|
static int |
countByU_M(long userId,
long messageId)
Returns the number of message boards suspicious activities where userId = ? and messageId = ?.
|
static int |
countByU_T(long userId,
long threadId)
Returns the number of message boards suspicious activities where userId = ? and threadId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of message boards suspicious activities where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of message boards suspicious activities where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of message boards suspicious activities where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static MBSuspiciousActivity |
create(long suspiciousActivityId)
Creates a new message boards suspicious activity with the primary key.
|
static MBSuspiciousActivity |
fetchByMessageId_First(long messageId,
com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
Returns the first message boards suspicious activity in the ordered set where messageId = ?.
|
static MBSuspiciousActivity |
fetchByMessageId_Last(long messageId,
com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
Returns the last message boards suspicious activity in the ordered set where messageId = ?.
|
static MBSuspiciousActivity |
fetchByPrimaryKey(long suspiciousActivityId)
Returns the message boards suspicious activity with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,MBSuspiciousActivity> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static MBSuspiciousActivity |
fetchByThreadId_First(long threadId,
com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
Returns the first message boards suspicious activity in the ordered set where threadId = ?.
|
static MBSuspiciousActivity |
fetchByThreadId_Last(long threadId,
com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
Returns the last message boards suspicious activity in the ordered set where threadId = ?.
|
static 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. |
static 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. |
static 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. |
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static 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. |
static 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 = ?.
|
static java.util.List<MBSuspiciousActivity> |
findAll()
Returns all the message boards suspicious activities.
|
static java.util.List<MBSuspiciousActivity> |
findAll(int start,
int end)
Returns a range of all the message boards suspicious activities.
|
static 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.
|
static 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.
|
static 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 = ?.
|
static 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 = ?.
|
static MBSuspiciousActivity[] |
findByMessageId_PrevAndNext(long suspiciousActivityId,
long messageId,
com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
Returns the message boards suspicious activities before and after the current message boards suspicious activity in the ordered set where messageId = ?.
|
static java.util.List<MBSuspiciousActivity> |
findByMessageId(long messageId)
Returns all the message boards suspicious activities where messageId = ?.
|
static java.util.List<MBSuspiciousActivity> |
findByMessageId(long messageId,
int start,
int end)
Returns a range of all the message boards suspicious activities where messageId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static MBSuspiciousActivity |
findByPrimaryKey(long suspiciousActivityId)
Returns the message boards suspicious activity with the primary key or throws a
NoSuchSuspiciousActivityException if it could not be found. |
static 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 = ?.
|
static 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 = ?.
|
static MBSuspiciousActivity[] |
findByThreadId_PrevAndNext(long suspiciousActivityId,
long threadId,
com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
Returns the message boards suspicious activities before and after the current message boards suspicious activity in the ordered set where threadId = ?.
|
static java.util.List<MBSuspiciousActivity> |
findByThreadId(long threadId)
Returns all the message boards suspicious activities where threadId = ?.
|
static java.util.List<MBSuspiciousActivity> |
findByThreadId(long threadId,
int start,
int end)
Returns a range of all the message boards suspicious activities where threadId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<MBSuspiciousActivity> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the message boards suspicious activities where uuid = ? and companyId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<MBSuspiciousActivity> |
findByUuid(java.lang.String uuid)
Returns all the message boards suspicious activities where uuid = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<MBSuspiciousActivity> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<MBSuspiciousActivity> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<MBSuspiciousActivity> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) |
static MBSuspiciousActivityPersistence |
getPersistence() |
static MBSuspiciousActivity |
remove(long suspiciousActivityId)
Removes the message boards suspicious activity with the primary key from the database.
|
static void |
removeAll()
Removes all the message boards suspicious activities from the database.
|
static void |
removeByMessageId(long messageId)
Removes all the message boards suspicious activities where messageId = ? from the database.
|
static void |
removeByThreadId(long threadId)
Removes all the message boards suspicious activities where threadId = ? from the database.
|
static MBSuspiciousActivity |
removeByU_M(long userId,
long messageId)
Removes the message boards suspicious activity where userId = ? and messageId = ? from the database.
|
static MBSuspiciousActivity |
removeByU_T(long userId,
long threadId)
Removes the message boards suspicious activity where userId = ? and threadId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the message boards suspicious activities where uuid = ? and companyId = ? from the database.
|
static MBSuspiciousActivity |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the message boards suspicious activity where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the message boards suspicious activities where uuid = ? from the database.
|
static void |
setPersistence(MBSuspiciousActivityPersistence persistence) |
static MBSuspiciousActivity |
update(MBSuspiciousActivity mbSuspiciousActivity) |
static MBSuspiciousActivity |
update(MBSuspiciousActivity mbSuspiciousActivity,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static MBSuspiciousActivity |
updateImpl(MBSuspiciousActivity mbSuspiciousActivity) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(MBSuspiciousActivity mbSuspiciousActivity)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,MBSuspiciousActivity> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<MBSuspiciousActivity> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<MBSuspiciousActivity> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<MBSuspiciousActivity> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static MBSuspiciousActivity update(MBSuspiciousActivity mbSuspiciousActivity)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static MBSuspiciousActivity update(MBSuspiciousActivity mbSuspiciousActivity, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<MBSuspiciousActivity> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.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)public static 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
)public static 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 cachepublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity[] 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 foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchSuspiciousActivityException
uuid
- the uuidgroupId
- the group IDNoSuchSuspiciousActivityException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<MBSuspiciousActivity> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.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)public static 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
)public static 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 cachepublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity[] 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 foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<MBSuspiciousActivity> findByMessageId(long messageId)
messageId
- the message IDpublic static java.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)public static 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
)public static 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 cachepublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity[] 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 foundpublic static void removeByMessageId(long messageId)
messageId
- the message IDpublic static int countByMessageId(long messageId)
messageId
- the message IDpublic static java.util.List<MBSuspiciousActivity> findByThreadId(long threadId)
threadId
- the thread IDpublic static java.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)public static 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
)public static 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 cachepublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity[] 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 foundpublic static void removeByThreadId(long threadId)
threadId
- the thread IDpublic static int countByThreadId(long threadId)
threadId
- the thread IDpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity removeByU_M(long userId, long messageId) throws NoSuchSuspiciousActivityException
userId
- the user IDmessageId
- the message IDNoSuchSuspiciousActivityException
public static int countByU_M(long userId, long messageId)
userId
- the user IDmessageId
- the message IDpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity removeByU_T(long userId, long threadId) throws NoSuchSuspiciousActivityException
userId
- the user IDthreadId
- the thread IDNoSuchSuspiciousActivityException
public static int countByU_T(long userId, long threadId)
userId
- the user IDthreadId
- the thread IDpublic static void cacheResult(MBSuspiciousActivity mbSuspiciousActivity)
mbSuspiciousActivity
- the message boards suspicious activitypublic static void cacheResult(java.util.List<MBSuspiciousActivity> mbSuspiciousActivities)
mbSuspiciousActivities
- the message boards suspicious activitiespublic static MBSuspiciousActivity create(long suspiciousActivityId)
suspiciousActivityId
- the primary key for the new message boards suspicious activitypublic static MBSuspiciousActivity 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 foundpublic static MBSuspiciousActivity updateImpl(MBSuspiciousActivity mbSuspiciousActivity)
public static 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 foundpublic static MBSuspiciousActivity 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 foundpublic static java.util.List<MBSuspiciousActivity> findAll()
public static 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)public static 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
)public static 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 cachepublic static void removeAll()
public static int countAll()
public static MBSuspiciousActivityPersistence getPersistence()
public static void setPersistence(MBSuspiciousActivityPersistence persistence)