public class DispatchTriggerUtil
extends java.lang.Object
com.liferay.dispatch.service.persistence.impl.DispatchTriggerPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
DispatchTriggerPersistence
Constructor and Description |
---|
DispatchTriggerUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(DispatchTrigger dispatchTrigger)
Caches the dispatch trigger in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<DispatchTrigger> dispatchTriggers)
Caches the dispatch triggers in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(DispatchTrigger dispatchTrigger) |
static int |
countAll()
Returns the number of dispatch triggers.
|
static int |
countByA_DTCM(boolean active,
int dispatchTaskClusterMode)
Returns the number of dispatch triggers where active = ? and dispatchTaskClusterMode = ?.
|
static int |
countByA_DTCM(boolean active,
int[] dispatchTaskClusterModes)
Returns the number of dispatch triggers where active = ? and dispatchTaskClusterMode = any ?.
|
static int |
countByC_DTET(long companyId,
java.lang.String dispatchTaskExecutorType)
Returns the number of dispatch triggers where companyId = ? and dispatchTaskExecutorType = ?.
|
static int |
countByC_N(long companyId,
java.lang.String name)
Returns the number of dispatch triggers where companyId = ? and name = ?.
|
static int |
countByC_U(long companyId,
long userId)
Returns the number of dispatch triggers where companyId = ? and userId = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of dispatch triggers where companyId = ?.
|
static int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of dispatch triggers where externalReferenceCode = ? and companyId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of dispatch triggers where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of dispatch triggers where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static DispatchTrigger |
create(long dispatchTriggerId)
Creates a new dispatch trigger with the primary key.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static DispatchTrigger |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the first dispatch trigger in the ordered set where companyId = ?.
|
static DispatchTrigger |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the last dispatch trigger in the ordered set where companyId = ?.
|
static DispatchTrigger |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the dispatch trigger where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
static DispatchTrigger |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the dispatch trigger where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
static DispatchTrigger |
fetchByPrimaryKey(long dispatchTriggerId)
Returns the dispatch trigger with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,DispatchTrigger> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static DispatchTrigger |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the first dispatch trigger in the ordered set where uuid = ? and companyId = ?.
|
static DispatchTrigger |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the last dispatch trigger in the ordered set where uuid = ? and companyId = ?.
|
static DispatchTrigger |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the first dispatch trigger in the ordered set where uuid = ?.
|
static DispatchTrigger |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the last dispatch trigger in the ordered set where uuid = ?.
|
static int |
filterCountByA_DTCM(boolean active,
int dispatchTaskClusterMode)
Returns the number of dispatch triggers that the user has permission to view where active = ? and dispatchTaskClusterMode = ?.
|
static 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 ?.
|
static 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 = ?.
|
static int |
filterCountByC_U(long companyId,
long userId)
Returns the number of dispatch triggers that the user has permission to view where companyId = ? and userId = ?.
|
static int |
filterCountByCompanyId(long companyId)
Returns the number of dispatch triggers that the user has permission to view where companyId = ?.
|
static int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of dispatch triggers that the user has permission to view where uuid = ? and companyId = ?.
|
static int |
filterCountByUuid(java.lang.String uuid)
Returns the number of dispatch triggers that the user has permission to view where uuid = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 ?.
|
static 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 ?.
|
static 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 ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<DispatchTrigger> |
filterFindByCompanyId(long companyId)
Returns all the dispatch triggers that the user has permission to view where companyId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static DispatchTrigger[] |
filterFindByUuid_C_PrevAndNext(long dispatchTriggerId,
java.lang.String uuid,
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 uuid = ? and companyId = ?.
|
static java.util.List<DispatchTrigger> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the dispatch triggers that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<DispatchTrigger> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the dispatch triggers that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<DispatchTrigger> |
filterFindByUuid_C(java.lang.String uuid,
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 uuid = ? and companyId = ?.
|
static DispatchTrigger[] |
filterFindByUuid_PrevAndNext(long dispatchTriggerId,
java.lang.String uuid,
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 uuid = ?.
|
static java.util.List<DispatchTrigger> |
filterFindByUuid(java.lang.String uuid)
Returns all the dispatch triggers that the user has permission to view where uuid = ?.
|
static java.util.List<DispatchTrigger> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the dispatch triggers that the user has permission to view where uuid = ?.
|
static java.util.List<DispatchTrigger> |
filterFindByUuid(java.lang.String uuid,
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 uuid = ?.
|
static java.util.List<DispatchTrigger> |
findAll()
Returns all the dispatch triggers.
|
static java.util.List<DispatchTrigger> |
findAll(int start,
int end)
Returns a range of all the dispatch triggers.
|
static 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.
|
static 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.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<DispatchTrigger> |
findByA_DTCM(boolean active,
int dispatchTaskClusterMode)
Returns all the dispatch triggers where active = ? and dispatchTaskClusterMode = ?.
|
static java.util.List<DispatchTrigger> |
findByA_DTCM(boolean active,
int[] dispatchTaskClusterModes)
Returns all the dispatch triggers where active = ? and dispatchTaskClusterMode = any ?.
|
static 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 ?.
|
static 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 ?.
|
static 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.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<DispatchTrigger> |
findByC_DTET(long companyId,
java.lang.String dispatchTaskExecutorType)
Returns all the dispatch triggers where companyId = ? and dispatchTaskExecutorType = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<DispatchTrigger> |
findByC_U(long companyId,
long userId)
Returns all the dispatch triggers where companyId = ? and userId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static DispatchTrigger |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the first dispatch trigger in the ordered set where companyId = ?.
|
static DispatchTrigger |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the last dispatch trigger in the ordered set where companyId = ?.
|
static 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 = ?.
|
static java.util.List<DispatchTrigger> |
findByCompanyId(long companyId)
Returns all the dispatch triggers where companyId = ?.
|
static java.util.List<DispatchTrigger> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the dispatch triggers where companyId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static DispatchTrigger |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the dispatch trigger where externalReferenceCode = ? and companyId = ? or throws a
NoSuchTriggerException if it could not be found. |
static DispatchTrigger |
findByPrimaryKey(long dispatchTriggerId)
Returns the dispatch trigger with the primary key or throws a
NoSuchTriggerException if it could not be found. |
static DispatchTrigger |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the first dispatch trigger in the ordered set where uuid = ? and companyId = ?.
|
static DispatchTrigger |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the last dispatch trigger in the ordered set where uuid = ? and companyId = ?.
|
static DispatchTrigger[] |
findByUuid_C_PrevAndNext(long dispatchTriggerId,
java.lang.String uuid,
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 uuid = ? and companyId = ?.
|
static java.util.List<DispatchTrigger> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the dispatch triggers where uuid = ? and companyId = ?.
|
static java.util.List<DispatchTrigger> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the dispatch triggers where uuid = ? and companyId = ?.
|
static java.util.List<DispatchTrigger> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns an ordered range of all the dispatch triggers where uuid = ? and companyId = ?.
|
static java.util.List<DispatchTrigger> |
findByUuid_C(java.lang.String uuid,
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 uuid = ? and companyId = ?.
|
static DispatchTrigger |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the first dispatch trigger in the ordered set where uuid = ?.
|
static DispatchTrigger |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the last dispatch trigger in the ordered set where uuid = ?.
|
static DispatchTrigger[] |
findByUuid_PrevAndNext(long dispatchTriggerId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns the dispatch triggers before and after the current dispatch trigger in the ordered set where uuid = ?.
|
static java.util.List<DispatchTrigger> |
findByUuid(java.lang.String uuid)
Returns all the dispatch triggers where uuid = ?.
|
static java.util.List<DispatchTrigger> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the dispatch triggers where uuid = ?.
|
static java.util.List<DispatchTrigger> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
Returns an ordered range of all the dispatch triggers where uuid = ?.
|
static java.util.List<DispatchTrigger> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the dispatch triggers where uuid = ?.
|
static java.util.List<DispatchTrigger> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<DispatchTrigger> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<DispatchTrigger> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) |
static DispatchTriggerPersistence |
getPersistence() |
static DispatchTrigger |
remove(long dispatchTriggerId)
Removes the dispatch trigger with the primary key from the database.
|
static void |
removeAll()
Removes all the dispatch triggers from the database.
|
static void |
removeByA_DTCM(boolean active,
int dispatchTaskClusterMode)
Removes all the dispatch triggers where active = ? and dispatchTaskClusterMode = ? from the database.
|
static void |
removeByC_DTET(long companyId,
java.lang.String dispatchTaskExecutorType)
Removes all the dispatch triggers where companyId = ? and dispatchTaskExecutorType = ? from the database.
|
static DispatchTrigger |
removeByC_N(long companyId,
java.lang.String name)
Removes the dispatch trigger where companyId = ? and name = ? from the database.
|
static void |
removeByC_U(long companyId,
long userId)
Removes all the dispatch triggers where companyId = ? and userId = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the dispatch triggers where companyId = ? from the database.
|
static DispatchTrigger |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the dispatch trigger where externalReferenceCode = ? and companyId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the dispatch triggers where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the dispatch triggers where uuid = ? from the database.
|
static void |
setPersistence(DispatchTriggerPersistence persistence) |
static DispatchTrigger |
update(DispatchTrigger dispatchTrigger) |
static DispatchTrigger |
update(DispatchTrigger dispatchTrigger,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static DispatchTrigger |
updateImpl(DispatchTrigger dispatchTrigger) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(DispatchTrigger dispatchTrigger)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,DispatchTrigger> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<DispatchTrigger> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<DispatchTrigger> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<DispatchTrigger> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DispatchTrigger update(DispatchTrigger dispatchTrigger)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static DispatchTrigger update(DispatchTrigger dispatchTrigger, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<DispatchTrigger> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<DispatchTrigger> findByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)public static java.util.List<DispatchTrigger> findByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- 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
)public static java.util.List<DispatchTrigger> findByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- 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 cachepublic static DispatchTrigger findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a matching dispatch trigger could not be foundpublic static DispatchTrigger fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dispatch trigger could not be foundpublic static DispatchTrigger findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a matching dispatch trigger could not be foundpublic static DispatchTrigger fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dispatch trigger could not be foundpublic static DispatchTrigger[] findByUuid_PrevAndNext(long dispatchTriggerId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
dispatchTriggerId
- the primary key of the current dispatch triggeruuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a dispatch trigger with the primary key could not be foundpublic static java.util.List<DispatchTrigger> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<DispatchTrigger> filterFindByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)public static java.util.List<DispatchTrigger> filterFindByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- 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
)public static DispatchTrigger[] filterFindByUuid_PrevAndNext(long dispatchTriggerId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
dispatchTriggerId
- the primary key of the current dispatch triggeruuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a dispatch trigger with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int filterCountByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<DispatchTrigger> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<DispatchTrigger> findByUuid_C(java.lang.String uuid, 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
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)public static java.util.List<DispatchTrigger> findByUuid_C(java.lang.String uuid, 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
.
uuid
- the uuidcompanyId
- 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
)public static java.util.List<DispatchTrigger> findByUuid_C(java.lang.String uuid, 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
.
uuid
- the uuidcompanyId
- 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 cachepublic static DispatchTrigger findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a matching dispatch trigger could not be foundpublic static DispatchTrigger fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dispatch trigger could not be foundpublic static DispatchTrigger findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a matching dispatch trigger could not be foundpublic static DispatchTrigger fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dispatch trigger could not be foundpublic static DispatchTrigger[] findByUuid_C_PrevAndNext(long dispatchTriggerId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
dispatchTriggerId
- the primary key of the current dispatch triggeruuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a dispatch trigger with the primary key could not be foundpublic static java.util.List<DispatchTrigger> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<DispatchTrigger> filterFindByUuid_C(java.lang.String uuid, 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
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of dispatch triggersend
- the upper bound of the range of dispatch triggers (not inclusive)public static java.util.List<DispatchTrigger> filterFindByUuid_C(java.lang.String uuid, 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
.
uuid
- the uuidcompanyId
- 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
)public static DispatchTrigger[] filterFindByUuid_C_PrevAndNext(long dispatchTriggerId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException
dispatchTriggerId
- the primary key of the current dispatch triggeruuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTriggerException
- if a dispatch trigger with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<DispatchTrigger> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.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)public static 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
)public static 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 cachepublic static DispatchTrigger 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 foundpublic static DispatchTrigger 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 foundpublic static DispatchTrigger 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 foundpublic static DispatchTrigger 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 foundpublic static DispatchTrigger[] 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 foundpublic static java.util.List<DispatchTrigger> filterFindByCompanyId(long companyId)
companyId
- the company IDpublic static java.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)public static 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
)public static 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 foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static int filterCountByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<DispatchTrigger> findByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static java.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)public static 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
)public static 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 cachepublic static DispatchTrigger 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 foundpublic static DispatchTrigger 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 foundpublic static DispatchTrigger 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 foundpublic static DispatchTrigger 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 foundpublic static DispatchTrigger[] 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 foundpublic static java.util.List<DispatchTrigger> filterFindByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static java.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)public static 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
)public static 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 foundpublic static void removeByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static int countByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static int filterCountByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static java.util.List<DispatchTrigger> findByC_DTET(long companyId, java.lang.String dispatchTaskExecutorType)
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typepublic static java.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)public static 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
)public static 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 cachepublic static DispatchTrigger 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 foundpublic static DispatchTrigger 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 foundpublic static DispatchTrigger 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 foundpublic static DispatchTrigger 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 foundpublic static DispatchTrigger[] 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 foundpublic static java.util.List<DispatchTrigger> filterFindByC_DTET(long companyId, java.lang.String dispatchTaskExecutorType)
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typepublic static java.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)public static 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
)public static 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 foundpublic static void removeByC_DTET(long companyId, java.lang.String dispatchTaskExecutorType)
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typepublic static int countByC_DTET(long companyId, java.lang.String dispatchTaskExecutorType)
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typepublic static int filterCountByC_DTET(long companyId, java.lang.String dispatchTaskExecutorType)
companyId
- the company IDdispatchTaskExecutorType
- the dispatch task executor typepublic static DispatchTrigger 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 foundpublic static DispatchTrigger 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 foundpublic static DispatchTrigger 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 foundpublic static DispatchTrigger removeByC_N(long companyId, java.lang.String name) throws NoSuchTriggerException
companyId
- the company IDname
- the nameNoSuchTriggerException
public static int countByC_N(long companyId, java.lang.String name)
companyId
- the company IDname
- the namepublic static java.util.List<DispatchTrigger> findByA_DTCM(boolean active, int dispatchTaskClusterMode)
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modepublic static java.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)public static 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
)public static 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 cachepublic static DispatchTrigger 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 foundpublic static DispatchTrigger 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 foundpublic static DispatchTrigger 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 foundpublic static DispatchTrigger 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 foundpublic static DispatchTrigger[] 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 foundpublic static java.util.List<DispatchTrigger> filterFindByA_DTCM(boolean active, int dispatchTaskClusterMode)
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modepublic static java.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)public static 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
)public static 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 foundpublic static java.util.List<DispatchTrigger> filterFindByA_DTCM(boolean active, int[] dispatchTaskClusterModes)
active
- the activedispatchTaskClusterModes
- the dispatch task cluster modespublic static java.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)public static 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
)public static 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 modespublic static java.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)public static 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
)public static 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 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
)useFinderCache
- whether to use the finder cachepublic static void removeByA_DTCM(boolean active, int dispatchTaskClusterMode)
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modepublic static int countByA_DTCM(boolean active, int dispatchTaskClusterMode)
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modepublic static int countByA_DTCM(boolean active, int[] dispatchTaskClusterModes)
active
- the activedispatchTaskClusterModes
- the dispatch task cluster modespublic static int filterCountByA_DTCM(boolean active, int dispatchTaskClusterMode)
active
- the activedispatchTaskClusterMode
- the dispatch task cluster modepublic static int filterCountByA_DTCM(boolean active, int[] dispatchTaskClusterModes)
active
- the activedispatchTaskClusterModes
- the dispatch task cluster modespublic static DispatchTrigger findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchTriggerException
NoSuchTriggerException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchTriggerException
- if a matching dispatch trigger could not be foundpublic static DispatchTrigger fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching dispatch trigger could not be foundpublic static DispatchTrigger fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching dispatch trigger could not be foundpublic static DispatchTrigger removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchTriggerException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchTriggerException
public static int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDpublic static void cacheResult(DispatchTrigger dispatchTrigger)
dispatchTrigger
- the dispatch triggerpublic static void cacheResult(java.util.List<DispatchTrigger> dispatchTriggers)
dispatchTriggers
- the dispatch triggerspublic static DispatchTrigger create(long dispatchTriggerId)
dispatchTriggerId
- the primary key for the new dispatch triggerpublic static DispatchTrigger remove(long dispatchTriggerId) throws NoSuchTriggerException
dispatchTriggerId
- the primary key of the dispatch triggerNoSuchTriggerException
- if a dispatch trigger with the primary key could not be foundpublic static DispatchTrigger updateImpl(DispatchTrigger dispatchTrigger)
public static 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 foundpublic static DispatchTrigger 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 foundpublic static java.util.List<DispatchTrigger> findAll()
public static 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)public static 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
)public static 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 cachepublic static void removeAll()
public static int countAll()
public static DispatchTriggerPersistence getPersistence()
public static void setPersistence(DispatchTriggerPersistence persistence)