Class DispatchTriggerUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(DispatchTrigger dispatchTrigger) Caches the dispatch trigger in the entity cache if it is enabled.static voidcacheResult(List<DispatchTrigger> dispatchTriggers) Caches the dispatch triggers in the entity cache if it is enabled.static voidstatic voidclearCache(DispatchTrigger dispatchTrigger) static intcountAll()Returns the number of dispatch triggers.static intcountByA_DTCM(boolean active, int dispatchTaskClusterMode) Returns the number of dispatch triggers where active = ? and dispatchTaskClusterMode = ?.static intcountByA_DTCM(boolean active, int[] dispatchTaskClusterModes) Returns the number of dispatch triggers where active = ? and dispatchTaskClusterMode = any ?.static intcountByActive(boolean active) Returns the number of dispatch triggers where active = ?.static intcountByC_DTET(long companyId, String dispatchTaskExecutorType) Returns the number of dispatch triggers where companyId = ? and dispatchTaskExecutorType = ?.static intcountByC_N(long companyId, String name) Returns the number of dispatch triggers where companyId = ? and name = ?.static intcountByC_U(long companyId, long userId) Returns the number of dispatch triggers where companyId = ? and userId = ?.static intcountByCompanyId(long companyId) Returns the number of dispatch triggers where companyId = ?.static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of dispatch triggers where externalReferenceCode = ? and companyId = ?.static intcountByUuid(String uuid) Returns the number of dispatch triggers where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of dispatch triggers where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static DispatchTriggercreate(long dispatchTriggerId) Creates a new dispatch trigger with the primary key.static DispatchTriggerfetchByA_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 DispatchTriggerfetchByA_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 DispatchTriggerfetchByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the first dispatch trigger in the ordered set where active = ?.static DispatchTriggerfetchByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the last dispatch trigger in the ordered set where active = ?.static DispatchTriggerfetchByC_DTET_First(long companyId, String dispatchTaskExecutorType, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the first dispatch trigger in the ordered set where companyId = ? and dispatchTaskExecutorType = ?.static DispatchTriggerfetchByC_DTET_Last(long companyId, String dispatchTaskExecutorType, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the last dispatch trigger in the ordered set where companyId = ? and dispatchTaskExecutorType = ?.static DispatchTriggerfetchByC_N(long companyId, String name) Returns the dispatch trigger where companyId = ? and name = ? or returnsnullif it could not be found.static DispatchTriggerfetchByC_N(long companyId, String name, boolean useFinderCache) Returns the dispatch trigger where companyId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.static DispatchTriggerfetchByC_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 DispatchTriggerfetchByC_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 DispatchTriggerfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the first dispatch trigger in the ordered set where companyId = ?.static DispatchTriggerfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the last dispatch trigger in the ordered set where companyId = ?.static DispatchTriggerfetchByERC_C(String externalReferenceCode, long companyId) Returns the dispatch trigger where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static DispatchTriggerfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the dispatch trigger where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static DispatchTriggerfetchByPrimaryKey(long dispatchTriggerId) Returns the dispatch trigger with the primary key or returnsnullif it could not be found.static Map<Serializable, DispatchTrigger> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static DispatchTriggerfetchByUuid_C_First(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 DispatchTriggerfetchByUuid_C_Last(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 DispatchTriggerfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the first dispatch trigger in the ordered set where uuid = ?.static DispatchTriggerfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the last dispatch trigger in the ordered set where uuid = ?.static intfilterCountByA_DTCM(boolean active, int dispatchTaskClusterMode) Returns the number of dispatch triggers that the user has permission to view where active = ? and dispatchTaskClusterMode = ?.static intfilterCountByA_DTCM(boolean active, int[] dispatchTaskClusterModes) Returns the number of dispatch triggers that the user has permission to view where active = ? and dispatchTaskClusterMode = any ?.static intfilterCountByActive(boolean active) Returns the number of dispatch triggers that the user has permission to view where active = ?.static intfilterCountByC_DTET(long companyId, String dispatchTaskExecutorType) Returns the number of dispatch triggers that the user has permission to view where companyId = ? and dispatchTaskExecutorType = ?.static intfilterCountByC_U(long companyId, long userId) Returns the number of dispatch triggers that the user has permission to view where companyId = ? and userId = ?.static intfilterCountByCompanyId(long companyId) Returns the number of dispatch triggers that the user has permission to view where companyId = ?.static intfilterCountByUuid(String uuid) Returns the number of dispatch triggers that the user has permission to view where uuid = ?.static intfilterCountByUuid_C(String uuid, long companyId) Returns the number of dispatch triggers that the user has permission to view where uuid = ? and companyId = ?.static 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 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 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 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 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 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[]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 List<DispatchTrigger> filterFindByActive(boolean active) Returns all the dispatch triggers that the user has permission to view where active = ?.static List<DispatchTrigger> filterFindByActive(boolean active, int start, int end) Returns a range of all the dispatch triggers that the user has permission to view where active = ?.static List<DispatchTrigger> filterFindByActive(boolean active, 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 = ?.static DispatchTrigger[]filterFindByActive_PrevAndNext(long dispatchTriggerId, boolean active, 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 = ?.static List<DispatchTrigger> filterFindByC_DTET(long companyId, String dispatchTaskExecutorType) Returns all the dispatch triggers that the user has permission to view where companyId = ? and dispatchTaskExecutorType = ?.static List<DispatchTrigger> filterFindByC_DTET(long companyId, 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 List<DispatchTrigger> filterFindByC_DTET(long companyId, 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_DTET_PrevAndNext(long dispatchTriggerId, long companyId, 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 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 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 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[]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 List<DispatchTrigger> filterFindByCompanyId(long companyId) Returns all the dispatch triggers that the user has permission to view where companyId = ?.static 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 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[]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 List<DispatchTrigger> filterFindByUuid(String uuid) Returns all the dispatch triggers that the user has permission to view where uuid = ?.static List<DispatchTrigger> filterFindByUuid(String uuid, int start, int end) Returns a range of all the dispatch triggers that the user has permission to view where uuid = ?.static List<DispatchTrigger> filterFindByUuid(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 List<DispatchTrigger> filterFindByUuid_C(String uuid, long companyId) Returns all the dispatch triggers that the user has permission to view where uuid = ? and companyId = ?.static List<DispatchTrigger> filterFindByUuid_C(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 List<DispatchTrigger> filterFindByUuid_C(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_C_PrevAndNext(long dispatchTriggerId, 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 DispatchTrigger[]filterFindByUuid_PrevAndNext(long dispatchTriggerId, 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 List<DispatchTrigger> findAll()Returns all the dispatch triggers.static List<DispatchTrigger> findAll(int start, int end) Returns a range of all the dispatch triggers.static 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 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 List<DispatchTrigger> findByA_DTCM(boolean active, int dispatchTaskClusterMode) Returns all the dispatch triggers where active = ? and dispatchTaskClusterMode = ?.static List<DispatchTrigger> findByA_DTCM(boolean active, int[] dispatchTaskClusterModes) Returns all the dispatch triggers where active = ? and dispatchTaskClusterMode = any ?.static 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 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 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 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 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 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 DispatchTriggerfindByA_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 DispatchTriggerfindByA_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 List<DispatchTrigger> findByActive(boolean active) Returns all the dispatch triggers where active = ?.static List<DispatchTrigger> findByActive(boolean active, int start, int end) Returns a range of all the dispatch triggers where active = ?.static List<DispatchTrigger> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns an ordered range of all the dispatch triggers where active = ?.static List<DispatchTrigger> findByActive(boolean active, 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 = ?.static DispatchTriggerfindByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the first dispatch trigger in the ordered set where active = ?.static DispatchTriggerfindByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the last dispatch trigger in the ordered set where active = ?.static DispatchTrigger[]findByActive_PrevAndNext(long dispatchTriggerId, boolean active, 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 = ?.static List<DispatchTrigger> findByC_DTET(long companyId, String dispatchTaskExecutorType) Returns all the dispatch triggers where companyId = ? and dispatchTaskExecutorType = ?.static List<DispatchTrigger> findByC_DTET(long companyId, String dispatchTaskExecutorType, int start, int end) Returns a range of all the dispatch triggers where companyId = ? and dispatchTaskExecutorType = ?.static List<DispatchTrigger> findByC_DTET(long companyId, 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 List<DispatchTrigger> findByC_DTET(long companyId, 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 DispatchTriggerfindByC_DTET_First(long companyId, String dispatchTaskExecutorType, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the first dispatch trigger in the ordered set where companyId = ? and dispatchTaskExecutorType = ?.static DispatchTriggerfindByC_DTET_Last(long companyId, 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, 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 DispatchTriggerReturns the dispatch trigger where companyId = ? and name = ? or throws aNoSuchTriggerExceptionif it could not be found.static List<DispatchTrigger> findByC_U(long companyId, long userId) Returns all the dispatch triggers where companyId = ? and userId = ?.static 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 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 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 DispatchTriggerfindByC_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 DispatchTriggerfindByC_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 List<DispatchTrigger> findByCompanyId(long companyId) Returns all the dispatch triggers where companyId = ?.static List<DispatchTrigger> findByCompanyId(long companyId, int start, int end) Returns a range of all the dispatch triggers where companyId = ?.static 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 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 DispatchTriggerfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the first dispatch trigger in the ordered set where companyId = ?.static DispatchTriggerfindByCompanyId_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 DispatchTriggerfindByERC_C(String externalReferenceCode, long companyId) Returns the dispatch trigger where externalReferenceCode = ? and companyId = ? or throws aNoSuchTriggerExceptionif it could not be found.static DispatchTriggerfindByPrimaryKey(long dispatchTriggerId) Returns the dispatch trigger with the primary key or throws aNoSuchTriggerExceptionif it could not be found.static List<DispatchTrigger> findByUuid(String uuid) Returns all the dispatch triggers where uuid = ?.static List<DispatchTrigger> findByUuid(String uuid, int start, int end) Returns a range of all the dispatch triggers where uuid = ?.static List<DispatchTrigger> findByUuid(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 List<DispatchTrigger> findByUuid(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 List<DispatchTrigger> findByUuid_C(String uuid, long companyId) Returns all the dispatch triggers where uuid = ? and companyId = ?.static List<DispatchTrigger> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the dispatch triggers where uuid = ? and companyId = ?.static List<DispatchTrigger> findByUuid_C(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 List<DispatchTrigger> findByUuid_C(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 DispatchTriggerfindByUuid_C_First(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 DispatchTriggerfindByUuid_C_Last(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, 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 DispatchTriggerfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the first dispatch trigger in the ordered set where uuid = ?.static DispatchTriggerfindByUuid_Last(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, 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 List<DispatchTrigger> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<DispatchTrigger> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<DispatchTrigger> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) static DispatchTriggerPersistencestatic DispatchTriggerremove(long dispatchTriggerId) Removes the dispatch trigger with the primary key from the database.static voidRemoves all the dispatch triggers from the database.static voidremoveByA_DTCM(boolean active, int dispatchTaskClusterMode) Removes all the dispatch triggers where active = ? and dispatchTaskClusterMode = ? from the database.static voidremoveByActive(boolean active) Removes all the dispatch triggers where active = ? from the database.static voidremoveByC_DTET(long companyId, String dispatchTaskExecutorType) Removes all the dispatch triggers where companyId = ? and dispatchTaskExecutorType = ? from the database.static DispatchTriggerremoveByC_N(long companyId, String name) Removes the dispatch trigger where companyId = ? and name = ? from the database.static voidremoveByC_U(long companyId, long userId) Removes all the dispatch triggers where companyId = ? and userId = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the dispatch triggers where companyId = ? from the database.static DispatchTriggerremoveByERC_C(String externalReferenceCode, long companyId) Removes the dispatch trigger where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByUuid(String uuid) Removes all the dispatch triggers where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the dispatch triggers where uuid = ? and companyId = ? from the database.static voidsetPersistence(DispatchTriggerPersistence persistence) static DispatchTriggerupdate(DispatchTrigger dispatchTrigger) static DispatchTriggerupdate(DispatchTrigger dispatchTrigger, com.liferay.portal.kernel.service.ServiceContext serviceContext) static DispatchTriggerupdateImpl(DispatchTrigger dispatchTrigger)
-
Constructor Details
-
DispatchTriggerUtil
public DispatchTriggerUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<DispatchTrigger> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<DispatchTrigger> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<DispatchTrigger> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static DispatchTrigger update(DispatchTrigger dispatchTrigger, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
Returns all the dispatch triggers where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching dispatch triggers
-
findByUuid
Returns a range of all the dispatch triggers where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of dispatch triggersend- the upper bound of the range of dispatch triggers (not inclusive)- Returns:
- the range of matching dispatch triggers
-
findByUuid
public static List<DispatchTrigger> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching dispatch triggers
-
findByUuid
public static List<DispatchTrigger> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching dispatch triggers
-
findByUuid_First
public static DispatchTrigger findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the first dispatch trigger in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch trigger
-
fetchByUuid_First
public static DispatchTrigger fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the first dispatch trigger in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
findByUuid_Last
public static DispatchTrigger findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the last dispatch trigger in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch trigger
-
fetchByUuid_Last
public static DispatchTrigger fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the last dispatch trigger in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
findByUuid_PrevAndNext
public static DispatchTrigger[] findByUuid_PrevAndNext(long dispatchTriggerId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the dispatch triggers before and after the current dispatch trigger in the ordered set where uuid = ?.- Parameters:
dispatchTriggerId- the primary key of the current dispatch triggeruuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next dispatch trigger
-
filterFindByUuid
Returns all the dispatch triggers that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching dispatch triggers that the user has permission to view
-
filterFindByUuid
Returns a range of all the dispatch triggers that the user has permission to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of dispatch triggersend- the upper bound of the range of dispatch triggers (not inclusive)- Returns:
- the range of matching dispatch triggers that the user has permission to view
-
filterFindByUuid
public static List<DispatchTrigger> filterFindByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching dispatch triggers that the user has permission to view
-
filterFindByUuid_PrevAndNext
public static DispatchTrigger[] filterFindByUuid_PrevAndNext(long dispatchTriggerId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException 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 = ?.- Parameters:
dispatchTriggerId- the primary key of the current dispatch triggeruuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next dispatch trigger
-
removeByUuid
Removes all the dispatch triggers where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of dispatch triggers where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching dispatch triggers
-
filterCountByUuid
Returns the number of dispatch triggers that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching dispatch triggers that the user has permission to view
-
findByUuid_C
Returns all the dispatch triggers where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching dispatch triggers
-
findByUuid_C
Returns a range of all the dispatch triggers where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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)- Returns:
- the range of matching dispatch triggers
-
findByUuid_C
public static List<DispatchTrigger> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching dispatch triggers
-
findByUuid_C
public static List<DispatchTrigger> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching dispatch triggers
-
findByUuid_C_First
public static DispatchTrigger findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the first dispatch trigger in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch trigger
-
fetchByUuid_C_First
public static DispatchTrigger fetchByUuid_C_First(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 = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
findByUuid_C_Last
public static DispatchTrigger findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the last dispatch trigger in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch trigger
-
fetchByUuid_C_Last
public static DispatchTrigger fetchByUuid_C_Last(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 = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
findByUuid_C_PrevAndNext
public static DispatchTrigger[] findByUuid_C_PrevAndNext(long dispatchTriggerId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the dispatch triggers before and after the current dispatch trigger in the ordered set where uuid = ? and companyId = ?.- Parameters:
dispatchTriggerId- the primary key of the current dispatch triggeruuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next dispatch trigger
-
filterFindByUuid_C
Returns all the dispatch triggers that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching dispatch triggers that the user has permission to view
-
filterFindByUuid_C
public static List<DispatchTrigger> filterFindByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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)- Returns:
- the range of matching dispatch triggers that the user has permission to view
-
filterFindByUuid_C
public static List<DispatchTrigger> filterFindByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching dispatch triggers that the user has permission to view
-
filterFindByUuid_C_PrevAndNext
public static DispatchTrigger[] filterFindByUuid_C_PrevAndNext(long dispatchTriggerId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException 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 = ?.- Parameters:
dispatchTriggerId- the primary key of the current dispatch triggeruuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next dispatch trigger
-
removeByUuid_C
Removes all the dispatch triggers where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of dispatch triggers where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching dispatch triggers
-
filterCountByUuid_C
Returns the number of dispatch triggers that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching dispatch triggers that the user has permission to view
-
findByCompanyId
Returns all the dispatch triggers where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching dispatch triggers
-
findByCompanyId
Returns a range of all the dispatch triggers where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of dispatch triggersend- the upper bound of the range of dispatch triggers (not inclusive)- Returns:
- the range of matching dispatch triggers
-
findByCompanyId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching dispatch triggers
-
findByCompanyId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching dispatch triggers
-
findByCompanyId_First
public static DispatchTrigger findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the first dispatch trigger in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch trigger
-
fetchByCompanyId_First
public 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 = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
findByCompanyId_Last
public static DispatchTrigger findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the last dispatch trigger in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch trigger
-
fetchByCompanyId_Last
public 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 = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
findByCompanyId_PrevAndNext
public static DispatchTrigger[] findByCompanyId_PrevAndNext(long dispatchTriggerId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the dispatch triggers before and after the current dispatch trigger in the ordered set where companyId = ?.- Parameters:
dispatchTriggerId- the primary key of the current dispatch triggercompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next dispatch trigger
-
filterFindByCompanyId
Returns all the dispatch triggers that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching dispatch triggers that the user has permission to view
-
filterFindByCompanyId
Returns a range of all the dispatch triggers that the user has permission to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of dispatch triggersend- the upper bound of the range of dispatch triggers (not inclusive)- Returns:
- the range of matching dispatch triggers that the user has permission to view
-
filterFindByCompanyId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching dispatch triggers that the user has permission to view
-
filterFindByCompanyId_PrevAndNext
public static DispatchTrigger[] filterFindByCompanyId_PrevAndNext(long dispatchTriggerId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException 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 = ?.- Parameters:
dispatchTriggerId- the primary key of the current dispatch triggercompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next dispatch trigger
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the dispatch triggers where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of dispatch triggers where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching dispatch triggers
-
filterCountByCompanyId
public static int filterCountByCompanyId(long companyId) Returns the number of dispatch triggers that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching dispatch triggers that the user has permission to view
-
findByActive
Returns all the dispatch triggers where active = ?.- Parameters:
active- the active- Returns:
- the matching dispatch triggers
-
findByActive
Returns a range of all the dispatch triggers where active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
active- the activestart- the lower bound of the range of dispatch triggersend- the upper bound of the range of dispatch triggers (not inclusive)- Returns:
- the range of matching dispatch triggers
-
findByActive
public static List<DispatchTrigger> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns an ordered range of all the dispatch triggers where active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
active- the activestart- 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 (optionallynull)- Returns:
- the ordered range of matching dispatch triggers
-
findByActive
public static List<DispatchTrigger> findByActive(boolean active, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
active- the activestart- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching dispatch triggers
-
findByActive_First
public static DispatchTrigger findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the first dispatch trigger in the ordered set where active = ?.- Parameters:
active- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch trigger
-
fetchByActive_First
public static DispatchTrigger fetchByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the first dispatch trigger in the ordered set where active = ?.- Parameters:
active- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
findByActive_Last
public static DispatchTrigger findByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the last dispatch trigger in the ordered set where active = ?.- Parameters:
active- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch trigger
-
fetchByActive_Last
public static DispatchTrigger fetchByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the last dispatch trigger in the ordered set where active = ?.- Parameters:
active- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
findByActive_PrevAndNext
public static DispatchTrigger[] findByActive_PrevAndNext(long dispatchTriggerId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the dispatch triggers before and after the current dispatch trigger in the ordered set where active = ?.- Parameters:
dispatchTriggerId- the primary key of the current dispatch triggeractive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next dispatch trigger
-
filterFindByActive
Returns all the dispatch triggers that the user has permission to view where active = ?.- Parameters:
active- the active- Returns:
- the matching dispatch triggers that the user has permission to view
-
filterFindByActive
Returns a range of all the dispatch triggers that the user has permission to view where active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
active- the activestart- the lower bound of the range of dispatch triggersend- the upper bound of the range of dispatch triggers (not inclusive)- Returns:
- the range of matching dispatch triggers that the user has permission to view
-
filterFindByActive
public static List<DispatchTrigger> filterFindByActive(boolean active, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
active- the activestart- 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 (optionallynull)- Returns:
- the ordered range of matching dispatch triggers that the user has permission to view
-
filterFindByActive_PrevAndNext
public static DispatchTrigger[] filterFindByActive_PrevAndNext(long dispatchTriggerId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException 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 = ?.- Parameters:
dispatchTriggerId- the primary key of the current dispatch triggeractive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next dispatch trigger
-
removeByActive
public static void removeByActive(boolean active) Removes all the dispatch triggers where active = ? from the database.- Parameters:
active- the active
-
countByActive
public static int countByActive(boolean active) Returns the number of dispatch triggers where active = ?.- Parameters:
active- the active- Returns:
- the number of matching dispatch triggers
-
filterCountByActive
public static int filterCountByActive(boolean active) Returns the number of dispatch triggers that the user has permission to view where active = ?.- Parameters:
active- the active- Returns:
- the number of matching dispatch triggers that the user has permission to view
-
findByC_U
Returns all the dispatch triggers where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user ID- Returns:
- the matching dispatch triggers
-
findByC_U
Returns a range of all the dispatch triggers where companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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)- Returns:
- the range of matching dispatch triggers
-
findByC_U
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching dispatch triggers
-
findByC_U
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching dispatch triggers
-
findByC_U_First
public static DispatchTrigger findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the first dispatch trigger in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch trigger
-
fetchByC_U_First
public 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 = ?.- Parameters:
companyId- the company IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
findByC_U_Last
public static DispatchTrigger findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the last dispatch trigger in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch trigger
-
fetchByC_U_Last
public 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 = ?.- Parameters:
companyId- the company IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
findByC_U_PrevAndNext
public static DispatchTrigger[] findByC_U_PrevAndNext(long dispatchTriggerId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the dispatch triggers before and after the current dispatch trigger in the ordered set where companyId = ? and userId = ?.- Parameters:
dispatchTriggerId- the primary key of the current dispatch triggercompanyId- the company IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next dispatch trigger
-
filterFindByC_U
Returns all the dispatch triggers that the user has permission to view where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user ID- Returns:
- the matching dispatch triggers that the user has permission to view
-
filterFindByC_U
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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)- Returns:
- the range of matching dispatch triggers that the user has permission to view
-
filterFindByC_U
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching dispatch triggers that the user has permission to view
-
filterFindByC_U_PrevAndNext
public static DispatchTrigger[] filterFindByC_U_PrevAndNext(long dispatchTriggerId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException 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 = ?.- Parameters:
dispatchTriggerId- the primary key of the current dispatch triggercompanyId- the company IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next dispatch trigger
-
removeByC_U
public static void removeByC_U(long companyId, long userId) Removes all the dispatch triggers where companyId = ? and userId = ? from the database.- Parameters:
companyId- the company IDuserId- the user ID
-
countByC_U
public static int countByC_U(long companyId, long userId) Returns the number of dispatch triggers where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user ID- Returns:
- the number of matching dispatch triggers
-
filterCountByC_U
public 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 = ?.- Parameters:
companyId- the company IDuserId- the user ID- Returns:
- the number of matching dispatch triggers that the user has permission to view
-
findByC_DTET
Returns all the dispatch triggers where companyId = ? and dispatchTaskExecutorType = ?.- Parameters:
companyId- the company IDdispatchTaskExecutorType- the dispatch task executor type- Returns:
- the matching dispatch triggers
-
findByC_DTET
public static List<DispatchTrigger> findByC_DTET(long companyId, String dispatchTaskExecutorType, int start, int end) Returns a range of all the dispatch triggers where companyId = ? and dispatchTaskExecutorType = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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)- Returns:
- the range of matching dispatch triggers
-
findByC_DTET
public static List<DispatchTrigger> findByC_DTET(long companyId, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching dispatch triggers
-
findByC_DTET
public static List<DispatchTrigger> findByC_DTET(long companyId, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching dispatch triggers
-
findByC_DTET_First
public static DispatchTrigger findByC_DTET_First(long companyId, String dispatchTaskExecutorType, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the first dispatch trigger in the ordered set where companyId = ? and dispatchTaskExecutorType = ?.- Parameters:
companyId- the company IDdispatchTaskExecutorType- the dispatch task executor typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch trigger
-
fetchByC_DTET_First
public static DispatchTrigger fetchByC_DTET_First(long companyId, String dispatchTaskExecutorType, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the first dispatch trigger in the ordered set where companyId = ? and dispatchTaskExecutorType = ?.- Parameters:
companyId- the company IDdispatchTaskExecutorType- the dispatch task executor typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
findByC_DTET_Last
public static DispatchTrigger findByC_DTET_Last(long companyId, String dispatchTaskExecutorType, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the last dispatch trigger in the ordered set where companyId = ? and dispatchTaskExecutorType = ?.- Parameters:
companyId- the company IDdispatchTaskExecutorType- the dispatch task executor typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch trigger
-
fetchByC_DTET_Last
public static DispatchTrigger fetchByC_DTET_Last(long companyId, String dispatchTaskExecutorType, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns the last dispatch trigger in the ordered set where companyId = ? and dispatchTaskExecutorType = ?.- Parameters:
companyId- the company IDdispatchTaskExecutorType- the dispatch task executor typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
findByC_DTET_PrevAndNext
public static DispatchTrigger[] findByC_DTET_PrevAndNext(long dispatchTriggerId, long companyId, String dispatchTaskExecutorType, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the dispatch triggers before and after the current dispatch trigger in the ordered set where companyId = ? and dispatchTaskExecutorType = ?.- Parameters:
dispatchTriggerId- the primary key of the current dispatch triggercompanyId- the company IDdispatchTaskExecutorType- the dispatch task executor typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next dispatch trigger
-
filterFindByC_DTET
public static List<DispatchTrigger> filterFindByC_DTET(long companyId, String dispatchTaskExecutorType) Returns all the dispatch triggers that the user has permission to view where companyId = ? and dispatchTaskExecutorType = ?.- Parameters:
companyId- the company IDdispatchTaskExecutorType- the dispatch task executor type- Returns:
- the matching dispatch triggers that the user has permission to view
-
filterFindByC_DTET
public static List<DispatchTrigger> filterFindByC_DTET(long companyId, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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)- Returns:
- the range of matching dispatch triggers that the user has permission to view
-
filterFindByC_DTET
public static List<DispatchTrigger> filterFindByC_DTET(long companyId, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching dispatch triggers that the user has permission to view
-
filterFindByC_DTET_PrevAndNext
public static DispatchTrigger[] filterFindByC_DTET_PrevAndNext(long dispatchTriggerId, long companyId, String dispatchTaskExecutorType, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException 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 = ?.- Parameters:
dispatchTriggerId- the primary key of the current dispatch triggercompanyId- the company IDdispatchTaskExecutorType- the dispatch task executor typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next dispatch trigger
-
removeByC_DTET
Removes all the dispatch triggers where companyId = ? and dispatchTaskExecutorType = ? from the database.- Parameters:
companyId- the company IDdispatchTaskExecutorType- the dispatch task executor type
-
countByC_DTET
Returns the number of dispatch triggers where companyId = ? and dispatchTaskExecutorType = ?.- Parameters:
companyId- the company IDdispatchTaskExecutorType- the dispatch task executor type- Returns:
- the number of matching dispatch triggers
-
filterCountByC_DTET
Returns the number of dispatch triggers that the user has permission to view where companyId = ? and dispatchTaskExecutorType = ?.- Parameters:
companyId- the company IDdispatchTaskExecutorType- the dispatch task executor type- Returns:
- the number of matching dispatch triggers that the user has permission to view
-
findByC_N
Returns the dispatch trigger where companyId = ? and name = ? or throws aNoSuchTriggerExceptionif it could not be found.- Parameters:
companyId- the company IDname- the name- Returns:
- the matching dispatch trigger
-
fetchByC_N
Returns the dispatch trigger where companyId = ? and name = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDname- the name- Returns:
- the matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
fetchByC_N
Returns the dispatch trigger where companyId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDname- the nameuseFinderCache- whether to use the finder cache- Returns:
- the matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
removeByC_N
public static DispatchTrigger removeByC_N(long companyId, String name) throws NoSuchTriggerException Removes the dispatch trigger where companyId = ? and name = ? from the database.- Parameters:
companyId- the company IDname- the name- Returns:
- the dispatch trigger that was removed
- Throws:
NoSuchTriggerException
-
countByC_N
Returns the number of dispatch triggers where companyId = ? and name = ?.- Parameters:
companyId- the company IDname- the name- Returns:
- the number of matching dispatch triggers
-
findByA_DTCM
Returns all the dispatch triggers where active = ? and dispatchTaskClusterMode = ?.- Parameters:
active- the activedispatchTaskClusterMode- the dispatch task cluster mode- Returns:
- the matching dispatch triggers
-
findByA_DTCM
public static List<DispatchTrigger> findByA_DTCM(boolean active, int dispatchTaskClusterMode, int start, int end) Returns a range of all the dispatch triggers where active = ? and dispatchTaskClusterMode = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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)- Returns:
- the range of matching dispatch triggers
-
findByA_DTCM
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching dispatch triggers
-
findByA_DTCM
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching dispatch triggers
-
findByA_DTCM_First
public static DispatchTrigger findByA_DTCM_First(boolean active, int dispatchTaskClusterMode, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the first dispatch trigger in the ordered set where active = ? and dispatchTaskClusterMode = ?.- Parameters:
active- the activedispatchTaskClusterMode- the dispatch task cluster modeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch trigger
-
fetchByA_DTCM_First
public 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 = ?.- Parameters:
active- the activedispatchTaskClusterMode- the dispatch task cluster modeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
findByA_DTCM_Last
public static DispatchTrigger findByA_DTCM_Last(boolean active, int dispatchTaskClusterMode, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the last dispatch trigger in the ordered set where active = ? and dispatchTaskClusterMode = ?.- Parameters:
active- the activedispatchTaskClusterMode- the dispatch task cluster modeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch trigger
-
fetchByA_DTCM_Last
public 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 = ?.- Parameters:
active- the activedispatchTaskClusterMode- the dispatch task cluster modeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
findByA_DTCM_PrevAndNext
public static DispatchTrigger[] findByA_DTCM_PrevAndNext(long dispatchTriggerId, boolean active, int dispatchTaskClusterMode, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException Returns the dispatch triggers before and after the current dispatch trigger in the ordered set where active = ? and dispatchTaskClusterMode = ?.- Parameters:
dispatchTriggerId- the primary key of the current dispatch triggeractive- the activedispatchTaskClusterMode- the dispatch task cluster modeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next dispatch trigger
-
filterFindByA_DTCM
Returns all the dispatch triggers that the user has permission to view where active = ? and dispatchTaskClusterMode = ?.- Parameters:
active- the activedispatchTaskClusterMode- the dispatch task cluster mode- Returns:
- the matching dispatch triggers that the user has permission to view
-
filterFindByA_DTCM
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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)- Returns:
- the range of matching dispatch triggers that the user has permission to view
-
filterFindByA_DTCM
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching dispatch triggers that the user has permission to view
-
filterFindByA_DTCM_PrevAndNext
public static DispatchTrigger[] filterFindByA_DTCM_PrevAndNext(long dispatchTriggerId, boolean active, int dispatchTaskClusterMode, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) throws NoSuchTriggerException 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 = ?.- Parameters:
dispatchTriggerId- the primary key of the current dispatch triggeractive- the activedispatchTaskClusterMode- the dispatch task cluster modeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next dispatch trigger
-
filterFindByA_DTCM
public static 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 ?.- Parameters:
active- the activedispatchTaskClusterModes- the dispatch task cluster modes- Returns:
- the matching dispatch triggers that the user has permission to view
-
filterFindByA_DTCM
public static 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 ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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)- Returns:
- the range of matching dispatch triggers that the user has permission to view
-
filterFindByA_DTCM
public static 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 ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching dispatch triggers that the user has permission to view
-
findByA_DTCM
Returns all the dispatch triggers where active = ? and dispatchTaskClusterMode = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
active- the activedispatchTaskClusterModes- the dispatch task cluster modes- Returns:
- the matching dispatch triggers
-
findByA_DTCM
public static 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 ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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)- Returns:
- the range of matching dispatch triggers
-
findByA_DTCM
public static 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 ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching dispatch triggers
-
findByA_DTCM
public static 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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching dispatch triggers
-
removeByA_DTCM
public static void removeByA_DTCM(boolean active, int dispatchTaskClusterMode) Removes all the dispatch triggers where active = ? and dispatchTaskClusterMode = ? from the database.- Parameters:
active- the activedispatchTaskClusterMode- the dispatch task cluster mode
-
countByA_DTCM
public static int countByA_DTCM(boolean active, int dispatchTaskClusterMode) Returns the number of dispatch triggers where active = ? and dispatchTaskClusterMode = ?.- Parameters:
active- the activedispatchTaskClusterMode- the dispatch task cluster mode- Returns:
- the number of matching dispatch triggers
-
countByA_DTCM
public static int countByA_DTCM(boolean active, int[] dispatchTaskClusterModes) Returns the number of dispatch triggers where active = ? and dispatchTaskClusterMode = any ?.- Parameters:
active- the activedispatchTaskClusterModes- the dispatch task cluster modes- Returns:
- the number of matching dispatch triggers
-
filterCountByA_DTCM
public 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 = ?.- Parameters:
active- the activedispatchTaskClusterMode- the dispatch task cluster mode- Returns:
- the number of matching dispatch triggers that the user has permission to view
-
filterCountByA_DTCM
public 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 ?.- Parameters:
active- the activedispatchTaskClusterModes- the dispatch task cluster modes- Returns:
- the number of matching dispatch triggers that the user has permission to view
-
findByERC_C
public static DispatchTrigger findByERC_C(String externalReferenceCode, long companyId) throws NoSuchTriggerException Returns the dispatch trigger where externalReferenceCode = ? and companyId = ? or throws aNoSuchTriggerExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching dispatch trigger
-
fetchByERC_C
Returns the dispatch trigger where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
fetchByERC_C
public static DispatchTrigger fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the dispatch trigger where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching dispatch trigger, or
nullif a matching dispatch trigger could not be found
-
removeByERC_C
public static DispatchTrigger removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchTriggerException Removes the dispatch trigger where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the dispatch trigger that was removed
- Throws:
NoSuchTriggerException
-
countByERC_C
Returns the number of dispatch triggers where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching dispatch triggers
-
cacheResult
Caches the dispatch trigger in the entity cache if it is enabled.- Parameters:
dispatchTrigger- the dispatch trigger
-
cacheResult
Caches the dispatch triggers in the entity cache if it is enabled.- Parameters:
dispatchTriggers- the dispatch triggers
-
create
Creates a new dispatch trigger with the primary key. Does not add the dispatch trigger to the database.- Parameters:
dispatchTriggerId- the primary key for the new dispatch trigger- Returns:
- the new dispatch trigger
-
remove
Removes the dispatch trigger with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
dispatchTriggerId- the primary key of the dispatch trigger- Returns:
- the dispatch trigger that was removed
-
updateImpl
-
findByPrimaryKey
public static DispatchTrigger findByPrimaryKey(long dispatchTriggerId) throws NoSuchTriggerException Returns the dispatch trigger with the primary key or throws aNoSuchTriggerExceptionif it could not be found.- Parameters:
dispatchTriggerId- the primary key of the dispatch trigger- Returns:
- the dispatch trigger
-
fetchByPrimaryKey
Returns the dispatch trigger with the primary key or returnsnullif it could not be found.- Parameters:
dispatchTriggerId- the primary key of the dispatch trigger- Returns:
- the dispatch trigger, or
nullif a dispatch trigger with the primary key could not be found
-
findAll
Returns all the dispatch triggers.- Returns:
- the dispatch triggers
-
findAll
Returns a range of all the dispatch triggers.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
start- the lower bound of the range of dispatch triggersend- the upper bound of the range of dispatch triggers (not inclusive)- Returns:
- the range of dispatch triggers
-
findAll
public static List<DispatchTrigger> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchTrigger> orderByComparator) Returns an ordered range of all the dispatch triggers.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of dispatch triggers
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDispatchTriggerModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of dispatch triggers
-
removeAll
public static void removeAll()Removes all the dispatch triggers from the database. -
countAll
public static int countAll()Returns the number of dispatch triggers.- Returns:
- the number of dispatch triggers
-
getPersistence
-
setPersistence
-