@ProviderType public interface AnalyticsDeleteMessagePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AnalyticsDeleteMessage>
Caching information and settings can be found in portal.properties
AnalyticsDeleteMessageUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(AnalyticsDeleteMessage analyticsDeleteMessage)
Caches the analytics delete message in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<AnalyticsDeleteMessage> analyticsDeleteMessages)
Caches the analytics delete messages in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of analytics delete messages.
|
int |
countByC_GtM(long companyId,
java.util.Date modifiedDate)
Returns the number of analytics delete messages where companyId = ? and modifiedDate > ?.
|
int |
countByCompanyId(long companyId)
Returns the number of analytics delete messages where companyId = ?.
|
AnalyticsDeleteMessage |
create(long analyticsDeleteMessageId)
Creates a new analytics delete message with the primary key.
|
AnalyticsDeleteMessage |
fetchByC_GtM_First(long companyId,
java.util.Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
Returns the first analytics delete message in the ordered set where companyId = ? and modifiedDate > ?.
|
AnalyticsDeleteMessage |
fetchByC_GtM_Last(long companyId,
java.util.Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
Returns the last analytics delete message in the ordered set where companyId = ? and modifiedDate > ?.
|
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 = ?.
|
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 = ?.
|
AnalyticsDeleteMessage |
fetchByPrimaryKey(long analyticsDeleteMessageId)
Returns the analytics delete message with the primary key or returns
null if it could not be found. |
java.util.List<AnalyticsDeleteMessage> |
findAll()
Returns all the analytics delete messages.
|
java.util.List<AnalyticsDeleteMessage> |
findAll(int start,
int end)
Returns a range of all the analytics delete messages.
|
java.util.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.
|
java.util.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.
|
AnalyticsDeleteMessage |
findByC_GtM_First(long companyId,
java.util.Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
Returns the first analytics delete message in the ordered set where companyId = ? and modifiedDate > ?.
|
AnalyticsDeleteMessage |
findByC_GtM_Last(long companyId,
java.util.Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
Returns the last analytics delete message in the ordered set where companyId = ? and modifiedDate > ?.
|
AnalyticsDeleteMessage[] |
findByC_GtM_PrevAndNext(long analyticsDeleteMessageId,
long companyId,
java.util.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 > ?.
|
java.util.List<AnalyticsDeleteMessage> |
findByC_GtM(long companyId,
java.util.Date modifiedDate)
Returns all the analytics delete messages where companyId = ? and modifiedDate > ?.
|
java.util.List<AnalyticsDeleteMessage> |
findByC_GtM(long companyId,
java.util.Date modifiedDate,
int start,
int end)
Returns a range of all the analytics delete messages where companyId = ? and modifiedDate > ?.
|
java.util.List<AnalyticsDeleteMessage> |
findByC_GtM(long companyId,
java.util.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 > ?.
|
java.util.List<AnalyticsDeleteMessage> |
findByC_GtM(long companyId,
java.util.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 > ?.
|
AnalyticsDeleteMessage |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
Returns the first analytics delete message in the ordered set where companyId = ?.
|
AnalyticsDeleteMessage |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
Returns the last analytics delete message in the ordered set where companyId = ?.
|
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 = ?.
|
java.util.List<AnalyticsDeleteMessage> |
findByCompanyId(long companyId)
Returns all the analytics delete messages where companyId = ?.
|
java.util.List<AnalyticsDeleteMessage> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the analytics delete messages where companyId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
AnalyticsDeleteMessage |
findByPrimaryKey(long analyticsDeleteMessageId)
Returns the analytics delete message with the primary key or throws a
NoSuchDeleteMessageException if it could not be found. |
AnalyticsDeleteMessage |
remove(long analyticsDeleteMessageId)
Removes the analytics delete message with the primary key from the database.
|
void |
removeAll()
Removes all the analytics delete messages from the database.
|
void |
removeByC_GtM(long companyId,
java.util.Date modifiedDate)
Removes all the analytics delete messages where companyId = ? and modifiedDate > ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the analytics delete messages where companyId = ? from the database.
|
AnalyticsDeleteMessage |
updateImpl(AnalyticsDeleteMessage analyticsDeleteMessage) |
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, setDataSource, unregisterListener, update, update
java.util.List<AnalyticsDeleteMessage> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<AnalyticsDeleteMessage> findByCompanyId(long companyId, int start, int end)
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
.
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)java.util.List<AnalyticsDeleteMessage> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
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
.
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 (optionally null
)java.util.List<AnalyticsDeleteMessage> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAnalyticsDeleteMessage findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) throws NoSuchDeleteMessageException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDeleteMessageException
- if a matching analytics delete message could not be foundAnalyticsDeleteMessage fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching analytics delete message could not be foundAnalyticsDeleteMessage findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) throws NoSuchDeleteMessageException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDeleteMessageException
- if a matching analytics delete message could not be foundAnalyticsDeleteMessage fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching analytics delete message could not be foundAnalyticsDeleteMessage[] findByCompanyId_PrevAndNext(long analyticsDeleteMessageId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) throws NoSuchDeleteMessageException
analyticsDeleteMessageId
- the primary key of the current analytics delete messagecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDeleteMessageException
- if a analytics delete message with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<AnalyticsDeleteMessage> findByC_GtM(long companyId, java.util.Date modifiedDate)
companyId
- the company IDmodifiedDate
- the modified datejava.util.List<AnalyticsDeleteMessage> findByC_GtM(long companyId, java.util.Date modifiedDate, int start, int end)
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
.
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)java.util.List<AnalyticsDeleteMessage> findByC_GtM(long companyId, java.util.Date modifiedDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
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
.
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 (optionally null
)java.util.List<AnalyticsDeleteMessage> findByC_GtM(long companyId, java.util.Date modifiedDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheAnalyticsDeleteMessage findByC_GtM_First(long companyId, java.util.Date modifiedDate, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) throws NoSuchDeleteMessageException
companyId
- the company IDmodifiedDate
- the modified dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDeleteMessageException
- if a matching analytics delete message could not be foundAnalyticsDeleteMessage fetchByC_GtM_First(long companyId, java.util.Date modifiedDate, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
companyId
- the company IDmodifiedDate
- the modified dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching analytics delete message could not be foundAnalyticsDeleteMessage findByC_GtM_Last(long companyId, java.util.Date modifiedDate, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) throws NoSuchDeleteMessageException
companyId
- the company IDmodifiedDate
- the modified dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDeleteMessageException
- if a matching analytics delete message could not be foundAnalyticsDeleteMessage fetchByC_GtM_Last(long companyId, java.util.Date modifiedDate, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
companyId
- the company IDmodifiedDate
- the modified dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching analytics delete message could not be foundAnalyticsDeleteMessage[] findByC_GtM_PrevAndNext(long analyticsDeleteMessageId, long companyId, java.util.Date modifiedDate, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator) throws NoSuchDeleteMessageException
analyticsDeleteMessageId
- the primary key of the current analytics delete messagecompanyId
- the company IDmodifiedDate
- the modified dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDeleteMessageException
- if a analytics delete message with the primary key could not be foundvoid removeByC_GtM(long companyId, java.util.Date modifiedDate)
companyId
- the company IDmodifiedDate
- the modified dateint countByC_GtM(long companyId, java.util.Date modifiedDate)
companyId
- the company IDmodifiedDate
- the modified datevoid cacheResult(AnalyticsDeleteMessage analyticsDeleteMessage)
analyticsDeleteMessage
- the analytics delete messagevoid cacheResult(java.util.List<AnalyticsDeleteMessage> analyticsDeleteMessages)
analyticsDeleteMessages
- the analytics delete messagesAnalyticsDeleteMessage create(long analyticsDeleteMessageId)
analyticsDeleteMessageId
- the primary key for the new analytics delete messageAnalyticsDeleteMessage remove(long analyticsDeleteMessageId) throws NoSuchDeleteMessageException
analyticsDeleteMessageId
- the primary key of the analytics delete messageNoSuchDeleteMessageException
- if a analytics delete message with the primary key could not be foundAnalyticsDeleteMessage updateImpl(AnalyticsDeleteMessage analyticsDeleteMessage)
AnalyticsDeleteMessage findByPrimaryKey(long analyticsDeleteMessageId) throws NoSuchDeleteMessageException
NoSuchDeleteMessageException
if it could not be found.analyticsDeleteMessageId
- the primary key of the analytics delete messageNoSuchDeleteMessageException
- if a analytics delete message with the primary key could not be foundAnalyticsDeleteMessage fetchByPrimaryKey(long analyticsDeleteMessageId)
null
if it could not be found.analyticsDeleteMessageId
- the primary key of the analytics delete messagenull
if a analytics delete message with the primary key could not be foundjava.util.List<AnalyticsDeleteMessage> findAll()
java.util.List<AnalyticsDeleteMessage> findAll(int start, int end)
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
.
start
- the lower bound of the range of analytics delete messagesend
- the upper bound of the range of analytics delete messages (not inclusive)java.util.List<AnalyticsDeleteMessage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator)
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
.
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 (optionally null
)java.util.List<AnalyticsDeleteMessage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AnalyticsDeleteMessage> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()