Interface ObjectStateTransitionPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectStateTransition>

@ProviderType public interface ObjectStateTransitionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectStateTransition>
The persistence interface for the object state transition service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      List<ObjectStateTransition> findByUuid(String uuid)
      Returns all the object state transitions where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching object state transitions
    • findByUuid

      List<ObjectStateTransition> findByUuid(String uuid, int start, int end)
      Returns a range of all the object state transitions 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 ObjectStateTransitionModelImpl.

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

      List<ObjectStateTransition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
      Returns an ordered range of all the object state transitions 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 ObjectStateTransitionModelImpl.

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

      List<ObjectStateTransition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object state transitions 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 ObjectStateTransitionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object state transitions
      end - the upper bound of the range of object state 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 object state transitions
    • findByUuid_First

      ObjectStateTransition findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
      Returns the first object state transition in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object state transition
      Throws:
      NoSuchObjectStateTransitionException - if a matching object state transition could not be found
    • fetchByUuid_First

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

      ObjectStateTransition findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
      Returns the last object state transition in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object state transition
      Throws:
      NoSuchObjectStateTransitionException - if a matching object state transition could not be found
    • fetchByUuid_Last

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

      ObjectStateTransition[] findByUuid_PrevAndNext(long objectStateTransitionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
      Returns the object state transitions before and after the current object state transition in the ordered set where uuid = ?.
      Parameters:
      objectStateTransitionId - the primary key of the current object state transition
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object state transition
      Throws:
      NoSuchObjectStateTransitionException - if a object state transition with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the object state transitions where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of object state transitions where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching object state transitions
    • findByUuid_C

      List<ObjectStateTransition> findByUuid_C(String uuid, long companyId)
      Returns all the object state transitions where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching object state transitions
    • findByUuid_C

      List<ObjectStateTransition> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the object state transitions 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 ObjectStateTransitionModelImpl.

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

      List<ObjectStateTransition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
      Returns an ordered range of all the object state transitions 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 ObjectStateTransitionModelImpl.

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

      List<ObjectStateTransition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object state transitions 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 ObjectStateTransitionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object state transitions
      end - the upper bound of the range of object state 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 object state transitions
    • findByUuid_C_First

      ObjectStateTransition findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
      Returns the first object state transition 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 object state transition
      Throws:
      NoSuchObjectStateTransitionException - if a matching object state transition could not be found
    • fetchByUuid_C_First

      ObjectStateTransition fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
      Returns the first object state transition 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 object state transition, or null if a matching object state transition could not be found
    • findByUuid_C_Last

      ObjectStateTransition findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
      Returns the last object state transition 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 object state transition
      Throws:
      NoSuchObjectStateTransitionException - if a matching object state transition could not be found
    • fetchByUuid_C_Last

      ObjectStateTransition fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
      Returns the last object state transition 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 object state transition, or null if a matching object state transition could not be found
    • findByUuid_C_PrevAndNext

      ObjectStateTransition[] findByUuid_C_PrevAndNext(long objectStateTransitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
      Returns the object state transitions before and after the current object state transition in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      objectStateTransitionId - the primary key of the current object state transition
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object state transition
      Throws:
      NoSuchObjectStateTransitionException - if a object state transition with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the object state transitions where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of object state transitions where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching object state transitions
    • findByObjectStateFlowId

      List<ObjectStateTransition> findByObjectStateFlowId(long objectStateFlowId)
      Returns all the object state transitions where objectStateFlowId = ?.
      Parameters:
      objectStateFlowId - the object state flow ID
      Returns:
      the matching object state transitions
    • findByObjectStateFlowId

      List<ObjectStateTransition> findByObjectStateFlowId(long objectStateFlowId, int start, int end)
      Returns a range of all the object state transitions where objectStateFlowId = ?.

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

      Parameters:
      objectStateFlowId - the object state flow ID
      start - the lower bound of the range of object state transitions
      end - the upper bound of the range of object state transitions (not inclusive)
      Returns:
      the range of matching object state transitions
    • findByObjectStateFlowId

      List<ObjectStateTransition> findByObjectStateFlowId(long objectStateFlowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
      Returns an ordered range of all the object state transitions where objectStateFlowId = ?.

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

      Parameters:
      objectStateFlowId - the object state flow ID
      start - the lower bound of the range of object state transitions
      end - the upper bound of the range of object state transitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object state transitions
    • findByObjectStateFlowId

      List<ObjectStateTransition> findByObjectStateFlowId(long objectStateFlowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object state transitions where objectStateFlowId = ?.

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

      Parameters:
      objectStateFlowId - the object state flow ID
      start - the lower bound of the range of object state transitions
      end - the upper bound of the range of object state 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 object state transitions
    • findByObjectStateFlowId_First

      ObjectStateTransition findByObjectStateFlowId_First(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
      Returns the first object state transition in the ordered set where objectStateFlowId = ?.
      Parameters:
      objectStateFlowId - the object state flow ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object state transition
      Throws:
      NoSuchObjectStateTransitionException - if a matching object state transition could not be found
    • fetchByObjectStateFlowId_First

      ObjectStateTransition fetchByObjectStateFlowId_First(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
      Returns the first object state transition in the ordered set where objectStateFlowId = ?.
      Parameters:
      objectStateFlowId - the object state flow ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object state transition, or null if a matching object state transition could not be found
    • findByObjectStateFlowId_Last

      ObjectStateTransition findByObjectStateFlowId_Last(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
      Returns the last object state transition in the ordered set where objectStateFlowId = ?.
      Parameters:
      objectStateFlowId - the object state flow ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object state transition
      Throws:
      NoSuchObjectStateTransitionException - if a matching object state transition could not be found
    • fetchByObjectStateFlowId_Last

      ObjectStateTransition fetchByObjectStateFlowId_Last(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
      Returns the last object state transition in the ordered set where objectStateFlowId = ?.
      Parameters:
      objectStateFlowId - the object state flow ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object state transition, or null if a matching object state transition could not be found
    • findByObjectStateFlowId_PrevAndNext

      ObjectStateTransition[] findByObjectStateFlowId_PrevAndNext(long objectStateTransitionId, long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
      Returns the object state transitions before and after the current object state transition in the ordered set where objectStateFlowId = ?.
      Parameters:
      objectStateTransitionId - the primary key of the current object state transition
      objectStateFlowId - the object state flow ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object state transition
      Throws:
      NoSuchObjectStateTransitionException - if a object state transition with the primary key could not be found
    • removeByObjectStateFlowId

      void removeByObjectStateFlowId(long objectStateFlowId)
      Removes all the object state transitions where objectStateFlowId = ? from the database.
      Parameters:
      objectStateFlowId - the object state flow ID
    • countByObjectStateFlowId

      int countByObjectStateFlowId(long objectStateFlowId)
      Returns the number of object state transitions where objectStateFlowId = ?.
      Parameters:
      objectStateFlowId - the object state flow ID
      Returns:
      the number of matching object state transitions
    • findBySourceObjectStateId

      List<ObjectStateTransition> findBySourceObjectStateId(long sourceObjectStateId)
      Returns all the object state transitions where sourceObjectStateId = ?.
      Parameters:
      sourceObjectStateId - the source object state ID
      Returns:
      the matching object state transitions
    • findBySourceObjectStateId

      List<ObjectStateTransition> findBySourceObjectStateId(long sourceObjectStateId, int start, int end)
      Returns a range of all the object state transitions where sourceObjectStateId = ?.

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

      Parameters:
      sourceObjectStateId - the source object state ID
      start - the lower bound of the range of object state transitions
      end - the upper bound of the range of object state transitions (not inclusive)
      Returns:
      the range of matching object state transitions
    • findBySourceObjectStateId

      List<ObjectStateTransition> findBySourceObjectStateId(long sourceObjectStateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
      Returns an ordered range of all the object state transitions where sourceObjectStateId = ?.

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

      Parameters:
      sourceObjectStateId - the source object state ID
      start - the lower bound of the range of object state transitions
      end - the upper bound of the range of object state transitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object state transitions
    • findBySourceObjectStateId

      List<ObjectStateTransition> findBySourceObjectStateId(long sourceObjectStateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object state transitions where sourceObjectStateId = ?.

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

      Parameters:
      sourceObjectStateId - the source object state ID
      start - the lower bound of the range of object state transitions
      end - the upper bound of the range of object state 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 object state transitions
    • findBySourceObjectStateId_First

      ObjectStateTransition findBySourceObjectStateId_First(long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
      Returns the first object state transition in the ordered set where sourceObjectStateId = ?.
      Parameters:
      sourceObjectStateId - the source object state ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object state transition
      Throws:
      NoSuchObjectStateTransitionException - if a matching object state transition could not be found
    • fetchBySourceObjectStateId_First

      ObjectStateTransition fetchBySourceObjectStateId_First(long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
      Returns the first object state transition in the ordered set where sourceObjectStateId = ?.
      Parameters:
      sourceObjectStateId - the source object state ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object state transition, or null if a matching object state transition could not be found
    • findBySourceObjectStateId_Last

      ObjectStateTransition findBySourceObjectStateId_Last(long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
      Returns the last object state transition in the ordered set where sourceObjectStateId = ?.
      Parameters:
      sourceObjectStateId - the source object state ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object state transition
      Throws:
      NoSuchObjectStateTransitionException - if a matching object state transition could not be found
    • fetchBySourceObjectStateId_Last

      ObjectStateTransition fetchBySourceObjectStateId_Last(long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
      Returns the last object state transition in the ordered set where sourceObjectStateId = ?.
      Parameters:
      sourceObjectStateId - the source object state ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object state transition, or null if a matching object state transition could not be found
    • findBySourceObjectStateId_PrevAndNext

      ObjectStateTransition[] findBySourceObjectStateId_PrevAndNext(long objectStateTransitionId, long sourceObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
      Returns the object state transitions before and after the current object state transition in the ordered set where sourceObjectStateId = ?.
      Parameters:
      objectStateTransitionId - the primary key of the current object state transition
      sourceObjectStateId - the source object state ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object state transition
      Throws:
      NoSuchObjectStateTransitionException - if a object state transition with the primary key could not be found
    • removeBySourceObjectStateId

      void removeBySourceObjectStateId(long sourceObjectStateId)
      Removes all the object state transitions where sourceObjectStateId = ? from the database.
      Parameters:
      sourceObjectStateId - the source object state ID
    • countBySourceObjectStateId

      int countBySourceObjectStateId(long sourceObjectStateId)
      Returns the number of object state transitions where sourceObjectStateId = ?.
      Parameters:
      sourceObjectStateId - the source object state ID
      Returns:
      the number of matching object state transitions
    • findByTargetObjectStateId

      List<ObjectStateTransition> findByTargetObjectStateId(long targetObjectStateId)
      Returns all the object state transitions where targetObjectStateId = ?.
      Parameters:
      targetObjectStateId - the target object state ID
      Returns:
      the matching object state transitions
    • findByTargetObjectStateId

      List<ObjectStateTransition> findByTargetObjectStateId(long targetObjectStateId, int start, int end)
      Returns a range of all the object state transitions where targetObjectStateId = ?.

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

      Parameters:
      targetObjectStateId - the target object state ID
      start - the lower bound of the range of object state transitions
      end - the upper bound of the range of object state transitions (not inclusive)
      Returns:
      the range of matching object state transitions
    • findByTargetObjectStateId

      List<ObjectStateTransition> findByTargetObjectStateId(long targetObjectStateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
      Returns an ordered range of all the object state transitions where targetObjectStateId = ?.

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

      Parameters:
      targetObjectStateId - the target object state ID
      start - the lower bound of the range of object state transitions
      end - the upper bound of the range of object state transitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object state transitions
    • findByTargetObjectStateId

      List<ObjectStateTransition> findByTargetObjectStateId(long targetObjectStateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object state transitions where targetObjectStateId = ?.

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

      Parameters:
      targetObjectStateId - the target object state ID
      start - the lower bound of the range of object state transitions
      end - the upper bound of the range of object state 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 object state transitions
    • findByTargetObjectStateId_First

      ObjectStateTransition findByTargetObjectStateId_First(long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
      Returns the first object state transition in the ordered set where targetObjectStateId = ?.
      Parameters:
      targetObjectStateId - the target object state ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object state transition
      Throws:
      NoSuchObjectStateTransitionException - if a matching object state transition could not be found
    • fetchByTargetObjectStateId_First

      ObjectStateTransition fetchByTargetObjectStateId_First(long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
      Returns the first object state transition in the ordered set where targetObjectStateId = ?.
      Parameters:
      targetObjectStateId - the target object state ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object state transition, or null if a matching object state transition could not be found
    • findByTargetObjectStateId_Last

      ObjectStateTransition findByTargetObjectStateId_Last(long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
      Returns the last object state transition in the ordered set where targetObjectStateId = ?.
      Parameters:
      targetObjectStateId - the target object state ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object state transition
      Throws:
      NoSuchObjectStateTransitionException - if a matching object state transition could not be found
    • fetchByTargetObjectStateId_Last

      ObjectStateTransition fetchByTargetObjectStateId_Last(long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
      Returns the last object state transition in the ordered set where targetObjectStateId = ?.
      Parameters:
      targetObjectStateId - the target object state ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object state transition, or null if a matching object state transition could not be found
    • findByTargetObjectStateId_PrevAndNext

      ObjectStateTransition[] findByTargetObjectStateId_PrevAndNext(long objectStateTransitionId, long targetObjectStateId, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator) throws NoSuchObjectStateTransitionException
      Returns the object state transitions before and after the current object state transition in the ordered set where targetObjectStateId = ?.
      Parameters:
      objectStateTransitionId - the primary key of the current object state transition
      targetObjectStateId - the target object state ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object state transition
      Throws:
      NoSuchObjectStateTransitionException - if a object state transition with the primary key could not be found
    • removeByTargetObjectStateId

      void removeByTargetObjectStateId(long targetObjectStateId)
      Removes all the object state transitions where targetObjectStateId = ? from the database.
      Parameters:
      targetObjectStateId - the target object state ID
    • countByTargetObjectStateId

      int countByTargetObjectStateId(long targetObjectStateId)
      Returns the number of object state transitions where targetObjectStateId = ?.
      Parameters:
      targetObjectStateId - the target object state ID
      Returns:
      the number of matching object state transitions
    • cacheResult

      void cacheResult(ObjectStateTransition objectStateTransition)
      Caches the object state transition in the entity cache if it is enabled.
      Parameters:
      objectStateTransition - the object state transition
    • cacheResult

      void cacheResult(List<ObjectStateTransition> objectStateTransitions)
      Caches the object state transitions in the entity cache if it is enabled.
      Parameters:
      objectStateTransitions - the object state transitions
    • create

      ObjectStateTransition create(long objectStateTransitionId)
      Creates a new object state transition with the primary key. Does not add the object state transition to the database.
      Parameters:
      objectStateTransitionId - the primary key for the new object state transition
      Returns:
      the new object state transition
    • remove

      ObjectStateTransition remove(long objectStateTransitionId) throws NoSuchObjectStateTransitionException
      Removes the object state transition with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      objectStateTransitionId - the primary key of the object state transition
      Returns:
      the object state transition that was removed
      Throws:
      NoSuchObjectStateTransitionException - if a object state transition with the primary key could not be found
    • updateImpl

      ObjectStateTransition updateImpl(ObjectStateTransition objectStateTransition)
    • findByPrimaryKey

      ObjectStateTransition findByPrimaryKey(long objectStateTransitionId) throws NoSuchObjectStateTransitionException
      Returns the object state transition with the primary key or throws a NoSuchObjectStateTransitionException if it could not be found.
      Parameters:
      objectStateTransitionId - the primary key of the object state transition
      Returns:
      the object state transition
      Throws:
      NoSuchObjectStateTransitionException - if a object state transition with the primary key could not be found
    • fetchByPrimaryKey

      ObjectStateTransition fetchByPrimaryKey(long objectStateTransitionId)
      Returns the object state transition with the primary key or returns null if it could not be found.
      Parameters:
      objectStateTransitionId - the primary key of the object state transition
      Returns:
      the object state transition, or null if a object state transition with the primary key could not be found
    • findAll

      Returns all the object state transitions.
      Returns:
      the object state transitions
    • findAll

      List<ObjectStateTransition> findAll(int start, int end)
      Returns a range of all the object state 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 ObjectStateTransitionModelImpl.

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

      List<ObjectStateTransition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator)
      Returns an ordered range of all the object state 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 ObjectStateTransitionModelImpl.

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

      List<ObjectStateTransition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectStateTransition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object state 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 ObjectStateTransitionModelImpl.

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

      void removeAll()
      Removes all the object state transitions from the database.
    • countAll

      int countAll()
      Returns the number of object state transitions.
      Returns:
      the number of object state transitions