Class MBSuspiciousActivityUtil

java.lang.Object
com.liferay.message.boards.service.persistence.MBSuspiciousActivityUtil

public class MBSuspiciousActivityUtil extends Object
The persistence utility for the message boards suspicious activity service. This utility wraps com.liferay.message.boards.service.persistence.impl.MBSuspiciousActivityPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • MBSuspiciousActivityUtil

      public MBSuspiciousActivityUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(MBSuspiciousActivity mbSuspiciousActivity)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,MBSuspiciousActivity> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<MBSuspiciousActivity> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<MBSuspiciousActivity> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<MBSuspiciousActivity> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static MBSuspiciousActivity update(MBSuspiciousActivity mbSuspiciousActivity)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static MBSuspiciousActivity update(MBSuspiciousActivity mbSuspiciousActivity, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<MBSuspiciousActivity> findByUuid(String uuid)
      Returns all the message boards suspicious activities where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching message boards suspicious activities
    • findByUuid

      public static List<MBSuspiciousActivity> findByUuid(String uuid, int start, int end)
      Returns a range of all the message boards suspicious activities where uuid = ?.

      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.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of message boards suspicious activities
      end - the upper bound of the range of message boards suspicious activities (not inclusive)
      Returns:
      the range of matching message boards suspicious activities
    • findByUuid

      public static List<MBSuspiciousActivity> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
      Returns an ordered range of all the message boards suspicious activities where uuid = ?.

      Useful when paginating results. Returns a maximum of end - 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.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of message boards suspicious activities
      end - the upper bound of the range of message boards suspicious activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message boards suspicious activities
    • findByUuid

      public static List<MBSuspiciousActivity> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the message boards suspicious activities where uuid = ?.

      Useful when paginating results. Returns a maximum of end - 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.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of message boards suspicious activities
      end - 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 cache
      Returns:
      the ordered range of matching message boards suspicious activities
    • findByUuid_First

      public static MBSuspiciousActivity findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
      Returns the first message boards suspicious activity in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message boards suspicious activity
      Throws:
      NoSuchSuspiciousActivityException - if a matching message boards suspicious activity could not be found
      NoSuchSuspiciousActivityException
    • fetchByUuid_First

      public static MBSuspiciousActivity fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
      Returns the first message boards suspicious activity in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message boards suspicious activity, or null if a matching message boards suspicious activity could not be found
    • findByUuid_Last

      public static MBSuspiciousActivity findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
      Returns the last message boards suspicious activity in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message boards suspicious activity
      Throws:
      NoSuchSuspiciousActivityException - if a matching message boards suspicious activity could not be found
      NoSuchSuspiciousActivityException
    • fetchByUuid_Last

      public static MBSuspiciousActivity fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
      Returns the last message boards suspicious activity in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message boards suspicious activity, or null if a matching message boards suspicious activity could not be found
    • findByUuid_PrevAndNext

      public static MBSuspiciousActivity[] findByUuid_PrevAndNext(long suspiciousActivityId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
      Returns the message boards suspicious activities before and after the current message boards suspicious activity in the ordered set where uuid = ?.
      Parameters:
      suspiciousActivityId - the primary key of the current message boards suspicious activity
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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
      NoSuchSuspiciousActivityException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the message boards suspicious activities where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of message boards suspicious activities where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching message boards suspicious activities
    • findByUUID_G

      public static MBSuspiciousActivity findByUUID_G(String uuid, long groupId) throws NoSuchSuspiciousActivityException
      Returns the message boards suspicious activity where uuid = ? and groupId = ? or throws a NoSuchSuspiciousActivityException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching message boards suspicious activity
      Throws:
      NoSuchSuspiciousActivityException - if a matching message boards suspicious activity could not be found
      NoSuchSuspiciousActivityException
    • fetchByUUID_G

      public static MBSuspiciousActivity fetchByUUID_G(String uuid, long groupId)
      Returns the message boards suspicious activity where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - 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

      public static MBSuspiciousActivity fetchByUUID_G(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.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - 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

      public static MBSuspiciousActivity removeByUUID_G(String uuid, long groupId) throws NoSuchSuspiciousActivityException
      Removes the message boards suspicious activity where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the message boards suspicious activity that was removed
      Throws:
      NoSuchSuspiciousActivityException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of message boards suspicious activities where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching message boards suspicious activities
    • findByUuid_C

      public static List<MBSuspiciousActivity> findByUuid_C(String uuid, long companyId)
      Returns all the message boards suspicious activities where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching message boards suspicious activities
    • findByUuid_C

      public static List<MBSuspiciousActivity> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the message boards suspicious activities where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - 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.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of message boards suspicious activities
      end - the upper bound of the range of message boards suspicious activities (not inclusive)
      Returns:
      the range of matching message boards suspicious activities
    • findByUuid_C

      public static List<MBSuspiciousActivity> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
      Returns an ordered range of all the message boards suspicious activities where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - 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.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of message boards suspicious activities
      end - the upper bound of the range of message boards suspicious activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message boards suspicious activities
    • findByUuid_C

      public static List<MBSuspiciousActivity> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the message boards suspicious activities where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - 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.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of message boards suspicious activities
      end - 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 cache
      Returns:
      the ordered range of matching message boards suspicious activities
    • findByUuid_C_First

      public static MBSuspiciousActivity findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
      Returns the first message boards suspicious activity in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message boards suspicious activity
      Throws:
      NoSuchSuspiciousActivityException - if a matching message boards suspicious activity could not be found
      NoSuchSuspiciousActivityException
    • fetchByUuid_C_First

      public static MBSuspiciousActivity fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
      Returns the first message boards suspicious activity in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message boards suspicious activity, or null if a matching message boards suspicious activity could not be found
    • findByUuid_C_Last

      public static MBSuspiciousActivity findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
      Returns the last message boards suspicious activity in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message boards suspicious activity
      Throws:
      NoSuchSuspiciousActivityException - if a matching message boards suspicious activity could not be found
      NoSuchSuspiciousActivityException
    • fetchByUuid_C_Last

      public static MBSuspiciousActivity fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
      Returns the last message boards suspicious activity in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message boards suspicious activity, or null if a matching message boards suspicious activity could not be found
    • findByUuid_C_PrevAndNext

      public static MBSuspiciousActivity[] findByUuid_C_PrevAndNext(long suspiciousActivityId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
      Returns the message boards suspicious activities before and after the current message boards suspicious activity in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      suspiciousActivityId - the primary key of the current message boards suspicious activity
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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
      NoSuchSuspiciousActivityException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the message boards suspicious activities where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of message boards suspicious activities where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching message boards suspicious activities
    • findByMessageId

      public static List<MBSuspiciousActivity> findByMessageId(long messageId)
      Returns all the message boards suspicious activities where messageId = ?.
      Parameters:
      messageId - the message ID
      Returns:
      the matching message boards suspicious activities
    • findByMessageId

      public static List<MBSuspiciousActivity> findByMessageId(long messageId, int start, int end)
      Returns a range of all the message boards suspicious activities where messageId = ?.

      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.

      Parameters:
      messageId - the message ID
      start - the lower bound of the range of message boards suspicious activities
      end - the upper bound of the range of message boards suspicious activities (not inclusive)
      Returns:
      the range of matching message boards suspicious activities
    • findByMessageId

      public static List<MBSuspiciousActivity> findByMessageId(long messageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
      Returns an ordered range of all the message boards suspicious activities where messageId = ?.

      Useful when paginating results. Returns a maximum of end - 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.

      Parameters:
      messageId - the message ID
      start - the lower bound of the range of message boards suspicious activities
      end - the upper bound of the range of message boards suspicious activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message boards suspicious activities
    • findByMessageId

      public static List<MBSuspiciousActivity> findByMessageId(long messageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the message boards suspicious activities where messageId = ?.

      Useful when paginating results. Returns a maximum of end - 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.

      Parameters:
      messageId - the message ID
      start - the lower bound of the range of message boards suspicious activities
      end - 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 cache
      Returns:
      the ordered range of matching message boards suspicious activities
    • findByMessageId_First

      public static MBSuspiciousActivity findByMessageId_First(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
      Returns the first message boards suspicious activity in the ordered set where messageId = ?.
      Parameters:
      messageId - the message ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message boards suspicious activity
      Throws:
      NoSuchSuspiciousActivityException - if a matching message boards suspicious activity could not be found
      NoSuchSuspiciousActivityException
    • fetchByMessageId_First

      public static MBSuspiciousActivity fetchByMessageId_First(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
      Returns the first message boards suspicious activity in the ordered set where messageId = ?.
      Parameters:
      messageId - the message ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message boards suspicious activity, or null if a matching message boards suspicious activity could not be found
    • findByMessageId_Last

      public static MBSuspiciousActivity findByMessageId_Last(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
      Returns the last message boards suspicious activity in the ordered set where messageId = ?.
      Parameters:
      messageId - the message ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message boards suspicious activity
      Throws:
      NoSuchSuspiciousActivityException - if a matching message boards suspicious activity could not be found
      NoSuchSuspiciousActivityException
    • fetchByMessageId_Last

      public static MBSuspiciousActivity fetchByMessageId_Last(long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
      Returns the last message boards suspicious activity in the ordered set where messageId = ?.
      Parameters:
      messageId - the message ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message boards suspicious activity, or null if a matching message boards suspicious activity could not be found
    • findByMessageId_PrevAndNext

      public static MBSuspiciousActivity[] findByMessageId_PrevAndNext(long suspiciousActivityId, long messageId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
      Returns the message boards suspicious activities before and after the current message boards suspicious activity in the ordered set where messageId = ?.
      Parameters:
      suspiciousActivityId - the primary key of the current message boards suspicious activity
      messageId - the message ID
      orderByComparator - the comparator to order the set by (optionally null)
      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
      NoSuchSuspiciousActivityException
    • removeByMessageId

      public static void removeByMessageId(long messageId)
      Removes all the message boards suspicious activities where messageId = ? from the database.
      Parameters:
      messageId - the message ID
    • countByMessageId

      public static int countByMessageId(long messageId)
      Returns the number of message boards suspicious activities where messageId = ?.
      Parameters:
      messageId - the message ID
      Returns:
      the number of matching message boards suspicious activities
    • findByThreadId

      public static List<MBSuspiciousActivity> findByThreadId(long threadId)
      Returns all the message boards suspicious activities where threadId = ?.
      Parameters:
      threadId - the thread ID
      Returns:
      the matching message boards suspicious activities
    • findByThreadId

      public static List<MBSuspiciousActivity> findByThreadId(long threadId, int start, int end)
      Returns a range of all the message boards suspicious activities where threadId = ?.

      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.

      Parameters:
      threadId - the thread ID
      start - the lower bound of the range of message boards suspicious activities
      end - the upper bound of the range of message boards suspicious activities (not inclusive)
      Returns:
      the range of matching message boards suspicious activities
    • findByThreadId

      public static List<MBSuspiciousActivity> findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
      Returns an ordered range of all the message boards suspicious activities where threadId = ?.

      Useful when paginating results. Returns a maximum of end - 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.

      Parameters:
      threadId - the thread ID
      start - the lower bound of the range of message boards suspicious activities
      end - the upper bound of the range of message boards suspicious activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching message boards suspicious activities
    • findByThreadId

      public static List<MBSuspiciousActivity> findByThreadId(long threadId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the message boards suspicious activities where threadId = ?.

      Useful when paginating results. Returns a maximum of end - 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.

      Parameters:
      threadId - the thread ID
      start - the lower bound of the range of message boards suspicious activities
      end - 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 cache
      Returns:
      the ordered range of matching message boards suspicious activities
    • findByThreadId_First

      public static MBSuspiciousActivity findByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
      Returns the first message boards suspicious activity in the ordered set where threadId = ?.
      Parameters:
      threadId - the thread ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message boards suspicious activity
      Throws:
      NoSuchSuspiciousActivityException - if a matching message boards suspicious activity could not be found
      NoSuchSuspiciousActivityException
    • fetchByThreadId_First

      public static MBSuspiciousActivity fetchByThreadId_First(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
      Returns the first message boards suspicious activity in the ordered set where threadId = ?.
      Parameters:
      threadId - the thread ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching message boards suspicious activity, or null if a matching message boards suspicious activity could not be found
    • findByThreadId_Last

      public static MBSuspiciousActivity findByThreadId_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
      Returns the last message boards suspicious activity in the ordered set where threadId = ?.
      Parameters:
      threadId - the thread ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message boards suspicious activity
      Throws:
      NoSuchSuspiciousActivityException - if a matching message boards suspicious activity could not be found
      NoSuchSuspiciousActivityException
    • fetchByThreadId_Last

      public static MBSuspiciousActivity fetchByThreadId_Last(long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
      Returns the last message boards suspicious activity in the ordered set where threadId = ?.
      Parameters:
      threadId - the thread ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching message boards suspicious activity, or null if a matching message boards suspicious activity could not be found
    • findByThreadId_PrevAndNext

      public static MBSuspiciousActivity[] findByThreadId_PrevAndNext(long suspiciousActivityId, long threadId, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator) throws NoSuchSuspiciousActivityException
      Returns the message boards suspicious activities before and after the current message boards suspicious activity in the ordered set where threadId = ?.
      Parameters:
      suspiciousActivityId - the primary key of the current message boards suspicious activity
      threadId - the thread ID
      orderByComparator - the comparator to order the set by (optionally null)
      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
      NoSuchSuspiciousActivityException
    • removeByThreadId

      public static void removeByThreadId(long threadId)
      Removes all the message boards suspicious activities where threadId = ? from the database.
      Parameters:
      threadId - the thread ID
    • countByThreadId

      public static int countByThreadId(long threadId)
      Returns the number of message boards suspicious activities where threadId = ?.
      Parameters:
      threadId - the thread ID
      Returns:
      the number of matching message boards suspicious activities
    • findByU_M

      public static MBSuspiciousActivity findByU_M(long userId, long messageId) throws NoSuchSuspiciousActivityException
      Returns the message boards suspicious activity where userId = ? and messageId = ? or throws a NoSuchSuspiciousActivityException if it could not be found.
      Parameters:
      userId - the user ID
      messageId - the message ID
      Returns:
      the matching message boards suspicious activity
      Throws:
      NoSuchSuspiciousActivityException - if a matching message boards suspicious activity could not be found
      NoSuchSuspiciousActivityException
    • fetchByU_M

      public 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. Uses the finder cache.
      Parameters:
      userId - the user ID
      messageId - 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

      public 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.
      Parameters:
      userId - the user ID
      messageId - the message ID
      useFinderCache - 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

      public static MBSuspiciousActivity removeByU_M(long userId, long messageId) throws NoSuchSuspiciousActivityException
      Removes the message boards suspicious activity where userId = ? and messageId = ? from the database.
      Parameters:
      userId - the user ID
      messageId - the message ID
      Returns:
      the message boards suspicious activity that was removed
      Throws:
      NoSuchSuspiciousActivityException
    • countByU_M

      public static int countByU_M(long userId, long messageId)
      Returns the number of message boards suspicious activities where userId = ? and messageId = ?.
      Parameters:
      userId - the user ID
      messageId - the message ID
      Returns:
      the number of matching message boards suspicious activities
    • findByU_T

      public static MBSuspiciousActivity findByU_T(long userId, long threadId) throws NoSuchSuspiciousActivityException
      Returns the message boards suspicious activity where userId = ? and threadId = ? or throws a NoSuchSuspiciousActivityException if it could not be found.
      Parameters:
      userId - the user ID
      threadId - the thread ID
      Returns:
      the matching message boards suspicious activity
      Throws:
      NoSuchSuspiciousActivityException - if a matching message boards suspicious activity could not be found
      NoSuchSuspiciousActivityException
    • fetchByU_T

      public 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. Uses the finder cache.
      Parameters:
      userId - the user ID
      threadId - 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

      public 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.
      Parameters:
      userId - the user ID
      threadId - the thread ID
      useFinderCache - 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

      public static MBSuspiciousActivity removeByU_T(long userId, long threadId) throws NoSuchSuspiciousActivityException
      Removes the message boards suspicious activity where userId = ? and threadId = ? from the database.
      Parameters:
      userId - the user ID
      threadId - the thread ID
      Returns:
      the message boards suspicious activity that was removed
      Throws:
      NoSuchSuspiciousActivityException
    • countByU_T

      public static int countByU_T(long userId, long threadId)
      Returns the number of message boards suspicious activities where userId = ? and threadId = ?.
      Parameters:
      userId - the user ID
      threadId - the thread ID
      Returns:
      the number of matching message boards suspicious activities
    • cacheResult

      public static void cacheResult(MBSuspiciousActivity mbSuspiciousActivity)
      Caches the message boards suspicious activity in the entity cache if it is enabled.
      Parameters:
      mbSuspiciousActivity - the message boards suspicious activity
    • cacheResult

      public static void cacheResult(List<MBSuspiciousActivity> mbSuspiciousActivities)
      Caches the message boards suspicious activities in the entity cache if it is enabled.
      Parameters:
      mbSuspiciousActivities - the message boards suspicious activities
    • create

      public static MBSuspiciousActivity create(long suspiciousActivityId)
      Creates a new message boards suspicious activity with the primary key. Does not add the message boards suspicious activity to the database.
      Parameters:
      suspiciousActivityId - the primary key for the new message boards suspicious activity
      Returns:
      the new message boards suspicious activity
    • remove

      public static MBSuspiciousActivity remove(long suspiciousActivityId) throws NoSuchSuspiciousActivityException
      Removes the message boards suspicious activity with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      suspiciousActivityId - the primary key of the message boards suspicious activity
      Returns:
      the message boards suspicious activity that was removed
      Throws:
      NoSuchSuspiciousActivityException - if a message boards suspicious activity with the primary key could not be found
      NoSuchSuspiciousActivityException
    • updateImpl

      public static MBSuspiciousActivity updateImpl(MBSuspiciousActivity mbSuspiciousActivity)
    • findByPrimaryKey

      public static MBSuspiciousActivity findByPrimaryKey(long suspiciousActivityId) throws NoSuchSuspiciousActivityException
      Returns the message boards suspicious activity with the primary key or throws a NoSuchSuspiciousActivityException 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
      NoSuchSuspiciousActivityException
    • fetchByPrimaryKey

      public static MBSuspiciousActivity fetchByPrimaryKey(long suspiciousActivityId)
      Returns the message boards suspicious activity with the primary key or returns null 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

      public static List<MBSuspiciousActivity> findAll()
      Returns all the message boards suspicious activities.
      Returns:
      the message boards suspicious activities
    • findAll

      public static List<MBSuspiciousActivity> findAll(int start, int end)
      Returns a range of all the message boards suspicious activities.

      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.

      Parameters:
      start - the lower bound of the range of message boards suspicious activities
      end - the upper bound of the range of message boards suspicious activities (not inclusive)
      Returns:
      the range of message boards suspicious activities
    • findAll

      public static List<MBSuspiciousActivity> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator)
      Returns an ordered range of all the message boards suspicious activities.

      Useful when paginating results. Returns a maximum of end - 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.

      Parameters:
      start - the lower bound of the range of message boards suspicious activities
      end - the upper bound of the range of message boards suspicious activities (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of message boards suspicious activities
    • findAll

      public static List<MBSuspiciousActivity> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBSuspiciousActivity> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the message boards suspicious activities.

      Useful when paginating results. Returns a maximum of end - 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.

      Parameters:
      start - the lower bound of the range of message boards suspicious activities
      end - 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 cache
      Returns:
      the ordered range of message boards suspicious activities
    • removeAll

      public static void removeAll()
      Removes all the message boards suspicious activities from the database.
    • countAll

      public static int countAll()
      Returns the number of message boards suspicious activities.
      Returns:
      the number of message boards suspicious activities
    • getPersistence

      public static MBSuspiciousActivityPersistence getPersistence()
    • setPersistence

      public static void setPersistence(MBSuspiciousActivityPersistence persistence)