java.lang.Object
com.liferay.portal.workflow.kaleo.forms.service.persistence.KaleoProcessUtil

public class KaleoProcessUtil extends Object
The persistence utility for the kaleo process service. This utility wraps com.liferay.portal.workflow.kaleo.forms.service.persistence.impl.KaleoProcessPersistenceImpl 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 Details

    • KaleoProcessUtil

      public KaleoProcessUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(KaleoProcess kaleoProcess)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,KaleoProcess> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<KaleoProcess> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<KaleoProcess> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<KaleoProcess> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static KaleoProcess update(KaleoProcess kaleoProcess)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static KaleoProcess update(KaleoProcess kaleoProcess, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<KaleoProcess> findByUuid(String uuid)
      Returns all the kaleo processes where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching kaleo processes
    • findByUuid

      public static List<KaleoProcess> findByUuid(String uuid, int start, int end)
      Returns a range of all the kaleo processes where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoProcessModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of kaleo processes
      end - the upper bound of the range of kaleo processes (not inclusive)
      Returns:
      the range of matching kaleo processes
    • findByUuid

      public static List<KaleoProcess> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator)
      Returns an ordered range of all the kaleo processes where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoProcessModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of kaleo processes
      end - the upper bound of the range of kaleo processes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo processes
    • findByUuid

      public static List<KaleoProcess> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo processes where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoProcessModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of kaleo processes
      end - the upper bound of the range of kaleo processes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching kaleo processes
    • findByUuid_First

      public static KaleoProcess findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator) throws NoSuchKaleoProcessException
      Returns the first kaleo process in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo process
    • fetchByUuid_First

      public static KaleoProcess fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator)
      Returns the first kaleo process in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo process, or null if a matching kaleo process could not be found
    • findByUuid_Last

      public static KaleoProcess findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator) throws NoSuchKaleoProcessException
      Returns the last kaleo process in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo process
    • fetchByUuid_Last

      public static KaleoProcess fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator)
      Returns the last kaleo process in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo process, or null if a matching kaleo process could not be found
    • findByUuid_PrevAndNext

      public static KaleoProcess[] findByUuid_PrevAndNext(long kaleoProcessId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator) throws NoSuchKaleoProcessException
      Returns the kaleo processes before and after the current kaleo process in the ordered set where uuid = ?.
      Parameters:
      kaleoProcessId - the primary key of the current kaleo process
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo process
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the kaleo processes where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of kaleo processes where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching kaleo processes
    • findByUUID_G

      public static KaleoProcess findByUUID_G(String uuid, long groupId) throws NoSuchKaleoProcessException
      Returns the kaleo process where uuid = ? and groupId = ? or throws a NoSuchKaleoProcessException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching kaleo process
    • fetchByUUID_G

      public static KaleoProcess fetchByUUID_G(String uuid, long groupId)
      Returns the kaleo process where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching kaleo process, or null if a matching kaleo process could not be found
    • fetchByUUID_G

      public static KaleoProcess fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the kaleo process where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kaleo process, or null if a matching kaleo process could not be found
    • removeByUUID_G

      public static KaleoProcess removeByUUID_G(String uuid, long groupId) throws NoSuchKaleoProcessException
      Removes the kaleo process where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the kaleo process that was removed
      Throws:
      NoSuchKaleoProcessException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of kaleo processes where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching kaleo processes
    • findByUuid_C

      public static List<KaleoProcess> findByUuid_C(String uuid, long companyId)
      Returns all the kaleo processes where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching kaleo processes
    • findByUuid_C

      public static List<KaleoProcess> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the kaleo processes where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoProcessModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of kaleo processes
      end - the upper bound of the range of kaleo processes (not inclusive)
      Returns:
      the range of matching kaleo processes
    • findByUuid_C

      public static List<KaleoProcess> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator)
      Returns an ordered range of all the kaleo processes where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoProcessModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of kaleo processes
      end - the upper bound of the range of kaleo processes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo processes
    • findByUuid_C

      public static List<KaleoProcess> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo processes where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoProcessModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of kaleo processes
      end - the upper bound of the range of kaleo processes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching kaleo processes
    • findByUuid_C_First

      public static KaleoProcess findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator) throws NoSuchKaleoProcessException
      Returns the first kaleo process in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo process
    • fetchByUuid_C_First

      public static KaleoProcess fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator)
      Returns the first kaleo process in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo process, or null if a matching kaleo process could not be found
    • findByUuid_C_Last

      public static KaleoProcess findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator) throws NoSuchKaleoProcessException
      Returns the last kaleo process in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo process
    • fetchByUuid_C_Last

      public static KaleoProcess fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator)
      Returns the last kaleo process in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo process, or null if a matching kaleo process could not be found
    • findByUuid_C_PrevAndNext

      public static KaleoProcess[] findByUuid_C_PrevAndNext(long kaleoProcessId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator) throws NoSuchKaleoProcessException
      Returns the kaleo processes before and after the current kaleo process in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      kaleoProcessId - the primary key of the current kaleo process
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo process
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the kaleo processes where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of kaleo processes where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching kaleo processes
    • findByGroupId

      public static List<KaleoProcess> findByGroupId(long groupId)
      Returns all the kaleo processes where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching kaleo processes
    • findByGroupId

      public static List<KaleoProcess> findByGroupId(long groupId, int start, int end)
      Returns a range of all the kaleo processes where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoProcessModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of kaleo processes
      end - the upper bound of the range of kaleo processes (not inclusive)
      Returns:
      the range of matching kaleo processes
    • findByGroupId

      public static List<KaleoProcess> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator)
      Returns an ordered range of all the kaleo processes where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoProcessModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of kaleo processes
      end - the upper bound of the range of kaleo processes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo processes
    • findByGroupId

      public static List<KaleoProcess> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo processes where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoProcessModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of kaleo processes
      end - the upper bound of the range of kaleo processes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching kaleo processes
    • findByGroupId_First

      public static KaleoProcess findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator) throws NoSuchKaleoProcessException
      Returns the first kaleo process in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo process
    • fetchByGroupId_First

      public static KaleoProcess fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator)
      Returns the first kaleo process in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo process, or null if a matching kaleo process could not be found
    • findByGroupId_Last

      public static KaleoProcess findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator) throws NoSuchKaleoProcessException
      Returns the last kaleo process in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo process
    • fetchByGroupId_Last

      public static KaleoProcess fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator)
      Returns the last kaleo process in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo process, or null if a matching kaleo process could not be found
    • findByGroupId_PrevAndNext

      public static KaleoProcess[] findByGroupId_PrevAndNext(long kaleoProcessId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator) throws NoSuchKaleoProcessException
      Returns the kaleo processes before and after the current kaleo process in the ordered set where groupId = ?.
      Parameters:
      kaleoProcessId - the primary key of the current kaleo process
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo process
    • filterFindByGroupId

      public static List<KaleoProcess> filterFindByGroupId(long groupId)
      Returns all the kaleo processes that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching kaleo processes that the user has permission to view
    • filterFindByGroupId

      public static List<KaleoProcess> filterFindByGroupId(long groupId, int start, int end)
      Returns a range of all the kaleo processes that the user has permission to view where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoProcessModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of kaleo processes
      end - the upper bound of the range of kaleo processes (not inclusive)
      Returns:
      the range of matching kaleo processes that the user has permission to view
    • filterFindByGroupId

      public static List<KaleoProcess> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator)
      Returns an ordered range of all the kaleo processes that the user has permissions to view where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoProcessModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of kaleo processes
      end - the upper bound of the range of kaleo processes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo processes that the user has permission to view
    • filterFindByGroupId_PrevAndNext

      public static KaleoProcess[] filterFindByGroupId_PrevAndNext(long kaleoProcessId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator) throws NoSuchKaleoProcessException
      Returns the kaleo processes before and after the current kaleo process in the ordered set of kaleo processes that the user has permission to view where groupId = ?.
      Parameters:
      kaleoProcessId - the primary key of the current kaleo process
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo process
    • removeByGroupId

      public static void removeByGroupId(long groupId)
      Removes all the kaleo processes where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      public static int countByGroupId(long groupId)
      Returns the number of kaleo processes where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching kaleo processes
    • filterCountByGroupId

      public static int filterCountByGroupId(long groupId)
      Returns the number of kaleo processes that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching kaleo processes that the user has permission to view
    • findByDDLRecordSetId

      public static KaleoProcess findByDDLRecordSetId(long DDLRecordSetId) throws NoSuchKaleoProcessException
      Returns the kaleo process where DDLRecordSetId = ? or throws a NoSuchKaleoProcessException if it could not be found.
      Parameters:
      DDLRecordSetId - the ddl record set ID
      Returns:
      the matching kaleo process
    • fetchByDDLRecordSetId

      public static KaleoProcess fetchByDDLRecordSetId(long DDLRecordSetId)
      Returns the kaleo process where DDLRecordSetId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      DDLRecordSetId - the ddl record set ID
      Returns:
      the matching kaleo process, or null if a matching kaleo process could not be found
    • fetchByDDLRecordSetId

      public static KaleoProcess fetchByDDLRecordSetId(long DDLRecordSetId, boolean useFinderCache)
      Returns the kaleo process where DDLRecordSetId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      DDLRecordSetId - the ddl record set ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kaleo process, or null if a matching kaleo process could not be found
    • removeByDDLRecordSetId

      public static KaleoProcess removeByDDLRecordSetId(long DDLRecordSetId) throws NoSuchKaleoProcessException
      Removes the kaleo process where DDLRecordSetId = ? from the database.
      Parameters:
      DDLRecordSetId - the ddl record set ID
      Returns:
      the kaleo process that was removed
      Throws:
      NoSuchKaleoProcessException
    • countByDDLRecordSetId

      public static int countByDDLRecordSetId(long DDLRecordSetId)
      Returns the number of kaleo processes where DDLRecordSetId = ?.
      Parameters:
      DDLRecordSetId - the ddl record set ID
      Returns:
      the number of matching kaleo processes
    • cacheResult

      public static void cacheResult(KaleoProcess kaleoProcess)
      Caches the kaleo process in the entity cache if it is enabled.
      Parameters:
      kaleoProcess - the kaleo process
    • cacheResult

      public static void cacheResult(List<KaleoProcess> kaleoProcesses)
      Caches the kaleo processes in the entity cache if it is enabled.
      Parameters:
      kaleoProcesses - the kaleo processes
    • create

      public static KaleoProcess create(long kaleoProcessId)
      Creates a new kaleo process with the primary key. Does not add the kaleo process to the database.
      Parameters:
      kaleoProcessId - the primary key for the new kaleo process
      Returns:
      the new kaleo process
    • remove

      public static KaleoProcess remove(long kaleoProcessId) throws NoSuchKaleoProcessException
      Removes the kaleo process with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      kaleoProcessId - the primary key of the kaleo process
      Returns:
      the kaleo process that was removed
    • updateImpl

      public static KaleoProcess updateImpl(KaleoProcess kaleoProcess)
    • findByPrimaryKey

      public static KaleoProcess findByPrimaryKey(long kaleoProcessId) throws NoSuchKaleoProcessException
      Returns the kaleo process with the primary key or throws a NoSuchKaleoProcessException if it could not be found.
      Parameters:
      kaleoProcessId - the primary key of the kaleo process
      Returns:
      the kaleo process
    • fetchByPrimaryKey

      public static KaleoProcess fetchByPrimaryKey(long kaleoProcessId)
      Returns the kaleo process with the primary key or returns null if it could not be found.
      Parameters:
      kaleoProcessId - the primary key of the kaleo process
      Returns:
      the kaleo process, or null if a kaleo process with the primary key could not be found
    • findAll

      public static List<KaleoProcess> findAll()
      Returns all the kaleo processes.
      Returns:
      the kaleo processes
    • findAll

      public static List<KaleoProcess> findAll(int start, int end)
      Returns a range of all the kaleo processes.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoProcessModelImpl.

      Parameters:
      start - the lower bound of the range of kaleo processes
      end - the upper bound of the range of kaleo processes (not inclusive)
      Returns:
      the range of kaleo processes
    • findAll

      public static List<KaleoProcess> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator)
      Returns an ordered range of all the kaleo processes.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoProcessModelImpl.

      Parameters:
      start - the lower bound of the range of kaleo processes
      end - the upper bound of the range of kaleo processes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of kaleo processes
    • findAll

      public static List<KaleoProcess> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcess> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo processes.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from KaleoProcessModelImpl.

      Parameters:
      start - the lower bound of the range of kaleo processes
      end - the upper bound of the range of kaleo processes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of kaleo processes
    • removeAll

      public static void removeAll()
      Removes all the kaleo processes from the database.
    • countAll

      public static int countAll()
      Returns the number of kaleo processes.
      Returns:
      the number of kaleo processes
    • getPersistence

      public static KaleoProcessPersistence getPersistence()
    • setPersistence

      public static void setPersistence(KaleoProcessPersistence persistence)