Interface AnalyticsDeleteMessagePersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<AnalyticsDeleteMessage>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<AnalyticsDeleteMessage>

@ProviderType public interface AnalyticsDeleteMessagePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AnalyticsDeleteMessage>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<AnalyticsDeleteMessage>
The persistence interface for the analytics delete message service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByCompanyId

      List<AnalyticsDeleteMessage> findByCompanyId(long companyId)
      Returns all the analytics delete messages where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching analytics delete messages
    • findByCompanyId

      List<AnalyticsDeleteMessage> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the analytics delete messages where 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 AnalyticsDeleteMessageModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of analytics delete messages
      end - the upper bound of the range of analytics delete messages (not inclusive)
      Returns:
      the range of matching analytics delete messages
    • findByCompanyId

      List<AnalyticsDeleteMessage> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
      Returns an ordered range of all the analytics delete messages where 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 AnalyticsDeleteMessageModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of analytics delete messages
      end - the upper bound of the range of analytics delete messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching analytics delete messages
    • findByCompanyId

      List<AnalyticsDeleteMessage> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the analytics delete messages where 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 AnalyticsDeleteMessageModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of analytics delete messages
      end - the upper bound of the range of analytics delete messages (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 analytics delete messages
    • findByCompanyId_First

      AnalyticsDeleteMessage findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) throws NoSuchDeleteMessageException
      Returns the first analytics delete message in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching analytics delete message
      Throws:
      NoSuchDeleteMessageException - if a matching analytics delete message could not be found
    • fetchByCompanyId_First

      AnalyticsDeleteMessage fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
      Returns the first analytics delete message in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching analytics delete message, or null if a matching analytics delete message could not be found
    • findByCompanyId_Last

      AnalyticsDeleteMessage findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) throws NoSuchDeleteMessageException
      Returns the last analytics delete message in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching analytics delete message
      Throws:
      NoSuchDeleteMessageException - if a matching analytics delete message could not be found
    • fetchByCompanyId_Last

      AnalyticsDeleteMessage fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
      Returns the last analytics delete message in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching analytics delete message, or null if a matching analytics delete message could not be found
    • findByCompanyId_PrevAndNext

      AnalyticsDeleteMessage[] findByCompanyId_PrevAndNext(long analyticsDeleteMessageId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) throws NoSuchDeleteMessageException
      Returns the analytics delete messages before and after the current analytics delete message in the ordered set where companyId = ?.
      Parameters:
      analyticsDeleteMessageId - the primary key of the current analytics delete message
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next analytics delete message
      Throws:
      NoSuchDeleteMessageException - if a analytics delete message with the primary key could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the analytics delete messages where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of analytics delete messages where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching analytics delete messages
    • findByC_GtM

      List<AnalyticsDeleteMessage> findByC_GtM(long companyId, Date modifiedDate)
      Returns all the analytics delete messages where companyId = ? and modifiedDate > ?.
      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      Returns:
      the matching analytics delete messages
    • findByC_GtM

      List<AnalyticsDeleteMessage> findByC_GtM(long companyId, Date modifiedDate, int start, int end)
      Returns a range of all the analytics delete messages where companyId = ? and modifiedDate > ?.

      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 AnalyticsDeleteMessageModelImpl.

      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      start - the lower bound of the range of analytics delete messages
      end - the upper bound of the range of analytics delete messages (not inclusive)
      Returns:
      the range of matching analytics delete messages
    • findByC_GtM

      List<AnalyticsDeleteMessage> findByC_GtM(long companyId, Date modifiedDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
      Returns an ordered range of all the analytics delete messages where companyId = ? and modifiedDate > ?.

      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 AnalyticsDeleteMessageModelImpl.

      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      start - the lower bound of the range of analytics delete messages
      end - the upper bound of the range of analytics delete messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching analytics delete messages
    • findByC_GtM

      List<AnalyticsDeleteMessage> findByC_GtM(long companyId, Date modifiedDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the analytics delete messages where companyId = ? and modifiedDate > ?.

      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 AnalyticsDeleteMessageModelImpl.

      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      start - the lower bound of the range of analytics delete messages
      end - the upper bound of the range of analytics delete messages (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 analytics delete messages
    • findByC_GtM_First

      AnalyticsDeleteMessage findByC_GtM_First(long companyId, Date modifiedDate, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) throws NoSuchDeleteMessageException
      Returns the first analytics delete message in the ordered set where companyId = ? and modifiedDate > ?.
      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching analytics delete message
      Throws:
      NoSuchDeleteMessageException - if a matching analytics delete message could not be found
    • fetchByC_GtM_First

      AnalyticsDeleteMessage fetchByC_GtM_First(long companyId, Date modifiedDate, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
      Returns the first analytics delete message in the ordered set where companyId = ? and modifiedDate > ?.
      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching analytics delete message, or null if a matching analytics delete message could not be found
    • findByC_GtM_Last

      AnalyticsDeleteMessage findByC_GtM_Last(long companyId, Date modifiedDate, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) throws NoSuchDeleteMessageException
      Returns the last analytics delete message in the ordered set where companyId = ? and modifiedDate > ?.
      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching analytics delete message
      Throws:
      NoSuchDeleteMessageException - if a matching analytics delete message could not be found
    • fetchByC_GtM_Last

      AnalyticsDeleteMessage fetchByC_GtM_Last(long companyId, Date modifiedDate, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
      Returns the last analytics delete message in the ordered set where companyId = ? and modifiedDate > ?.
      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching analytics delete message, or null if a matching analytics delete message could not be found
    • findByC_GtM_PrevAndNext

      AnalyticsDeleteMessage[] findByC_GtM_PrevAndNext(long analyticsDeleteMessageId, long companyId, Date modifiedDate, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) throws NoSuchDeleteMessageException
      Returns the analytics delete messages before and after the current analytics delete message in the ordered set where companyId = ? and modifiedDate > ?.
      Parameters:
      analyticsDeleteMessageId - the primary key of the current analytics delete message
      companyId - the company ID
      modifiedDate - the modified date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next analytics delete message
      Throws:
      NoSuchDeleteMessageException - if a analytics delete message with the primary key could not be found
    • removeByC_GtM

      void removeByC_GtM(long companyId, Date modifiedDate)
      Removes all the analytics delete messages where companyId = ? and modifiedDate > ? from the database.
      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
    • countByC_GtM

      int countByC_GtM(long companyId, Date modifiedDate)
      Returns the number of analytics delete messages where companyId = ? and modifiedDate > ?.
      Parameters:
      companyId - the company ID
      modifiedDate - the modified date
      Returns:
      the number of matching analytics delete messages
    • cacheResult

      void cacheResult(AnalyticsDeleteMessage analyticsDeleteMessage)
      Caches the analytics delete message in the entity cache if it is enabled.
      Parameters:
      analyticsDeleteMessage - the analytics delete message
    • cacheResult

      void cacheResult(List<AnalyticsDeleteMessage> analyticsDeleteMessages)
      Caches the analytics delete messages in the entity cache if it is enabled.
      Parameters:
      analyticsDeleteMessages - the analytics delete messages
    • create

      AnalyticsDeleteMessage create(long analyticsDeleteMessageId)
      Creates a new analytics delete message with the primary key. Does not add the analytics delete message to the database.
      Parameters:
      analyticsDeleteMessageId - the primary key for the new analytics delete message
      Returns:
      the new analytics delete message
    • remove

      AnalyticsDeleteMessage remove(long analyticsDeleteMessageId) throws NoSuchDeleteMessageException
      Removes the analytics delete message with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      analyticsDeleteMessageId - the primary key of the analytics delete message
      Returns:
      the analytics delete message that was removed
      Throws:
      NoSuchDeleteMessageException - if a analytics delete message with the primary key could not be found
    • updateImpl

      AnalyticsDeleteMessage updateImpl(AnalyticsDeleteMessage analyticsDeleteMessage)
    • findByPrimaryKey

      AnalyticsDeleteMessage findByPrimaryKey(long analyticsDeleteMessageId) throws NoSuchDeleteMessageException
      Returns the analytics delete message with the primary key or throws a NoSuchDeleteMessageException if it could not be found.
      Parameters:
      analyticsDeleteMessageId - the primary key of the analytics delete message
      Returns:
      the analytics delete message
      Throws:
      NoSuchDeleteMessageException - if a analytics delete message with the primary key could not be found
    • fetchByPrimaryKey

      AnalyticsDeleteMessage fetchByPrimaryKey(long analyticsDeleteMessageId)
      Returns the analytics delete message with the primary key or returns null if it could not be found.
      Parameters:
      analyticsDeleteMessageId - the primary key of the analytics delete message
      Returns:
      the analytics delete message, or null if a analytics delete message with the primary key could not be found
    • findAll

      Returns all the analytics delete messages.
      Returns:
      the analytics delete messages
    • findAll

      List<AnalyticsDeleteMessage> findAll(int start, int end)
      Returns a range of all the analytics delete messages.

      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 AnalyticsDeleteMessageModelImpl.

      Parameters:
      start - the lower bound of the range of analytics delete messages
      end - the upper bound of the range of analytics delete messages (not inclusive)
      Returns:
      the range of analytics delete messages
    • findAll

      List<AnalyticsDeleteMessage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
      Returns an ordered range of all the analytics delete messages.

      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 AnalyticsDeleteMessageModelImpl.

      Parameters:
      start - the lower bound of the range of analytics delete messages
      end - the upper bound of the range of analytics delete messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of analytics delete messages
    • findAll

      List<AnalyticsDeleteMessage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the analytics delete messages.

      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 AnalyticsDeleteMessageModelImpl.

      Parameters:
      start - the lower bound of the range of analytics delete messages
      end - the upper bound of the range of analytics delete messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of analytics delete messages
    • removeAll

      void removeAll()
      Removes all the analytics delete messages from the database.
    • countAll

      int countAll()
      Returns the number of analytics delete messages.
      Returns:
      the number of analytics delete messages