Class KaleoTransitionUtil

java.lang.Object
com.liferay.portal.workflow.kaleo.service.persistence.KaleoTransitionUtil

public class KaleoTransitionUtil extends Object
The persistence utility for the kaleo transition service. This utility wraps com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoTransitionPersistenceImpl 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

    • KaleoTransitionUtil

      public KaleoTransitionUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(KaleoTransition kaleoTransition)
      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,KaleoTransition> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

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

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

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

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

      public static KaleoTransition update(KaleoTransition kaleoTransition, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByCompanyId

      public static List<KaleoTransition> findByCompanyId(long companyId)
      Returns all the kaleo transitions where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching kaleo transitions
    • findByCompanyId

      public static List<KaleoTransition> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the kaleo transitions where 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 KaleoTransitionModelImpl.

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

      public static List<KaleoTransition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
      Returns an ordered range of all the kaleo transitions where 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 KaleoTransitionModelImpl.

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

      public static List<KaleoTransition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo transitions where 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 KaleoTransitionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of kaleo transitions
      end - the upper bound of the range of kaleo transitions (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 transitions
    • findByCompanyId_First

      public static KaleoTransition findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
      Returns the first kaleo transition in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo transition
      Throws:
      NoSuchTransitionException - if a matching kaleo transition could not be found
      NoSuchTransitionException
    • fetchByCompanyId_First

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

      public static KaleoTransition findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
      Returns the last kaleo transition in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo transition
      Throws:
      NoSuchTransitionException - if a matching kaleo transition could not be found
      NoSuchTransitionException
    • fetchByCompanyId_Last

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

      public static KaleoTransition[] findByCompanyId_PrevAndNext(long kaleoTransitionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
      Returns the kaleo transitions before and after the current kaleo transition in the ordered set where companyId = ?.
      Parameters:
      kaleoTransitionId - the primary key of the current kaleo transition
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo transition
      Throws:
      NoSuchTransitionException - if a kaleo transition with the primary key could not be found
      NoSuchTransitionException
    • removeByCompanyId

      public static void removeByCompanyId(long companyId)
      Removes all the kaleo transitions where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public static int countByCompanyId(long companyId)
      Returns the number of kaleo transitions where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching kaleo transitions
    • findByKaleoDefinitionVersionId

      public static List<KaleoTransition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Returns all the kaleo transitions where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the matching kaleo transitions
    • findByKaleoDefinitionVersionId

      public static List<KaleoTransition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
      Returns a range of all the kaleo transitions where kaleoDefinitionVersionId = ?.

      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 KaleoTransitionModelImpl.

      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo transitions
      end - the upper bound of the range of kaleo transitions (not inclusive)
      Returns:
      the range of matching kaleo transitions
    • findByKaleoDefinitionVersionId

      public static List<KaleoTransition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
      Returns an ordered range of all the kaleo transitions where kaleoDefinitionVersionId = ?.

      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 KaleoTransitionModelImpl.

      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo transitions
      end - the upper bound of the range of kaleo transitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo transitions
    • findByKaleoDefinitionVersionId

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

      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 KaleoTransitionModelImpl.

      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo transitions
      end - the upper bound of the range of kaleo transitions (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 transitions
    • findByKaleoDefinitionVersionId_First

      public static KaleoTransition findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
      Returns the first kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo transition
      Throws:
      NoSuchTransitionException - if a matching kaleo transition could not be found
      NoSuchTransitionException
    • fetchByKaleoDefinitionVersionId_First

      public static KaleoTransition fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
      Returns the first kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo transition, or null if a matching kaleo transition could not be found
    • findByKaleoDefinitionVersionId_Last

      public static KaleoTransition findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
      Returns the last kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo transition
      Throws:
      NoSuchTransitionException - if a matching kaleo transition could not be found
      NoSuchTransitionException
    • fetchByKaleoDefinitionVersionId_Last

      public static KaleoTransition fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
      Returns the last kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo transition, or null if a matching kaleo transition could not be found
    • findByKaleoDefinitionVersionId_PrevAndNext

      public static KaleoTransition[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTransitionId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
      Returns the kaleo transitions before and after the current kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoTransitionId - the primary key of the current kaleo transition
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo transition
      Throws:
      NoSuchTransitionException - if a kaleo transition with the primary key could not be found
      NoSuchTransitionException
    • removeByKaleoDefinitionVersionId

      public static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Removes all the kaleo transitions where kaleoDefinitionVersionId = ? from the database.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
    • countByKaleoDefinitionVersionId

      public static int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Returns the number of kaleo transitions where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the number of matching kaleo transitions
    • findByKaleoNodeId

      public static List<KaleoTransition> findByKaleoNodeId(long kaleoNodeId)
      Returns all the kaleo transitions where kaleoNodeId = ?.
      Parameters:
      kaleoNodeId - the kaleo node ID
      Returns:
      the matching kaleo transitions
    • findByKaleoNodeId

      public static List<KaleoTransition> findByKaleoNodeId(long kaleoNodeId, int start, int end)
      Returns a range of all the kaleo transitions where kaleoNodeId = ?.

      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 KaleoTransitionModelImpl.

      Parameters:
      kaleoNodeId - the kaleo node ID
      start - the lower bound of the range of kaleo transitions
      end - the upper bound of the range of kaleo transitions (not inclusive)
      Returns:
      the range of matching kaleo transitions
    • findByKaleoNodeId

      public static List<KaleoTransition> findByKaleoNodeId(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
      Returns an ordered range of all the kaleo transitions where kaleoNodeId = ?.

      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 KaleoTransitionModelImpl.

      Parameters:
      kaleoNodeId - the kaleo node ID
      start - the lower bound of the range of kaleo transitions
      end - the upper bound of the range of kaleo transitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo transitions
    • findByKaleoNodeId

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

      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 KaleoTransitionModelImpl.

      Parameters:
      kaleoNodeId - the kaleo node ID
      start - the lower bound of the range of kaleo transitions
      end - the upper bound of the range of kaleo transitions (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 transitions
    • findByKaleoNodeId_First

      public static KaleoTransition findByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
      Returns the first kaleo transition in the ordered set where kaleoNodeId = ?.
      Parameters:
      kaleoNodeId - the kaleo node ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo transition
      Throws:
      NoSuchTransitionException - if a matching kaleo transition could not be found
      NoSuchTransitionException
    • fetchByKaleoNodeId_First

      public static KaleoTransition fetchByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
      Returns the first kaleo transition in the ordered set where kaleoNodeId = ?.
      Parameters:
      kaleoNodeId - the kaleo node ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo transition, or null if a matching kaleo transition could not be found
    • findByKaleoNodeId_Last

      public static KaleoTransition findByKaleoNodeId_Last(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
      Returns the last kaleo transition in the ordered set where kaleoNodeId = ?.
      Parameters:
      kaleoNodeId - the kaleo node ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo transition
      Throws:
      NoSuchTransitionException - if a matching kaleo transition could not be found
      NoSuchTransitionException
    • fetchByKaleoNodeId_Last

      public static KaleoTransition fetchByKaleoNodeId_Last(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
      Returns the last kaleo transition in the ordered set where kaleoNodeId = ?.
      Parameters:
      kaleoNodeId - the kaleo node ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo transition, or null if a matching kaleo transition could not be found
    • findByKaleoNodeId_PrevAndNext

      public static KaleoTransition[] findByKaleoNodeId_PrevAndNext(long kaleoTransitionId, long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
      Returns the kaleo transitions before and after the current kaleo transition in the ordered set where kaleoNodeId = ?.
      Parameters:
      kaleoTransitionId - the primary key of the current kaleo transition
      kaleoNodeId - the kaleo node ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo transition
      Throws:
      NoSuchTransitionException - if a kaleo transition with the primary key could not be found
      NoSuchTransitionException
    • removeByKaleoNodeId

      public static void removeByKaleoNodeId(long kaleoNodeId)
      Removes all the kaleo transitions where kaleoNodeId = ? from the database.
      Parameters:
      kaleoNodeId - the kaleo node ID
    • countByKaleoNodeId

      public static int countByKaleoNodeId(long kaleoNodeId)
      Returns the number of kaleo transitions where kaleoNodeId = ?.
      Parameters:
      kaleoNodeId - the kaleo node ID
      Returns:
      the number of matching kaleo transitions
    • findByKNI_N

      public static KaleoTransition findByKNI_N(long kaleoNodeId, String name) throws NoSuchTransitionException
      Returns the kaleo transition where kaleoNodeId = ? and name = ? or throws a NoSuchTransitionException if it could not be found.
      Parameters:
      kaleoNodeId - the kaleo node ID
      name - the name
      Returns:
      the matching kaleo transition
      Throws:
      NoSuchTransitionException - if a matching kaleo transition could not be found
      NoSuchTransitionException
    • fetchByKNI_N

      public static KaleoTransition fetchByKNI_N(long kaleoNodeId, String name)
      Returns the kaleo transition where kaleoNodeId = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      kaleoNodeId - the kaleo node ID
      name - the name
      Returns:
      the matching kaleo transition, or null if a matching kaleo transition could not be found
    • fetchByKNI_N

      public static KaleoTransition fetchByKNI_N(long kaleoNodeId, String name, boolean useFinderCache)
      Returns the kaleo transition where kaleoNodeId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      kaleoNodeId - the kaleo node ID
      name - the name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kaleo transition, or null if a matching kaleo transition could not be found
    • removeByKNI_N

      public static KaleoTransition removeByKNI_N(long kaleoNodeId, String name) throws NoSuchTransitionException
      Removes the kaleo transition where kaleoNodeId = ? and name = ? from the database.
      Parameters:
      kaleoNodeId - the kaleo node ID
      name - the name
      Returns:
      the kaleo transition that was removed
      Throws:
      NoSuchTransitionException
    • countByKNI_N

      public static int countByKNI_N(long kaleoNodeId, String name)
      Returns the number of kaleo transitions where kaleoNodeId = ? and name = ?.
      Parameters:
      kaleoNodeId - the kaleo node ID
      name - the name
      Returns:
      the number of matching kaleo transitions
    • findByKNI_DT

      public static KaleoTransition findByKNI_DT(long kaleoNodeId, boolean defaultTransition) throws NoSuchTransitionException
      Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or throws a NoSuchTransitionException if it could not be found.
      Parameters:
      kaleoNodeId - the kaleo node ID
      defaultTransition - the default transition
      Returns:
      the matching kaleo transition
      Throws:
      NoSuchTransitionException - if a matching kaleo transition could not be found
      NoSuchTransitionException
    • fetchByKNI_DT

      public static KaleoTransition fetchByKNI_DT(long kaleoNodeId, boolean defaultTransition)
      Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      kaleoNodeId - the kaleo node ID
      defaultTransition - the default transition
      Returns:
      the matching kaleo transition, or null if a matching kaleo transition could not be found
    • fetchByKNI_DT

      public static KaleoTransition fetchByKNI_DT(long kaleoNodeId, boolean defaultTransition, boolean useFinderCache)
      Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      kaleoNodeId - the kaleo node ID
      defaultTransition - the default transition
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kaleo transition, or null if a matching kaleo transition could not be found
    • removeByKNI_DT

      public static KaleoTransition removeByKNI_DT(long kaleoNodeId, boolean defaultTransition) throws NoSuchTransitionException
      Removes the kaleo transition where kaleoNodeId = ? and defaultTransition = ? from the database.
      Parameters:
      kaleoNodeId - the kaleo node ID
      defaultTransition - the default transition
      Returns:
      the kaleo transition that was removed
      Throws:
      NoSuchTransitionException
    • countByKNI_DT

      public static int countByKNI_DT(long kaleoNodeId, boolean defaultTransition)
      Returns the number of kaleo transitions where kaleoNodeId = ? and defaultTransition = ?.
      Parameters:
      kaleoNodeId - the kaleo node ID
      defaultTransition - the default transition
      Returns:
      the number of matching kaleo transitions
    • cacheResult

      public static void cacheResult(KaleoTransition kaleoTransition)
      Caches the kaleo transition in the entity cache if it is enabled.
      Parameters:
      kaleoTransition - the kaleo transition
    • cacheResult

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

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

      public static KaleoTransition remove(long kaleoTransitionId) throws NoSuchTransitionException
      Removes the kaleo transition with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      kaleoTransitionId - the primary key of the kaleo transition
      Returns:
      the kaleo transition that was removed
      Throws:
      NoSuchTransitionException - if a kaleo transition with the primary key could not be found
      NoSuchTransitionException
    • updateImpl

      public static KaleoTransition updateImpl(KaleoTransition kaleoTransition)
    • findByPrimaryKey

      public static KaleoTransition findByPrimaryKey(long kaleoTransitionId) throws NoSuchTransitionException
      Returns the kaleo transition with the primary key or throws a NoSuchTransitionException if it could not be found.
      Parameters:
      kaleoTransitionId - the primary key of the kaleo transition
      Returns:
      the kaleo transition
      Throws:
      NoSuchTransitionException - if a kaleo transition with the primary key could not be found
      NoSuchTransitionException
    • fetchByPrimaryKey

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

      public static List<KaleoTransition> findAll()
      Returns all the kaleo transitions.
      Returns:
      the kaleo transitions
    • findAll

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

      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 KaleoTransitionModelImpl.

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

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

      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 KaleoTransitionModelImpl.

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

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

      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 KaleoTransitionModelImpl.

      Parameters:
      start - the lower bound of the range of kaleo transitions
      end - the upper bound of the range of kaleo transitions (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 transitions
    • removeAll

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

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

      public static KaleoTransitionPersistence getPersistence()
    • setPersistence

      public static void setPersistence(KaleoTransitionPersistence persistence)