@ProviderType public interface DispatchTriggerPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DispatchTrigger>
Caching information and settings can be found in portal.properties
DispatchTriggerUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(DispatchTrigger dispatchTrigger)
Caches the dispatch trigger in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<DispatchTrigger> dispatchTriggers)
Caches the dispatch triggers in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of dispatch triggers.
|
int |
countByA_DTCM(boolean active,
int dispatchTaskClusterMode)
Returns the number of dispatch triggers where active = ? and dispatchTaskClusterMode = ?.
|
int |
countByA_DTCM(boolean active,
int[] dispatchTaskClusterModes)
Returns the number of dispatch triggers where active = ? and dispatchTaskClusterMode = any ?.
|
int |
countByC_DTET(long companyId,
java.lang.String dispatchTaskExecutorType)
Returns the number of dispatch triggers where companyId = ? and dispatchTaskExecutorType = ?.
|
int |
countByC_N(long companyId,
java.lang.String name)
Returns the number of dispatch triggers where companyId = ? and name = ?.
|
int |
countByC_U(long companyId,
long userId)
Returns the number of dispatch triggers where companyId = ? and userId = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of dispatch triggers where companyId = ?.
|
DispatchTrigger |
create(long dispatchTriggerId)
Creates a new dispatch trigger with the primary key.
|
DispatchTrigger |
fetchByA_DTCM_First(boolean active,
int dispatchTaskClusterMode,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the first dispatch trigger in the ordered set where active = ? and dispatchTaskClusterMode = ?.
|
DispatchTrigger |
fetchByA_DTCM_Last(boolean active,
int dispatchTaskClusterMode,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the last dispatch trigger in the ordered set where active = ? and dispatchTaskClusterMode = ?.
|
DispatchTrigger |
fetchByC_DTET_First(long companyId,
java.lang.String dispatchTaskExecutorType,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the first dispatch trigger in the ordered set where companyId = ? and dispatchTaskExecutorType = ?.
|
DispatchTrigger |
fetchByC_DTET_Last(long companyId,
java.lang.String dispatchTaskExecutorType,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the last dispatch trigger in the ordered set where companyId = ? and dispatchTaskExecutorType = ?.
|
DispatchTrigger |
fetchByC_N(long companyId,
java.lang.String name)
Returns the dispatch trigger where companyId = ? and name = ? or returns
null if it could not be found. |
DispatchTrigger |
fetchByC_N(long companyId,
java.lang.String name,
boolean useFinderCache)
Returns the dispatch trigger where companyId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
DispatchTrigger |
fetchByC_U_First(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the first dispatch trigger in the ordered set where companyId = ? and userId = ?.
|
DispatchTrigger |
fetchByC_U_Last(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the last dispatch trigger in the ordered set where companyId = ? and userId = ?.
|
DispatchTrigger |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the first dispatch trigger in the ordered set where companyId = ?.
|
DispatchTrigger |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the last dispatch trigger in the ordered set where companyId = ?.
|
DispatchTrigger |
fetchByPrimaryKey(long dispatchTriggerId)
Returns the dispatch trigger with the primary key or returns
null if it could not be found. |
int |
filterCountByA_DTCM(boolean active,
int dispatchTaskClusterMode)
Returns the number of dispatch triggers that the user has permission to view where active = ? and dispatchTaskClusterMode = ?.
|
int |
filterCountByA_DTCM(boolean active,
int[] dispatchTaskClusterModes)
Returns the number of dispatch triggers that the user has permission to view where active = ? and dispatchTaskClusterMode = any ?.
|
int |
filterCountByC_DTET(long companyId,
java.lang.String dispatchTaskExecutorType)
Returns the number of dispatch triggers that the user has permission to view where companyId = ? and dispatchTaskExecutorType = ?.
|
int |
filterCountByC_U(long companyId,
long userId)
Returns the number of dispatch triggers that the user has permission to view where companyId = ? and userId = ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of dispatch triggers that the user has permission to view where companyId = ?.
|
DispatchTrigger[] |
filterFindByA_DTCM_PrevAndNext(long dispatchTriggerId,
boolean active,
int dispatchTaskClusterMode,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the dispatch triggers before and after the current dispatch trigger in the ordered set of dispatch triggers that the user has permission to view where active = ? and dispatchTaskClusterMode = ?.
|
java.util.List<DispatchTrigger> |
filterFindByA_DTCM(boolean active,
int dispatchTaskClusterMode)
Returns all the dispatch triggers that the user has permission to view where active = ? and dispatchTaskClusterMode = ?.
|
java.util.List<DispatchTrigger> |
filterFindByA_DTCM(boolean active,
int[] dispatchTaskClusterModes)
Returns all the dispatch triggers that the user has permission to view where active = ? and dispatchTaskClusterMode = any ?.
|
java.util.List<DispatchTrigger> |
filterFindByA_DTCM(boolean active,
int[] dispatchTaskClusterModes,
int start,
int end)
Returns a range of all the dispatch triggers that the user has permission to view where active = ? and dispatchTaskClusterMode = any ?.
|
java.util.List<DispatchTrigger> |
filterFindByA_DTCM(boolean active,
int[] dispatchTaskClusterModes,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns an ordered range of all the dispatch triggers that the user has permission to view where active = ? and dispatchTaskClusterMode = any ?.
|
java.util.List<DispatchTrigger> |
filterFindByA_DTCM(boolean active,
int dispatchTaskClusterMode,
int start,
int end)
Returns a range of all the dispatch triggers that the user has permission to view where active = ? and dispatchTaskClusterMode = ?.
|
java.util.List<DispatchTrigger> |
filterFindByA_DTCM(boolean active,
int dispatchTaskClusterMode,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns an ordered range of all the dispatch triggers that the user has permissions to view where active = ? and dispatchTaskClusterMode = ?.
|
DispatchTrigger[] |
filterFindByC_DTET_PrevAndNext(long dispatchTriggerId,
long companyId,
java.lang.String dispatchTaskExecutorType,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the dispatch triggers before and after the current dispatch trigger in the ordered set of dispatch triggers that the user has permission to view where companyId = ? and dispatchTaskExecutorType = ?.
|
java.util.List<DispatchTrigger> |
filterFindByC_DTET(long companyId,
java.lang.String dispatchTaskExecutorType)
Returns all the dispatch triggers that the user has permission to view where companyId = ? and dispatchTaskExecutorType = ?.
|
java.util.List<DispatchTrigger> |
filterFindByC_DTET(long companyId,
java.lang.String dispatchTaskExecutorType,
int start,
int end)
Returns a range of all the dispatch triggers that the user has permission to view where companyId = ? and dispatchTaskExecutorType = ?.
|
java.util.List<DispatchTrigger> |
filterFindByC_DTET(long companyId,
java.lang.String dispatchTaskExecutorType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns an ordered range of all the dispatch triggers that the user has permissions to view where companyId = ? and dispatchTaskExecutorType = ?.
|
DispatchTrigger[] |
filterFindByC_U_PrevAndNext(long dispatchTriggerId,
long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the dispatch triggers before and after the current dispatch trigger in the ordered set of dispatch triggers that the user has permission to view where companyId = ? and userId = ?.
|
java.util.List<DispatchTrigger> |
filterFindByC_U(long companyId,
long userId)
Returns all the dispatch triggers that the user has permission to view where companyId = ? and userId = ?.
|
java.util.List<DispatchTrigger> |
filterFindByC_U(long companyId,
long userId,
int start,
int end)
Returns a range of all the dispatch triggers that the user has permission to view where companyId = ? and userId = ?.
|
java.util.List<DispatchTrigger> |
filterFindByC_U(long companyId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns an ordered range of all the dispatch triggers that the user has permissions to view where companyId = ? and userId = ?.
|
DispatchTrigger[] |
filterFindByCompanyId_PrevAndNext(long dispatchTriggerId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the dispatch triggers before and after the current dispatch trigger in the ordered set of dispatch triggers that the user has permission to view where companyId = ?.
|
java.util.List<DispatchTrigger> |
filterFindByCompanyId(long companyId)
Returns all the dispatch triggers that the user has permission to view where companyId = ?.
|
java.util.List<DispatchTrigger> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the dispatch triggers that the user has permission to view where companyId = ?.
|
java.util.List<DispatchTrigger> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns an ordered range of all the dispatch triggers that the user has permissions to view where companyId = ?.
|
java.util.List<DispatchTrigger> |
findAll()
Returns all the dispatch triggers.
|
java.util.List<DispatchTrigger> |
findAll(int start,
int end)
Returns a range of all the dispatch triggers.
|
java.util.List<DispatchTrigger> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns an ordered range of all the dispatch triggers.
|
java.util.List<DispatchTrigger> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the dispatch triggers.
|
DispatchTrigger |
findByA_DTCM_First(boolean active,
int dispatchTaskClusterMode,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the first dispatch trigger in the ordered set where active = ? and dispatchTaskClusterMode = ?.
|
DispatchTrigger |
findByA_DTCM_Last(boolean active,
int dispatchTaskClusterMode,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the last dispatch trigger in the ordered set where active = ? and dispatchTaskClusterMode = ?.
|
DispatchTrigger[] |
findByA_DTCM_PrevAndNext(long dispatchTriggerId,
boolean active,
int dispatchTaskClusterMode,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the dispatch triggers before and after the current dispatch trigger in the ordered set where active = ? and dispatchTaskClusterMode = ?.
|
java.util.List<DispatchTrigger> |
findByA_DTCM(boolean active,
int dispatchTaskClusterMode)
Returns all the dispatch triggers where active = ? and dispatchTaskClusterMode = ?.
|
java.util.List<DispatchTrigger> |
findByA_DTCM(boolean active,
int[] dispatchTaskClusterModes)
Returns all the dispatch triggers where active = ? and dispatchTaskClusterMode = any ?.
|
java.util.List<DispatchTrigger> |
findByA_DTCM(boolean active,
int[] dispatchTaskClusterModes,
int start,
int end)
Returns a range of all the dispatch triggers where active = ? and dispatchTaskClusterMode = any ?.
|
java.util.List<DispatchTrigger> |
findByA_DTCM(boolean active,
int[] dispatchTaskClusterModes,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns an ordered range of all the dispatch triggers where active = ? and dispatchTaskClusterMode = any ?.
|
java.util.List<DispatchTrigger> |
findByA_DTCM(boolean active,
int[] dispatchTaskClusterModes,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the dispatch triggers where active = ? and dispatchTaskClusterMode = ?, optionally using the finder cache.
|
java.util.List<DispatchTrigger> |
findByA_DTCM(boolean active,
int dispatchTaskClusterMode,
int start,
int end)
Returns a range of all the dispatch triggers where active = ? and dispatchTaskClusterMode = ?.
|
java.util.List<DispatchTrigger> |
findByA_DTCM(boolean active,
int dispatchTaskClusterMode,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns an ordered range of all the dispatch triggers where active = ? and dispatchTaskClusterMode = ?.
|
java.util.List<DispatchTrigger> |
findByA_DTCM(boolean active,
int dispatchTaskClusterMode,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the dispatch triggers where active = ? and dispatchTaskClusterMode = ?.
|
DispatchTrigger |
findByC_DTET_First(long companyId,
java.lang.String dispatchTaskExecutorType,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the first dispatch trigger in the ordered set where companyId = ? and dispatchTaskExecutorType = ?.
|
DispatchTrigger |
findByC_DTET_Last(long companyId,
java.lang.String dispatchTaskExecutorType,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the last dispatch trigger in the ordered set where companyId = ? and dispatchTaskExecutorType = ?.
|
DispatchTrigger[] |
findByC_DTET_PrevAndNext(long dispatchTriggerId,
long companyId,
java.lang.String dispatchTaskExecutorType,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the dispatch triggers before and after the current dispatch trigger in the ordered set where companyId = ? and dispatchTaskExecutorType = ?.
|
java.util.List<DispatchTrigger> |
findByC_DTET(long companyId,
java.lang.String dispatchTaskExecutorType)
Returns all the dispatch triggers where companyId = ? and dispatchTaskExecutorType = ?.
|
java.util.List<DispatchTrigger> |
findByC_DTET(long companyId,
java.lang.String dispatchTaskExecutorType,
int start,
int end)
Returns a range of all the dispatch triggers where companyId = ? and dispatchTaskExecutorType = ?.
|
java.util.List<DispatchTrigger> |
findByC_DTET(long companyId,
java.lang.String dispatchTaskExecutorType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns an ordered range of all the dispatch triggers where companyId = ? and dispatchTaskExecutorType = ?.
|
java.util.List<DispatchTrigger> |
findByC_DTET(long companyId,
java.lang.String dispatchTaskExecutorType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the dispatch triggers where companyId = ? and dispatchTaskExecutorType = ?.
|
DispatchTrigger |
findByC_N(long companyId,
java.lang.String name)
Returns the dispatch trigger where companyId = ? and name = ? or throws a
NoSuchTriggerException if it could not be found. |
DispatchTrigger |
findByC_U_First(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the first dispatch trigger in the ordered set where companyId = ? and userId = ?.
|
DispatchTrigger |
findByC_U_Last(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the last dispatch trigger in the ordered set where companyId = ? and userId = ?.
|
DispatchTrigger[] |
findByC_U_PrevAndNext(long dispatchTriggerId,
long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the dispatch triggers before and after the current dispatch trigger in the ordered set where companyId = ? and userId = ?.
|
java.util.List<DispatchTrigger> |
findByC_U(long companyId,
long userId)
Returns all the dispatch triggers where companyId = ? and userId = ?.
|
java.util.List<DispatchTrigger> |
findByC_U(long companyId,
long userId,
int start,
int end)
Returns a range of all the dispatch triggers where companyId = ? and userId = ?.
|
java.util.List<DispatchTrigger> |
findByC_U(long companyId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns an ordered range of all the dispatch triggers where companyId = ? and userId = ?.
|
java.util.List<DispatchTrigger> |
findByC_U(long companyId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the dispatch triggers where companyId = ? and userId = ?.
|
DispatchTrigger |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the first dispatch trigger in the ordered set where companyId = ?.
|
DispatchTrigger |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the last dispatch trigger in the ordered set where companyId = ?.
|
DispatchTrigger[] |
findByCompanyId_PrevAndNext(long dispatchTriggerId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the dispatch triggers before and after the current dispatch trigger in the ordered set where companyId = ?.
|
java.util.List<DispatchTrigger> |
findByCompanyId(long companyId)
Returns all the dispatch triggers where companyId = ?.
|
java.util.List<DispatchTrigger> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the dispatch triggers where companyId = ?.
|
java.util.List<DispatchTrigger> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns an ordered range of all the dispatch triggers where companyId = ?.
|
java.util.List<DispatchTrigger> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the dispatch triggers where companyId = ?.
|
DispatchTrigger |
findByPrimaryKey(long dispatchTriggerId)
Returns the dispatch trigger with the primary key or throws a
NoSuchTriggerException if it could not be found. |
DispatchTrigger |
remove(long dispatchTriggerId)
Removes the dispatch trigger with the primary key from the database.
|
void |
removeAll()
Removes all the dispatch triggers from the database.
|
void |
removeByA_DTCM(boolean active,
int dispatchTaskClusterMode)
Removes all the dispatch triggers where active = ? and dispatchTaskClusterMode = ? from the database.
|
void |
removeByC_DTET(long companyId,
java.lang.String dispatchTaskExecutorType)
Removes all the dispatch triggers where companyId = ? and dispatchTaskExecutorType = ? from the database.
|
DispatchTrigger |
removeByC_N(long companyId,
java.lang.String name)
Removes the dispatch trigger where companyId = ? and name = ? from the database.
|
void |
removeByC_U(long companyId,
long userId)
Removes all the dispatch triggers where companyId = ? and userId = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the dispatch triggers where companyId = ? from the database.
|
DispatchTrigger |
updateImpl(DispatchTrigger dispatchTrigger) |
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<DispatchTrigger> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<DispatchTrigger> 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 DispatchTriggerModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)java.util.List<DispatchTrigger> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> 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 DispatchTriggerModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DispatchTrigger> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> 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 DispatchTriggerModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDispatchTrigger findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a matching dispatch trigger could not be foundDispatchTrigger fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dispatch trigger could not be foundDispatchTrigger findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a matching dispatch trigger could not be foundDispatchTrigger fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dispatch trigger could not be foundDispatchTrigger[] findByCompanyId_PrevAndNext(long dispatchTriggerId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
dispatchTriggerId
- the primary key of the current dispatch triggercompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a dispatch trigger with the primary key could not be foundjava.util.List<DispatchTrigger> filterFindByCompanyId(long companyId)
companyId
- the company IDjava.util.List<DispatchTrigger> filterFindByCompanyId(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 DispatchTriggerModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)java.util.List<DispatchTrigger> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> 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 DispatchTriggerModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)DispatchTrigger[] filterFindByCompanyId_PrevAndNext(long dispatchTriggerId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
dispatchTriggerId
- the primary key of the current dispatch triggercompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a dispatch trigger with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDint filterCountByCompanyId(long companyId)
companyId
- the company IDjava.util.List<DispatchTrigger> findByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDjava.util.List<DispatchTrigger> findByC_U(long companyId, long userId, 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 DispatchTriggerModelImpl
.
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)java.util.List<DispatchTrigger> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> 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 DispatchTriggerModelImpl
.
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DispatchTrigger> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> 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 DispatchTriggerModelImpl
.
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDispatchTrigger findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a matching dispatch trigger could not be foundDispatchTrigger fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dispatch trigger could not be foundDispatchTrigger findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a matching dispatch trigger could not be foundDispatchTrigger fetchByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dispatch trigger could not be foundDispatchTrigger[] findByC_U_PrevAndNext(long dispatchTriggerId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
dispatchTriggerId
- the primary key of the current dispatch triggercompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a dispatch trigger with the primary key could not be foundjava.util.List<DispatchTrigger> filterFindByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDjava.util.List<DispatchTrigger> filterFindByC_U(long companyId, long userId, 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 DispatchTriggerModelImpl
.
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)java.util.List<DispatchTrigger> filterFindByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> 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 DispatchTriggerModelImpl
.
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)DispatchTrigger[] filterFindByC_U_PrevAndNext(long dispatchTriggerId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
dispatchTriggerId
- the primary key of the current dispatch triggercompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a dispatch trigger with the primary key could not be foundvoid removeByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDint countByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDint filterCountByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDjava.util.List<DispatchTrigger> findByC_DTET(long companyId, java.lang.String dispatchTaskExecutorType)
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typejava.util.List<DispatchTrigger> findByC_DTET(long companyId, java.lang.String dispatchTaskExecutorType, 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 DispatchTriggerModelImpl
.
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typestart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)java.util.List<DispatchTrigger> findByC_DTET(long companyId, java.lang.String dispatchTaskExecutorType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> 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 DispatchTriggerModelImpl
.
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typestart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DispatchTrigger> findByC_DTET(long companyId, java.lang.String dispatchTaskExecutorType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> 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 DispatchTriggerModelImpl
.
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typestart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDispatchTrigger findByC_DTET_First(long companyId, java.lang.String dispatchTaskExecutorType, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a matching dispatch trigger could not be foundDispatchTrigger fetchByC_DTET_First(long companyId, java.lang.String dispatchTaskExecutorType, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dispatch trigger could not be foundDispatchTrigger findByC_DTET_Last(long companyId, java.lang.String dispatchTaskExecutorType, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a matching dispatch trigger could not be foundDispatchTrigger fetchByC_DTET_Last(long companyId, java.lang.String dispatchTaskExecutorType, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dispatch trigger could not be foundDispatchTrigger[] findByC_DTET_PrevAndNext(long dispatchTriggerId, long companyId, java.lang.String dispatchTaskExecutorType, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
dispatchTriggerId
- the primary key of the current dispatch triggercompanyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a dispatch trigger with the primary key could not be foundjava.util.List<DispatchTrigger> filterFindByC_DTET(long companyId, java.lang.String dispatchTaskExecutorType)
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typejava.util.List<DispatchTrigger> filterFindByC_DTET(long companyId, java.lang.String dispatchTaskExecutorType, 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 DispatchTriggerModelImpl
.
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typestart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)java.util.List<DispatchTrigger> filterFindByC_DTET(long companyId, java.lang.String dispatchTaskExecutorType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> 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 DispatchTriggerModelImpl
.
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typestart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)DispatchTrigger[] filterFindByC_DTET_PrevAndNext(long dispatchTriggerId, long companyId, java.lang.String dispatchTaskExecutorType, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
dispatchTriggerId
- the primary key of the current dispatch triggercompanyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a dispatch trigger with the primary key could not be foundvoid removeByC_DTET(long companyId, java.lang.String dispatchTaskExecutorType)
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typeint countByC_DTET(long companyId, java.lang.String dispatchTaskExecutorType)
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typeint filterCountByC_DTET(long companyId, java.lang.String dispatchTaskExecutorType)
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typeDispatchTrigger findByC_N(long companyId, java.lang.String name) throws NoSuchTriggerException
NoSuchTriggerException
if it could not be found.companyId
- the company IDname
- the nameNoSuchTriggerException
- if a matching dispatch trigger could not be foundDispatchTrigger fetchByC_N(long companyId, java.lang.String name)
null
if it could not be found. Uses the finder cache.companyId
- the company IDname
- the namenull
if a matching dispatch trigger could not be foundDispatchTrigger fetchByC_N(long companyId, java.lang.String name, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDname
- the nameuseFinderCache
- whether to use the finder cachenull
if a matching dispatch trigger could not be foundDispatchTrigger removeByC_N(long companyId, java.lang.String name) throws NoSuchTriggerException
companyId
- the company IDname
- the nameNoSuchTriggerException
int countByC_N(long companyId, java.lang.String name)
companyId
- the company IDname
- the namejava.util.List<DispatchTrigger> findByA_DTCM(boolean active, int dispatchTaskClusterMode)
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modejava.util.List<DispatchTrigger> findByA_DTCM(boolean active, int dispatchTaskClusterMode, 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 DispatchTriggerModelImpl
.
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modestart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)java.util.List<DispatchTrigger> findByA_DTCM(boolean active, int dispatchTaskClusterMode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> 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 DispatchTriggerModelImpl
.
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modestart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DispatchTrigger> findByA_DTCM(boolean active, int dispatchTaskClusterMode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> 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 DispatchTriggerModelImpl
.
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modestart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDispatchTrigger findByA_DTCM_First(boolean active, int dispatchTaskClusterMode, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a matching dispatch trigger could not be foundDispatchTrigger fetchByA_DTCM_First(boolean active, int dispatchTaskClusterMode, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dispatch trigger could not be foundDispatchTrigger findByA_DTCM_Last(boolean active, int dispatchTaskClusterMode, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a matching dispatch trigger could not be foundDispatchTrigger fetchByA_DTCM_Last(boolean active, int dispatchTaskClusterMode, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dispatch trigger could not be foundDispatchTrigger[] findByA_DTCM_PrevAndNext(long dispatchTriggerId, boolean active, int dispatchTaskClusterMode, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
dispatchTriggerId
- the primary key of the current dispatch triggeractive
- the activedispatchTaskClusterMode
- the dispatch task cluster modeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a dispatch trigger with the primary key could not be foundjava.util.List<DispatchTrigger> filterFindByA_DTCM(boolean active, int dispatchTaskClusterMode)
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modejava.util.List<DispatchTrigger> filterFindByA_DTCM(boolean active, int dispatchTaskClusterMode, 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 DispatchTriggerModelImpl
.
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modestart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)java.util.List<DispatchTrigger> filterFindByA_DTCM(boolean active, int dispatchTaskClusterMode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> 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 DispatchTriggerModelImpl
.
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modestart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)DispatchTrigger[] filterFindByA_DTCM_PrevAndNext(long dispatchTriggerId, boolean active, int dispatchTaskClusterMode, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
dispatchTriggerId
- the primary key of the current dispatch triggeractive
- the activedispatchTaskClusterMode
- the dispatch task cluster modeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a dispatch trigger with the primary key could not be foundjava.util.List<DispatchTrigger> filterFindByA_DTCM(boolean active, int[] dispatchTaskClusterModes)
active
- the activedispatchTaskClusterModes
- the dispatch task cluster modesjava.util.List<DispatchTrigger> filterFindByA_DTCM(boolean active, int[] dispatchTaskClusterModes, 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 DispatchTriggerModelImpl
.
active
- the activedispatchTaskClusterModes
- the dispatch task cluster modesstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)java.util.List<DispatchTrigger> filterFindByA_DTCM(boolean active, int[] dispatchTaskClusterModes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> 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 DispatchTriggerModelImpl
.
active
- the activedispatchTaskClusterModes
- the dispatch task cluster modesstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DispatchTrigger> findByA_DTCM(boolean active, int[] dispatchTaskClusterModes)
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 DispatchTriggerModelImpl
.
active
- the activedispatchTaskClusterModes
- the dispatch task cluster modesjava.util.List<DispatchTrigger> findByA_DTCM(boolean active, int[] dispatchTaskClusterModes, 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 DispatchTriggerModelImpl
.
active
- the activedispatchTaskClusterModes
- the dispatch task cluster modesstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)java.util.List<DispatchTrigger> findByA_DTCM(boolean active, int[] dispatchTaskClusterModes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> 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 DispatchTriggerModelImpl
.
active
- the activedispatchTaskClusterModes
- the dispatch task cluster modesstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DispatchTrigger> findByA_DTCM(boolean active, int[] dispatchTaskClusterModes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> 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 DispatchTriggerModelImpl
.
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modestart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeByA_DTCM(boolean active, int dispatchTaskClusterMode)
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modeint countByA_DTCM(boolean active, int dispatchTaskClusterMode)
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modeint countByA_DTCM(boolean active, int[] dispatchTaskClusterModes)
active
- the activedispatchTaskClusterModes
- the dispatch task cluster modesint filterCountByA_DTCM(boolean active, int dispatchTaskClusterMode)
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modeint filterCountByA_DTCM(boolean active, int[] dispatchTaskClusterModes)
active
- the activedispatchTaskClusterModes
- the dispatch task cluster modesvoid cacheResult(DispatchTrigger dispatchTrigger)
dispatchTrigger
- the dispatch triggervoid cacheResult(java.util.List<DispatchTrigger> dispatchTriggers)
dispatchTriggers
- the dispatch triggersDispatchTrigger create(long dispatchTriggerId)
dispatchTriggerId
- the primary key for the new dispatch triggerDispatchTrigger remove(long dispatchTriggerId) throws NoSuchTriggerException
dispatchTriggerId
- the primary key of the dispatch triggerNoSuchTriggerException
- if a dispatch trigger with the primary key could not be foundDispatchTrigger updateImpl(DispatchTrigger dispatchTrigger)
DispatchTrigger findByPrimaryKey(long dispatchTriggerId) throws NoSuchTriggerException
NoSuchTriggerException
if it could not be found.dispatchTriggerId
- the primary key of the dispatch triggerNoSuchTriggerException
- if a dispatch trigger with the primary key could not be foundDispatchTrigger fetchByPrimaryKey(long dispatchTriggerId)
null
if it could not be found.dispatchTriggerId
- the primary key of the dispatch triggernull
if a dispatch trigger with the primary key could not be foundjava.util.List<DispatchTrigger> findAll()
java.util.List<DispatchTrigger> 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 DispatchTriggerModelImpl
.
start
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)java.util.List<DispatchTrigger> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> 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 DispatchTriggerModelImpl
.
start
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DispatchTrigger> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> 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 DispatchTriggerModelImpl
.
start
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()