Interface AnalyticsDeleteMessagePersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<AnalyticsDeleteMessage>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<AnalyticsDeleteMessage>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(AnalyticsDeleteMessage analyticsDeleteMessage) Caches the analytics delete message in the entity cache if it is enabled.voidcacheResult(List<AnalyticsDeleteMessage> analyticsDeleteMessages) Caches the analytics delete messages in the entity cache if it is enabled.intcountAll()Returns the number of analytics delete messages.intcountByC_GtM(long companyId, Date modifiedDate) Returns the number of analytics delete messages where companyId = ? and modifiedDate > ?.intcountByCompanyId(long companyId) Returns the number of analytics delete messages where companyId = ?.create(long analyticsDeleteMessageId) Creates a new analytics delete message with the primary key.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 > ?.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 > ?.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) Returns the first analytics delete message in the ordered set where companyId = ?.fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) Returns the last analytics delete message in the ordered set where companyId = ?.fetchByPrimaryKey(long analyticsDeleteMessageId) Returns the analytics delete message with the primary key or returnsnullif it could not be found.findAll()Returns all the analytics delete messages.findAll(int start, int end) Returns a range of all the analytics delete messages.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) Returns an ordered range of all the analytics delete messages.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.findByC_GtM(long companyId, Date modifiedDate) Returns all the analytics delete messages where companyId = ? and modifiedDate > ?.findByC_GtM(long companyId, Date modifiedDate, int start, int end) Returns a range of all the analytics delete messages where companyId = ? and modifiedDate > ?.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 > ?.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 > ?.findByC_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 > ?.findByC_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 > ?.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 > ?.findByCompanyId(long companyId) Returns all the analytics delete messages where companyId = ?.findByCompanyId(long companyId, int start, int end) Returns a range of all the analytics delete messages where companyId = ?.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 = ?.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 = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) Returns the first analytics delete message in the ordered set where companyId = ?.findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) Returns the last analytics delete message in the ordered set where companyId = ?.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 = ?.findByPrimaryKey(long analyticsDeleteMessageId) Returns the analytics delete message with the primary key or throws aNoSuchDeleteMessageExceptionif it could not be found.remove(long analyticsDeleteMessageId) Removes the analytics delete message with the primary key from the database.voidRemoves all the analytics delete messages from the database.voidremoveByC_GtM(long companyId, Date modifiedDate) Removes all the analytics delete messages where companyId = ? and modifiedDate > ? from the database.voidremoveByCompanyId(long companyId) Removes all the analytics delete messages where companyId = ? from the database.updateImpl(AnalyticsDeleteMessage analyticsDeleteMessage) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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
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
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
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 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 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
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 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 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
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 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
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
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
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
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
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 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 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
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 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 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
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 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
-
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
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
-
findByPrimaryKey
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 found
-
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
List<AnalyticsDeleteMessage> 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
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
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
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
-