Interface DispatchLogPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DispatchLog>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(DispatchLog dispatchLog) Caches the dispatch log in the entity cache if it is enabled.voidcacheResult(List<DispatchLog> dispatchLogs) Caches the dispatch logs in the entity cache if it is enabled.intcountAll()Returns the number of dispatch logs.intcountByDispatchTriggerId(long dispatchTriggerId) Returns the number of dispatch logs where dispatchTriggerId = ?.intcountByDTI_S(long dispatchTriggerId, int status) Returns the number of dispatch logs where dispatchTriggerId = ? and status = ?.create(long dispatchLogId) Creates a new dispatch log with the primary key.fetchByDispatchTriggerId_First(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns the first dispatch log in the ordered set where dispatchTriggerId = ?.fetchByDispatchTriggerId_Last(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns the last dispatch log in the ordered set where dispatchTriggerId = ?.fetchByDTI_S_First(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns the first dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.fetchByDTI_S_Last(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns the last dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.fetchByPrimaryKey(long dispatchLogId) Returns the dispatch log with the primary key or returnsnullif it could not be found.findAll()Returns all the dispatch logs.findAll(int start, int end) Returns a range of all the dispatch logs.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns an ordered range of all the dispatch logs.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the dispatch logs.findByDispatchTriggerId(long dispatchTriggerId) Returns all the dispatch logs where dispatchTriggerId = ?.findByDispatchTriggerId(long dispatchTriggerId, int start, int end) Returns a range of all the dispatch logs where dispatchTriggerId = ?.findByDispatchTriggerId(long dispatchTriggerId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns an ordered range of all the dispatch logs where dispatchTriggerId = ?.findByDispatchTriggerId(long dispatchTriggerId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the dispatch logs where dispatchTriggerId = ?.findByDispatchTriggerId_First(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns the first dispatch log in the ordered set where dispatchTriggerId = ?.findByDispatchTriggerId_Last(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns the last dispatch log in the ordered set where dispatchTriggerId = ?.findByDispatchTriggerId_PrevAndNext(long dispatchLogId, long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns the dispatch logs before and after the current dispatch log in the ordered set where dispatchTriggerId = ?.findByDTI_S(long dispatchTriggerId, int status) Returns all the dispatch logs where dispatchTriggerId = ? and status = ?.findByDTI_S(long dispatchTriggerId, int status, int start, int end) Returns a range of all the dispatch logs where dispatchTriggerId = ? and status = ?.findByDTI_S(long dispatchTriggerId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns an ordered range of all the dispatch logs where dispatchTriggerId = ? and status = ?.findByDTI_S(long dispatchTriggerId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the dispatch logs where dispatchTriggerId = ? and status = ?.findByDTI_S_First(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns the first dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.findByDTI_S_Last(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns the last dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.findByDTI_S_PrevAndNext(long dispatchLogId, long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns the dispatch logs before and after the current dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.findByPrimaryKey(long dispatchLogId) Returns the dispatch log with the primary key or throws aNoSuchLogExceptionif it could not be found.remove(long dispatchLogId) Removes the dispatch log with the primary key from the database.voidRemoves all the dispatch logs from the database.voidremoveByDispatchTriggerId(long dispatchTriggerId) Removes all the dispatch logs where dispatchTriggerId = ? from the database.voidremoveByDTI_S(long dispatchTriggerId, int status) Removes all the dispatch logs where dispatchTriggerId = ? and status = ? from the database.updateImpl(DispatchLog dispatchLog) 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, update
-
Method Details
-
findByDispatchTriggerId
Returns all the dispatch logs where dispatchTriggerId = ?.- Parameters:
dispatchTriggerId- the dispatch trigger ID- Returns:
- the matching dispatch logs
-
findByDispatchTriggerId
Returns a range of all the dispatch logs where dispatchTriggerId = ?.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 fromDispatchLogModelImpl.- Parameters:
dispatchTriggerId- the dispatch trigger IDstart- the lower bound of the range of dispatch logsend- the upper bound of the range of dispatch logs (not inclusive)- Returns:
- the range of matching dispatch logs
-
findByDispatchTriggerId
List<DispatchLog> findByDispatchTriggerId(long dispatchTriggerId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns an ordered range of all the dispatch logs where dispatchTriggerId = ?.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 fromDispatchLogModelImpl.- Parameters:
dispatchTriggerId- the dispatch trigger IDstart- the lower bound of the range of dispatch logsend- the upper bound of the range of dispatch logs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching dispatch logs
-
findByDispatchTriggerId
List<DispatchLog> findByDispatchTriggerId(long dispatchTriggerId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the dispatch logs where dispatchTriggerId = ?.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 fromDispatchLogModelImpl.- Parameters:
dispatchTriggerId- the dispatch trigger IDstart- the lower bound of the range of dispatch logsend- the upper bound of the range of dispatch logs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching dispatch logs
-
findByDispatchTriggerId_First
DispatchLog findByDispatchTriggerId_First(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException Returns the first dispatch log in the ordered set where dispatchTriggerId = ?.- Parameters:
dispatchTriggerId- the dispatch trigger IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch log
- Throws:
NoSuchLogException- if a matching dispatch log could not be found
-
fetchByDispatchTriggerId_First
DispatchLog fetchByDispatchTriggerId_First(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns the first dispatch log in the ordered set where dispatchTriggerId = ?.- Parameters:
dispatchTriggerId- the dispatch trigger IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch log, or
nullif a matching dispatch log could not be found
-
findByDispatchTriggerId_Last
DispatchLog findByDispatchTriggerId_Last(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException Returns the last dispatch log in the ordered set where dispatchTriggerId = ?.- Parameters:
dispatchTriggerId- the dispatch trigger IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch log
- Throws:
NoSuchLogException- if a matching dispatch log could not be found
-
fetchByDispatchTriggerId_Last
DispatchLog fetchByDispatchTriggerId_Last(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns the last dispatch log in the ordered set where dispatchTriggerId = ?.- Parameters:
dispatchTriggerId- the dispatch trigger IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch log, or
nullif a matching dispatch log could not be found
-
findByDispatchTriggerId_PrevAndNext
DispatchLog[] findByDispatchTriggerId_PrevAndNext(long dispatchLogId, long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException Returns the dispatch logs before and after the current dispatch log in the ordered set where dispatchTriggerId = ?.- Parameters:
dispatchLogId- the primary key of the current dispatch logdispatchTriggerId- the dispatch trigger IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next dispatch log
- Throws:
NoSuchLogException- if a dispatch log with the primary key could not be found
-
removeByDispatchTriggerId
void removeByDispatchTriggerId(long dispatchTriggerId) Removes all the dispatch logs where dispatchTriggerId = ? from the database.- Parameters:
dispatchTriggerId- the dispatch trigger ID
-
countByDispatchTriggerId
int countByDispatchTriggerId(long dispatchTriggerId) Returns the number of dispatch logs where dispatchTriggerId = ?.- Parameters:
dispatchTriggerId- the dispatch trigger ID- Returns:
- the number of matching dispatch logs
-
findByDTI_S
Returns all the dispatch logs where dispatchTriggerId = ? and status = ?.- Parameters:
dispatchTriggerId- the dispatch trigger IDstatus- the status- Returns:
- the matching dispatch logs
-
findByDTI_S
Returns a range of all the dispatch logs where dispatchTriggerId = ? and status = ?.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 fromDispatchLogModelImpl.- Parameters:
dispatchTriggerId- the dispatch trigger IDstatus- the statusstart- the lower bound of the range of dispatch logsend- the upper bound of the range of dispatch logs (not inclusive)- Returns:
- the range of matching dispatch logs
-
findByDTI_S
List<DispatchLog> findByDTI_S(long dispatchTriggerId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns an ordered range of all the dispatch logs where dispatchTriggerId = ? and status = ?.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 fromDispatchLogModelImpl.- Parameters:
dispatchTriggerId- the dispatch trigger IDstatus- the statusstart- the lower bound of the range of dispatch logsend- the upper bound of the range of dispatch logs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching dispatch logs
-
findByDTI_S
List<DispatchLog> findByDTI_S(long dispatchTriggerId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the dispatch logs where dispatchTriggerId = ? and status = ?.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 fromDispatchLogModelImpl.- Parameters:
dispatchTriggerId- the dispatch trigger IDstatus- the statusstart- the lower bound of the range of dispatch logsend- the upper bound of the range of dispatch logs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching dispatch logs
-
findByDTI_S_First
DispatchLog findByDTI_S_First(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException Returns the first dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.- Parameters:
dispatchTriggerId- the dispatch trigger IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch log
- Throws:
NoSuchLogException- if a matching dispatch log could not be found
-
fetchByDTI_S_First
DispatchLog fetchByDTI_S_First(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns the first dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.- Parameters:
dispatchTriggerId- the dispatch trigger IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch log, or
nullif a matching dispatch log could not be found
-
findByDTI_S_Last
DispatchLog findByDTI_S_Last(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException Returns the last dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.- Parameters:
dispatchTriggerId- the dispatch trigger IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch log
- Throws:
NoSuchLogException- if a matching dispatch log could not be found
-
fetchByDTI_S_Last
DispatchLog fetchByDTI_S_Last(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns the last dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.- Parameters:
dispatchTriggerId- the dispatch trigger IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch log, or
nullif a matching dispatch log could not be found
-
findByDTI_S_PrevAndNext
DispatchLog[] findByDTI_S_PrevAndNext(long dispatchLogId, long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException Returns the dispatch logs before and after the current dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.- Parameters:
dispatchLogId- the primary key of the current dispatch logdispatchTriggerId- the dispatch trigger IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next dispatch log
- Throws:
NoSuchLogException- if a dispatch log with the primary key could not be found
-
removeByDTI_S
void removeByDTI_S(long dispatchTriggerId, int status) Removes all the dispatch logs where dispatchTriggerId = ? and status = ? from the database.- Parameters:
dispatchTriggerId- the dispatch trigger IDstatus- the status
-
countByDTI_S
int countByDTI_S(long dispatchTriggerId, int status) Returns the number of dispatch logs where dispatchTriggerId = ? and status = ?.- Parameters:
dispatchTriggerId- the dispatch trigger IDstatus- the status- Returns:
- the number of matching dispatch logs
-
cacheResult
Caches the dispatch log in the entity cache if it is enabled.- Parameters:
dispatchLog- the dispatch log
-
cacheResult
Caches the dispatch logs in the entity cache if it is enabled.- Parameters:
dispatchLogs- the dispatch logs
-
create
Creates a new dispatch log with the primary key. Does not add the dispatch log to the database.- Parameters:
dispatchLogId- the primary key for the new dispatch log- Returns:
- the new dispatch log
-
remove
Removes the dispatch log with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
dispatchLogId- the primary key of the dispatch log- Returns:
- the dispatch log that was removed
- Throws:
NoSuchLogException- if a dispatch log with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the dispatch log with the primary key or throws aNoSuchLogExceptionif it could not be found.- Parameters:
dispatchLogId- the primary key of the dispatch log- Returns:
- the dispatch log
- Throws:
NoSuchLogException- if a dispatch log with the primary key could not be found
-
fetchByPrimaryKey
Returns the dispatch log with the primary key or returnsnullif it could not be found.- Parameters:
dispatchLogId- the primary key of the dispatch log- Returns:
- the dispatch log, or
nullif a dispatch log with the primary key could not be found
-
findAll
List<DispatchLog> findAll()Returns all the dispatch logs.- Returns:
- the dispatch logs
-
findAll
Returns a range of all the dispatch logs.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 fromDispatchLogModelImpl.- Parameters:
start- the lower bound of the range of dispatch logsend- the upper bound of the range of dispatch logs (not inclusive)- Returns:
- the range of dispatch logs
-
findAll
List<DispatchLog> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) Returns an ordered range of all the dispatch logs.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 fromDispatchLogModelImpl.- Parameters:
start- the lower bound of the range of dispatch logsend- the upper bound of the range of dispatch logs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of dispatch logs
-
findAll
List<DispatchLog> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator, boolean useFinderCache) Returns an ordered range of all the dispatch logs.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 fromDispatchLogModelImpl.- Parameters:
start- the lower bound of the range of dispatch logsend- the upper bound of the range of dispatch logs (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of dispatch logs
-
removeAll
void removeAll()Removes all the dispatch logs from the database. -
countAll
int countAll()Returns the number of dispatch logs.- Returns:
- the number of dispatch logs
-