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

    • cacheResult

      public static void cacheResult(List<KaleoProcess> kaleoProcesses)
      See Also:
      • BasePersistence.cacheResult(List)
    • cacheResult

      public static void cacheResult(KaleoProcess kaleoProcess)
      See Also:
      • BasePersistence.cacheResult(com.liferay.portal.kernel.model.BaseModel)
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.forms.model.impl.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
    • 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, 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.forms.model.impl.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
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.forms.model.impl.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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.forms.model.impl.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
    • 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, 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
    • 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
    • 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
    • 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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.forms.model.impl.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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.forms.model.impl.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_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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.forms.model.impl.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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.forms.model.impl.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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.forms.model.impl.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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.forms.model.impl.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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.forms.model.impl.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
    • getPersistence

      public static KaleoProcessPersistence getPersistence()
    • setPersistence

      public static void setPersistence(KaleoProcessPersistence persistence)