@ProviderType public interface DispatchLogPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DispatchLog>
Caching information and settings can be found in portal.properties
DispatchLogUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(DispatchLog dispatchLog)
Caches the dispatch log in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<DispatchLog> dispatchLogs)
Caches the dispatch logs in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of dispatch logs.
|
int |
countByDispatchTriggerId(long dispatchTriggerId)
Returns the number of dispatch logs where dispatchTriggerId = ?.
|
int |
countByDTI_S(long dispatchTriggerId,
int status)
Returns the number of dispatch logs where dispatchTriggerId = ? and status = ?.
|
DispatchLog |
create(long dispatchLogId)
Creates a new dispatch log with the primary key.
|
DispatchLog |
fetchByDispatchTriggerId_First(long dispatchTriggerId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
Returns the first dispatch log in the ordered set where dispatchTriggerId = ?.
|
DispatchLog |
fetchByDispatchTriggerId_Last(long dispatchTriggerId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
Returns the last dispatch log in the ordered set where dispatchTriggerId = ?.
|
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 = ?.
|
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 = ?.
|
DispatchLog |
fetchByPrimaryKey(long dispatchLogId)
Returns the dispatch log with the primary key or returns
null if it could not be found. |
java.util.List<DispatchLog> |
findAll()
Returns all the dispatch logs.
|
java.util.List<DispatchLog> |
findAll(int start,
int end)
Returns a range of all the dispatch logs.
|
java.util.List<DispatchLog> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
Returns an ordered range of all the dispatch logs.
|
java.util.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.
|
DispatchLog |
findByDispatchTriggerId_First(long dispatchTriggerId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
Returns the first dispatch log in the ordered set where dispatchTriggerId = ?.
|
DispatchLog |
findByDispatchTriggerId_Last(long dispatchTriggerId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
Returns the last dispatch log in the ordered set where dispatchTriggerId = ?.
|
DispatchLog[] |
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 = ?.
|
java.util.List<DispatchLog> |
findByDispatchTriggerId(long dispatchTriggerId)
Returns all the dispatch logs where dispatchTriggerId = ?.
|
java.util.List<DispatchLog> |
findByDispatchTriggerId(long dispatchTriggerId,
int start,
int end)
Returns a range of all the dispatch logs where dispatchTriggerId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
DispatchLog |
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 = ?.
|
DispatchLog |
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 = ?.
|
DispatchLog[] |
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 = ?.
|
java.util.List<DispatchLog> |
findByDTI_S(long dispatchTriggerId,
int status)
Returns all the dispatch logs where dispatchTriggerId = ? and status = ?.
|
java.util.List<DispatchLog> |
findByDTI_S(long dispatchTriggerId,
int status,
int start,
int end)
Returns a range of all the dispatch logs where dispatchTriggerId = ? and status = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
DispatchLog |
findByPrimaryKey(long dispatchLogId)
Returns the dispatch log with the primary key or throws a
NoSuchLogException if it could not be found. |
DispatchLog |
remove(long dispatchLogId)
Removes the dispatch log with the primary key from the database.
|
void |
removeAll()
Removes all the dispatch logs from the database.
|
void |
removeByDispatchTriggerId(long dispatchTriggerId)
Removes all the dispatch logs where dispatchTriggerId = ? from the database.
|
void |
removeByDTI_S(long dispatchTriggerId,
int status)
Removes all the dispatch logs where dispatchTriggerId = ? and status = ? from the database.
|
DispatchLog |
updateImpl(DispatchLog dispatchLog) |
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<DispatchLog> findByDispatchTriggerId(long dispatchTriggerId)
dispatchTriggerId
- the dispatch trigger IDjava.util.List<DispatchLog> findByDispatchTriggerId(long dispatchTriggerId, 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 DispatchLogModelImpl
.
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)java.util.List<DispatchLog> findByDispatchTriggerId(long dispatchTriggerId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> 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 DispatchLogModelImpl
.
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 (optionally null
)java.util.List<DispatchLog> findByDispatchTriggerId(long dispatchTriggerId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> 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 DispatchLogModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheDispatchLog findByDispatchTriggerId_First(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException
dispatchTriggerId
- the dispatch trigger IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLogException
- if a matching dispatch log could not be foundDispatchLog fetchByDispatchTriggerId_First(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
dispatchTriggerId
- the dispatch trigger IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dispatch log could not be foundDispatchLog findByDispatchTriggerId_Last(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException
dispatchTriggerId
- the dispatch trigger IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLogException
- if a matching dispatch log could not be foundDispatchLog fetchByDispatchTriggerId_Last(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
dispatchTriggerId
- the dispatch trigger IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dispatch log could not be foundDispatchLog[] findByDispatchTriggerId_PrevAndNext(long dispatchLogId, long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException
dispatchLogId
- the primary key of the current dispatch logdispatchTriggerId
- the dispatch trigger IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLogException
- if a dispatch log with the primary key could not be foundvoid removeByDispatchTriggerId(long dispatchTriggerId)
dispatchTriggerId
- the dispatch trigger IDint countByDispatchTriggerId(long dispatchTriggerId)
dispatchTriggerId
- the dispatch trigger IDjava.util.List<DispatchLog> findByDTI_S(long dispatchTriggerId, int status)
dispatchTriggerId
- the dispatch trigger IDstatus
- the statusjava.util.List<DispatchLog> findByDTI_S(long dispatchTriggerId, int status, 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 DispatchLogModelImpl
.
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)java.util.List<DispatchLog> findByDTI_S(long dispatchTriggerId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> 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 DispatchLogModelImpl
.
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 (optionally null
)java.util.List<DispatchLog> findByDTI_S(long dispatchTriggerId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> 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 DispatchLogModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheDispatchLog findByDTI_S_First(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException
dispatchTriggerId
- the dispatch trigger IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLogException
- if a matching dispatch log could not be foundDispatchLog fetchByDTI_S_First(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
dispatchTriggerId
- the dispatch trigger IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dispatch log could not be foundDispatchLog findByDTI_S_Last(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException
dispatchTriggerId
- the dispatch trigger IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLogException
- if a matching dispatch log could not be foundDispatchLog fetchByDTI_S_Last(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
dispatchTriggerId
- the dispatch trigger IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dispatch log could not be foundDispatchLog[] findByDTI_S_PrevAndNext(long dispatchLogId, long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException
dispatchLogId
- the primary key of the current dispatch logdispatchTriggerId
- the dispatch trigger IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLogException
- if a dispatch log with the primary key could not be foundvoid removeByDTI_S(long dispatchTriggerId, int status)
dispatchTriggerId
- the dispatch trigger IDstatus
- the statusint countByDTI_S(long dispatchTriggerId, int status)
dispatchTriggerId
- the dispatch trigger IDstatus
- the statusvoid cacheResult(DispatchLog dispatchLog)
dispatchLog
- the dispatch logvoid cacheResult(java.util.List<DispatchLog> dispatchLogs)
dispatchLogs
- the dispatch logsDispatchLog create(long dispatchLogId)
dispatchLogId
- the primary key for the new dispatch logDispatchLog remove(long dispatchLogId) throws NoSuchLogException
dispatchLogId
- the primary key of the dispatch logNoSuchLogException
- if a dispatch log with the primary key could not be foundDispatchLog updateImpl(DispatchLog dispatchLog)
DispatchLog findByPrimaryKey(long dispatchLogId) throws NoSuchLogException
NoSuchLogException
if it could not be found.dispatchLogId
- the primary key of the dispatch logNoSuchLogException
- if a dispatch log with the primary key could not be foundDispatchLog fetchByPrimaryKey(long dispatchLogId)
null
if it could not be found.dispatchLogId
- the primary key of the dispatch lognull
if a dispatch log with the primary key could not be foundjava.util.List<DispatchLog> findAll()
java.util.List<DispatchLog> 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 DispatchLogModelImpl
.
start
- the lower bound of the range of dispatch logsend
- the upper bound of the range of dispatch logs (not inclusive)java.util.List<DispatchLog> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> 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 DispatchLogModelImpl
.
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 (optionally null
)java.util.List<DispatchLog> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> 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 DispatchLogModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()