Class AnalyticsDeleteMessageUtil
com.liferay.analytics.message.storage.service.persistence.impl.AnalyticsDeleteMessagePersistenceImpl 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(AnalyticsDeleteMessage analyticsDeleteMessage) Caches the analytics delete message in the entity cache if it is enabled.static voidcacheResult(List<AnalyticsDeleteMessage> analyticsDeleteMessages) Caches the analytics delete messages in the entity cache if it is enabled.static voidstatic voidclearCache(AnalyticsDeleteMessage analyticsDeleteMessage) static intcountAll()Returns the number of analytics delete messages.static intcountByC_GtM(long companyId, Date modifiedDate) Returns the number of analytics delete messages where companyId = ? and modifiedDate > ?.static intcountByCompanyId(long companyId) Returns the number of analytics delete messages where companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static AnalyticsDeleteMessagecreate(long analyticsDeleteMessageId) Creates a new analytics delete message with the primary key.static AnalyticsDeleteMessagefetchByC_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 > ?.static AnalyticsDeleteMessagefetchByC_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 > ?.static AnalyticsDeleteMessagefetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) Returns the first analytics delete message in the ordered set where companyId = ?.static AnalyticsDeleteMessagefetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) Returns the last analytics delete message in the ordered set where companyId = ?.static AnalyticsDeleteMessagefetchByPrimaryKey(long analyticsDeleteMessageId) Returns the analytics delete message with the primary key or returnsnullif it could not be found.static Map<Serializable,AnalyticsDeleteMessage> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<AnalyticsDeleteMessage>findAll()Returns all the analytics delete messages.static List<AnalyticsDeleteMessage>findAll(int start, int end) Returns a range of all the analytics delete messages.static 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.static 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.static List<AnalyticsDeleteMessage>findByC_GtM(long companyId, Date modifiedDate) Returns all the analytics delete messages where companyId = ? and modifiedDate > ?.static 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 > ?.static 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 > ?.static 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 > ?.static AnalyticsDeleteMessagefindByC_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 > ?.static AnalyticsDeleteMessagefindByC_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 > ?.static AnalyticsDeleteMessage[]findByC_GtM_PrevAndNext(long analyticsDeleteMessageId, long companyId, Date modifiedDate, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) Returns the analytics delete messages before and after the current analytics delete message in the ordered set where companyId = ? and modifiedDate > ?.static List<AnalyticsDeleteMessage>findByCompanyId(long companyId) Returns all the analytics delete messages where companyId = ?.static List<AnalyticsDeleteMessage>findByCompanyId(long companyId, int start, int end) Returns a range of all the analytics delete messages where companyId = ?.static 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 = ?.static 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 = ?.static AnalyticsDeleteMessagefindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) Returns the first analytics delete message in the ordered set where companyId = ?.static AnalyticsDeleteMessagefindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) Returns the last analytics delete message in the ordered set where companyId = ?.static AnalyticsDeleteMessage[]findByCompanyId_PrevAndNext(long analyticsDeleteMessageId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) Returns the analytics delete messages before and after the current analytics delete message in the ordered set where companyId = ?.static AnalyticsDeleteMessagefindByPrimaryKey(long analyticsDeleteMessageId) Returns the analytics delete message with the primary key or throws aNoSuchDeleteMessageExceptionif it could not be found.static List<AnalyticsDeleteMessage>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<AnalyticsDeleteMessage>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<AnalyticsDeleteMessage>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) static AnalyticsDeleteMessageremove(long analyticsDeleteMessageId) Removes the analytics delete message with the primary key from the database.static voidRemoves all the analytics delete messages from the database.static voidremoveByC_GtM(long companyId, Date modifiedDate) Removes all the analytics delete messages where companyId = ? and modifiedDate > ? from the database.static voidremoveByCompanyId(long companyId) Removes all the analytics delete messages where companyId = ? from the database.static voidsetPersistence(AnalyticsDeleteMessagePersistence persistence) static AnalyticsDeleteMessageupdate(AnalyticsDeleteMessage analyticsDeleteMessage) static AnalyticsDeleteMessageupdate(AnalyticsDeleteMessage analyticsDeleteMessage, com.liferay.portal.kernel.service.ServiceContext serviceContext) static AnalyticsDeleteMessageupdateImpl(AnalyticsDeleteMessage analyticsDeleteMessage)
-
Constructor Details
-
AnalyticsDeleteMessageUtil
public AnalyticsDeleteMessageUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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,AnalyticsDeleteMessage> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<AnalyticsDeleteMessage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<AnalyticsDeleteMessage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<AnalyticsDeleteMessage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static AnalyticsDeleteMessage update(AnalyticsDeleteMessage analyticsDeleteMessage, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByCompanyId
Returns all the analytics delete messages where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching analytics delete messages
-
findByCompanyId
Returns a range of all the analytics delete messages where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsDeleteMessageModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of analytics delete messagesend- the upper bound of the range of analytics delete messages (not inclusive)- Returns:
- the range of matching analytics delete messages
-
findByCompanyId
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsDeleteMessageModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of analytics delete messagesend- the upper bound of the range of analytics delete messages (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching analytics delete messages
-
findByCompanyId
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsDeleteMessageModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of analytics delete messagesend- the upper bound of the range of analytics delete messages (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching analytics delete messages
-
findByCompanyId_First
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching analytics delete message
- Throws:
NoSuchDeleteMessageException- if a matching analytics delete message could not be foundNoSuchDeleteMessageException
-
fetchByCompanyId_First
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching analytics delete message, or
nullif a matching analytics delete message could not be found
-
findByCompanyId_Last
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching analytics delete message
- Throws:
NoSuchDeleteMessageException- if a matching analytics delete message could not be foundNoSuchDeleteMessageException
-
fetchByCompanyId_Last
public static 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching analytics delete message, or
nullif a matching analytics delete message could not be found
-
findByCompanyId_PrevAndNext
public static 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 messagecompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next analytics delete message
- Throws:
NoSuchDeleteMessageException- if a analytics delete message with the primary key could not be foundNoSuchDeleteMessageException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the analytics delete messages where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static 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
Returns all the analytics delete messages where companyId = ? and modifiedDate > ?.- Parameters:
companyId- the company IDmodifiedDate- the modified date- Returns:
- the matching analytics delete messages
-
findByC_GtM
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsDeleteMessageModelImpl.- Parameters:
companyId- the company IDmodifiedDate- the modified datestart- the lower bound of the range of analytics delete messagesend- the upper bound of the range of analytics delete messages (not inclusive)- Returns:
- the range of matching analytics delete messages
-
findByC_GtM
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsDeleteMessageModelImpl.- Parameters:
companyId- the company IDmodifiedDate- the modified datestart- the lower bound of the range of analytics delete messagesend- the upper bound of the range of analytics delete messages (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching analytics delete messages
-
findByC_GtM
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsDeleteMessageModelImpl.- Parameters:
companyId- the company IDmodifiedDate- the modified datestart- the lower bound of the range of analytics delete messagesend- the upper bound of the range of analytics delete messages (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching analytics delete messages
-
findByC_GtM_First
public static 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 IDmodifiedDate- the modified dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching analytics delete message
- Throws:
NoSuchDeleteMessageException- if a matching analytics delete message could not be foundNoSuchDeleteMessageException
-
fetchByC_GtM_First
public static 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 IDmodifiedDate- the modified dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching analytics delete message, or
nullif a matching analytics delete message could not be found
-
findByC_GtM_Last
public static 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 IDmodifiedDate- the modified dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching analytics delete message
- Throws:
NoSuchDeleteMessageException- if a matching analytics delete message could not be foundNoSuchDeleteMessageException
-
fetchByC_GtM_Last
public static 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 IDmodifiedDate- the modified dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching analytics delete message, or
nullif a matching analytics delete message could not be found
-
findByC_GtM_PrevAndNext
public static 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 messagecompanyId- the company IDmodifiedDate- the modified dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next analytics delete message
- Throws:
NoSuchDeleteMessageException- if a analytics delete message with the primary key could not be foundNoSuchDeleteMessageException
-
removeByC_GtM
Removes all the analytics delete messages where companyId = ? and modifiedDate > ? from the database.- Parameters:
companyId- the company IDmodifiedDate- the modified date
-
countByC_GtM
Returns the number of analytics delete messages where companyId = ? and modifiedDate > ?.- Parameters:
companyId- the company IDmodifiedDate- the modified date- Returns:
- the number of matching analytics delete messages
-
cacheResult
Caches the analytics delete message in the entity cache if it is enabled.- Parameters:
analyticsDeleteMessage- the analytics delete message
-
cacheResult
Caches the analytics delete messages in the entity cache if it is enabled.- Parameters:
analyticsDeleteMessages- the analytics delete messages
-
create
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
public static 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 foundNoSuchDeleteMessageException
-
updateImpl
-
findByPrimaryKey
public static AnalyticsDeleteMessage findByPrimaryKey(long analyticsDeleteMessageId) throws NoSuchDeleteMessageException Returns the analytics delete message with the primary key or throws aNoSuchDeleteMessageExceptionif 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 foundNoSuchDeleteMessageException
-
fetchByPrimaryKey
Returns the analytics delete message with the primary key or returnsnullif it could not be found.- Parameters:
analyticsDeleteMessageId- the primary key of the analytics delete message- Returns:
- the analytics delete message, or
nullif 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
Returns a range of all the analytics delete messages.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsDeleteMessageModelImpl.- Parameters:
start- the lower bound of the range of analytics delete messagesend- the upper bound of the range of analytics delete messages (not inclusive)- Returns:
- the range of analytics delete messages
-
findAll
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsDeleteMessageModelImpl.- Parameters:
start- the lower bound of the range of analytics delete messagesend- the upper bound of the range of analytics delete messages (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of analytics delete messages
-
findAll
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromAnalyticsDeleteMessageModelImpl.- Parameters:
start- the lower bound of the range of analytics delete messagesend- the upper bound of the range of analytics delete messages (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of analytics delete messages
-
removeAll
public static void removeAll()Removes all the analytics delete messages from the database. -
countAll
public static int countAll()Returns the number of analytics delete messages.- Returns:
- the number of analytics delete messages
-
getPersistence
-
setPersistence
-