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) static voidcacheResult(List<AnalyticsDeleteMessage> analyticsDeleteMessages) static voidstatic voidclearCache(AnalyticsDeleteMessage analyticsDeleteMessage) static intcountByC_GtM(long companyId, Date modifiedDate) Returns the number of analytics delete messages where companyId = ? and modifiedDate > ?.static intcountByC_LtM(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_LtM_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 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 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> 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 List<AnalyticsDeleteMessage> findByC_LtM(long companyId, Date modifiedDate) Returns all the analytics delete messages where companyId = ? and modifiedDate < ?.static List<AnalyticsDeleteMessage> findByC_LtM(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_LtM(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_LtM(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_LtM_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 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 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 voidremoveByC_GtM(long companyId, Date modifiedDate) Removes all the analytics delete messages where companyId = ? and modifiedDate > ? from the database.static voidremoveByC_LtM(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
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,AnalyticsDeleteMessage> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<AnalyticsDeleteMessage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<AnalyticsDeleteMessage> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
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:
-
update
- See Also:
-
update
public static AnalyticsDeleteMessage update(AnalyticsDeleteMessage analyticsDeleteMessage, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.analytics.message.storage.model.impl.AnalyticsDeleteMessageModelImpl.- 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
-
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
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.analytics.message.storage.model.impl.AnalyticsDeleteMessageModelImpl.- 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.analytics.message.storage.model.impl.AnalyticsDeleteMessageModelImpl.- 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.analytics.message.storage.model.impl.AnalyticsDeleteMessageModelImpl.- 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
-
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
-
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
-
findByC_LtM
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_LtM
public static List<AnalyticsDeleteMessage> findByC_LtM(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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.analytics.message.storage.model.impl.AnalyticsDeleteMessageModelImpl.- 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_LtM
public static List<AnalyticsDeleteMessage> findByC_LtM(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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.analytics.message.storage.model.impl.AnalyticsDeleteMessageModelImpl.- 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_LtM
public static List<AnalyticsDeleteMessage> findByC_LtM(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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.analytics.message.storage.model.impl.AnalyticsDeleteMessageModelImpl.- 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_LtM_First
public static AnalyticsDeleteMessage findByC_LtM_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
-
fetchByC_LtM_First
public static AnalyticsDeleteMessage fetchByC_LtM_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
-
removeByC_LtM
Removes all the analytics delete messages where companyId = ? and modifiedDate < ? from the database.- Parameters:
companyId- the company IDmodifiedDate- the modified date
-
countByC_LtM
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
-
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
-
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
-
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
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.analytics.message.storage.model.impl.AnalyticsDeleteMessageModelImpl.- 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.analytics.message.storage.model.impl.AnalyticsDeleteMessageModelImpl.- 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
-
getPersistence
-
setPersistence
-