Interface ObjectStatePersistence

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

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByListTypeEntryId(long listTypeEntryId)
    Returns the number of object states where listTypeEntryId = ?.
    int
    countByLTEI_OSFI(long listTypeEntryId, long objectStateFlowId)
    Returns the number of object states where listTypeEntryId = ? and objectStateFlowId = ?.
    int
    countByObjectStateFlowId(long objectStateFlowId)
    Returns the number of object states where objectStateFlowId = ?.
    int
    Returns the number of object states where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of object states where uuid = ? and companyId = ?.
    create(long objectStateId)
    Creates a new object state with the primary key.
    fetchByListTypeEntryId_First(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
    Returns the first object state in the ordered set where listTypeEntryId = ?.
    default ObjectState
    fetchByLTEI_OSFI(long listTypeEntryId, long objectStateFlowId)
    Returns the object state where listTypeEntryId = ? and objectStateFlowId = ? or returns null if it could not be found.
    fetchByLTEI_OSFI(long listTypeEntryId, long objectStateFlowId, boolean useFinderCache)
    Returns the object state where listTypeEntryId = ? and objectStateFlowId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByObjectStateFlowId_First(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
    Returns the first object state in the ordered set where objectStateFlowId = ?.
    fetchByPrimaryKey(long objectStateId)
    Returns the object state with the primary key or returns null if it could not be found.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
    Returns the first object state in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
    Returns the first object state in the ordered set where uuid = ?.
    default List<ObjectState>
    findByListTypeEntryId(long listTypeEntryId)
    Returns all the object states where listTypeEntryId = ?.
    default List<ObjectState>
    findByListTypeEntryId(long listTypeEntryId, int start, int end)
    Returns a range of all the object states where listTypeEntryId = ?.
    default List<ObjectState>
    findByListTypeEntryId(long listTypeEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
    Returns an ordered range of all the object states where listTypeEntryId = ?.
    findByListTypeEntryId(long listTypeEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object states where listTypeEntryId = ?.
    findByListTypeEntryId_First(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
    Returns the first object state in the ordered set where listTypeEntryId = ?.
    findByLTEI_OSFI(long listTypeEntryId, long objectStateFlowId)
    Returns the object state where listTypeEntryId = ? and objectStateFlowId = ? or throws a NoSuchObjectStateException if it could not be found.
    default List<ObjectState>
    findByObjectStateFlowId(long objectStateFlowId)
    Returns all the object states where objectStateFlowId = ?.
    default List<ObjectState>
    findByObjectStateFlowId(long objectStateFlowId, int start, int end)
    Returns a range of all the object states where objectStateFlowId = ?.
    default List<ObjectState>
    findByObjectStateFlowId(long objectStateFlowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
    Returns an ordered range of all the object states where objectStateFlowId = ?.
    findByObjectStateFlowId(long objectStateFlowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object states where objectStateFlowId = ?.
    findByObjectStateFlowId_First(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
    Returns the first object state in the ordered set where objectStateFlowId = ?.
    findByPrimaryKey(long objectStateId)
    Returns the object state with the primary key or throws a NoSuchObjectStateException if it could not be found.
    default List<ObjectState>
    Returns all the object states where uuid = ?.
    default List<ObjectState>
    findByUuid(String uuid, int start, int end)
    Returns a range of all the object states where uuid = ?.
    default List<ObjectState>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
    Returns an ordered range of all the object states where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object states where uuid = ?.
    default List<ObjectState>
    findByUuid_C(String uuid, long companyId)
    Returns all the object states where uuid = ? and companyId = ?.
    default List<ObjectState>
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the object states where uuid = ? and companyId = ?.
    default List<ObjectState>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
    Returns an ordered range of all the object states where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object states where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
    Returns the first object state in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
    Returns the first object state in the ordered set where uuid = ?.
    remove(long objectStateId)
    Removes the object state with the primary key from the database.
    void
    removeByListTypeEntryId(long listTypeEntryId)
    Removes all the object states where listTypeEntryId = ? from the database.
    removeByLTEI_OSFI(long listTypeEntryId, long objectStateFlowId)
    Removes the object state where listTypeEntryId = ? and objectStateFlowId = ? from the database.
    void
    removeByObjectStateFlowId(long objectStateFlowId)
    Removes all the object states where objectStateFlowId = ? from the database.
    void
    Removes all the object states where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the object states where uuid = ? and companyId = ? from the database.
    updateImpl(ObjectState objectState)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • findByUuid

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

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

      ObjectState findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator) throws NoSuchObjectStateException
      Returns the first object state 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
      Throws:
      NoSuchObjectStateException - if a matching object state could not be found
    • fetchByUuid_First

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

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

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

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

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

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

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

      void removeByUuid_C(String uuid, long companyId)
      Removes all the object states 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 states where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching object states
    • findByListTypeEntryId

      List<ObjectState> findByListTypeEntryId(long listTypeEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object states where listTypeEntryId = ?.

      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.object.model.impl.ObjectStateModelImpl.

      Parameters:
      listTypeEntryId - the list type entry ID
      start - the lower bound of the range of object states
      end - the upper bound of the range of object states (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 states
    • findByListTypeEntryId_First

      ObjectState findByListTypeEntryId_First(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator) throws NoSuchObjectStateException
      Returns the first object state in the ordered set where listTypeEntryId = ?.
      Parameters:
      listTypeEntryId - the list type entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object state
      Throws:
      NoSuchObjectStateException - if a matching object state could not be found
    • fetchByListTypeEntryId_First

      ObjectState fetchByListTypeEntryId_First(long listTypeEntryId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
      Returns the first object state in the ordered set where listTypeEntryId = ?.
      Parameters:
      listTypeEntryId - the list type entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object state, or null if a matching object state could not be found
    • removeByListTypeEntryId

      void removeByListTypeEntryId(long listTypeEntryId)
      Removes all the object states where listTypeEntryId = ? from the database.
      Parameters:
      listTypeEntryId - the list type entry ID
    • countByListTypeEntryId

      int countByListTypeEntryId(long listTypeEntryId)
      Returns the number of object states where listTypeEntryId = ?.
      Parameters:
      listTypeEntryId - the list type entry ID
      Returns:
      the number of matching object states
    • findByObjectStateFlowId

      List<ObjectState> findByObjectStateFlowId(long objectStateFlowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object states 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 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.object.model.impl.ObjectStateModelImpl.

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

      ObjectState findByObjectStateFlowId_First(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator) throws NoSuchObjectStateException
      Returns the first object state 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
      Throws:
      NoSuchObjectStateException - if a matching object state could not be found
    • fetchByObjectStateFlowId_First

      ObjectState fetchByObjectStateFlowId_First(long objectStateFlowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
      Returns the first object state 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, or null if a matching object state could not be found
    • removeByObjectStateFlowId

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

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

      ObjectState findByLTEI_OSFI(long listTypeEntryId, long objectStateFlowId) throws NoSuchObjectStateException
      Returns the object state where listTypeEntryId = ? and objectStateFlowId = ? or throws a NoSuchObjectStateException if it could not be found.
      Parameters:
      listTypeEntryId - the list type entry ID
      objectStateFlowId - the object state flow ID
      Returns:
      the matching object state
      Throws:
      NoSuchObjectStateException - if a matching object state could not be found
    • fetchByLTEI_OSFI

      ObjectState fetchByLTEI_OSFI(long listTypeEntryId, long objectStateFlowId, boolean useFinderCache)
      Returns the object state where listTypeEntryId = ? and objectStateFlowId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      listTypeEntryId - the list type entry ID
      objectStateFlowId - the object state flow ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching object state, or null if a matching object state could not be found
    • removeByLTEI_OSFI

      ObjectState removeByLTEI_OSFI(long listTypeEntryId, long objectStateFlowId) throws NoSuchObjectStateException
      Removes the object state where listTypeEntryId = ? and objectStateFlowId = ? from the database.
      Parameters:
      listTypeEntryId - the list type entry ID
      objectStateFlowId - the object state flow ID
      Returns:
      the object state that was removed
      Throws:
      NoSuchObjectStateException
    • countByLTEI_OSFI

      int countByLTEI_OSFI(long listTypeEntryId, long objectStateFlowId)
      Returns the number of object states where listTypeEntryId = ? and objectStateFlowId = ?.
      Parameters:
      listTypeEntryId - the list type entry ID
      objectStateFlowId - the object state flow ID
      Returns:
      the number of matching object states
    • create

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

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

      ObjectState updateImpl(ObjectState objectState)
    • findByPrimaryKey

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

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

      default ObjectState fetchByLTEI_OSFI(long listTypeEntryId, long objectStateFlowId)
      Returns the object state where listTypeEntryId = ? and objectStateFlowId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      listTypeEntryId - the list type entry ID
      objectStateFlowId - the object state flow ID
      Returns:
      the matching object state, or null if a matching object state could not be found
    • findByUuid

      default List<ObjectState> findByUuid(String uuid)
      Returns all the object states where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching object states
    • findByUuid

      default List<ObjectState> findByUuid(String uuid, int start, int end)
      Returns a range of all the object states 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.object.model.impl.ObjectStateModelImpl.

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

      default List<ObjectState> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
      Returns an ordered range of all the object states 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.object.model.impl.ObjectStateModelImpl.

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

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

      default List<ObjectState> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the object states 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.object.model.impl.ObjectStateModelImpl.

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

      default List<ObjectState> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
      Returns an ordered range of all the object states 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.object.model.impl.ObjectStateModelImpl.

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

      default List<ObjectState> findByListTypeEntryId(long listTypeEntryId)
      Returns all the object states where listTypeEntryId = ?.
      Parameters:
      listTypeEntryId - the list type entry ID
      Returns:
      the matching object states
    • findByListTypeEntryId

      default List<ObjectState> findByListTypeEntryId(long listTypeEntryId, int start, int end)
      Returns a range of all the object states where listTypeEntryId = ?.

      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.object.model.impl.ObjectStateModelImpl.

      Parameters:
      listTypeEntryId - the list type entry ID
      start - the lower bound of the range of object states
      end - the upper bound of the range of object states (not inclusive)
      Returns:
      the range of matching object states
    • findByListTypeEntryId

      default List<ObjectState> findByListTypeEntryId(long listTypeEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
      Returns an ordered range of all the object states where listTypeEntryId = ?.

      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.object.model.impl.ObjectStateModelImpl.

      Parameters:
      listTypeEntryId - the list type entry ID
      start - the lower bound of the range of object states
      end - the upper bound of the range of object states (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object states
    • findByObjectStateFlowId

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

      default List<ObjectState> findByObjectStateFlowId(long objectStateFlowId, int start, int end)
      Returns a range of all the object states 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 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.object.model.impl.ObjectStateModelImpl.

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

      default List<ObjectState> findByObjectStateFlowId(long objectStateFlowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectState> orderByComparator)
      Returns an ordered range of all the object states 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 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.object.model.impl.ObjectStateModelImpl.

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