Interface ObjectViewPersistence

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

@ProviderType public interface ObjectViewPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectView>
The persistence interface for the object view service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByObjectDefinitionId(long objectDefinitionId)
    Returns the number of object views where objectDefinitionId = ?.
    int
    countByODI_DOV(long objectDefinitionId, boolean defaultObjectView)
    Returns the number of object views where objectDefinitionId = ? and defaultObjectView = ?.
    int
    Returns the number of object views where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of object views where uuid = ? and companyId = ?.
    create(long objectViewId)
    Creates a new object view with the primary key.
    fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the first object view in the ordered set where objectDefinitionId = ?.
    fetchByODI_DOV_First(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the first object view in the ordered set where objectDefinitionId = ? and defaultObjectView = ?.
    fetchByPrimaryKey(long objectViewId)
    Returns the object view 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<ObjectView> orderByComparator)
    Returns the first object view in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the first object view in the ordered set where uuid = ?.
    default List<ObjectView>
    findByObjectDefinitionId(long objectDefinitionId)
    Returns all the object views where objectDefinitionId = ?.
    default List<ObjectView>
    findByObjectDefinitionId(long objectDefinitionId, int start, int end)
    Returns a range of all the object views where objectDefinitionId = ?.
    default List<ObjectView>
    findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns an ordered range of all the object views where objectDefinitionId = ?.
    findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object views where objectDefinitionId = ?.
    findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the first object view in the ordered set where objectDefinitionId = ?.
    default List<ObjectView>
    findByODI_DOV(long objectDefinitionId, boolean defaultObjectView)
    Returns all the object views where objectDefinitionId = ? and defaultObjectView = ?.
    default List<ObjectView>
    findByODI_DOV(long objectDefinitionId, boolean defaultObjectView, int start, int end)
    Returns a range of all the object views where objectDefinitionId = ? and defaultObjectView = ?.
    default List<ObjectView>
    findByODI_DOV(long objectDefinitionId, boolean defaultObjectView, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns an ordered range of all the object views where objectDefinitionId = ? and defaultObjectView = ?.
    findByODI_DOV(long objectDefinitionId, boolean defaultObjectView, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object views where objectDefinitionId = ? and defaultObjectView = ?.
    findByODI_DOV_First(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the first object view in the ordered set where objectDefinitionId = ? and defaultObjectView = ?.
    findByPrimaryKey(long objectViewId)
    Returns the object view with the primary key or throws a NoSuchObjectViewException if it could not be found.
    default List<ObjectView>
    Returns all the object views where uuid = ?.
    default List<ObjectView>
    findByUuid(String uuid, int start, int end)
    Returns a range of all the object views where uuid = ?.
    default List<ObjectView>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns an ordered range of all the object views where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object views where uuid = ?.
    default List<ObjectView>
    findByUuid_C(String uuid, long companyId)
    Returns all the object views where uuid = ? and companyId = ?.
    default List<ObjectView>
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the object views where uuid = ? and companyId = ?.
    default List<ObjectView>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns an ordered range of all the object views where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object views where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the first object view in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the first object view in the ordered set where uuid = ?.
    remove(long objectViewId)
    Removes the object view with the primary key from the database.
    void
    removeByObjectDefinitionId(long objectDefinitionId)
    Removes all the object views where objectDefinitionId = ? from the database.
    void
    removeByODI_DOV(long objectDefinitionId, boolean defaultObjectView)
    Removes all the object views where objectDefinitionId = ? and defaultObjectView = ? from the database.
    void
    Removes all the object views where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the object views where uuid = ? and companyId = ? from the database.
    updateImpl(ObjectView objectView)
     

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

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

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

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

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

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

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

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

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

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

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

      List<ObjectView> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object views where objectDefinitionId = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object views
      end - the upper bound of the range of object views (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 views
    • findByObjectDefinitionId_First

      ObjectView findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
      Returns the first object view in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object view
      Throws:
      NoSuchObjectViewException - if a matching object view could not be found
    • fetchByObjectDefinitionId_First

      ObjectView fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
      Returns the first object view in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object view, or null if a matching object view could not be found
    • removeByObjectDefinitionId

      void removeByObjectDefinitionId(long objectDefinitionId)
      Removes all the object views where objectDefinitionId = ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
    • countByObjectDefinitionId

      int countByObjectDefinitionId(long objectDefinitionId)
      Returns the number of object views where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      Returns:
      the number of matching object views
    • findByODI_DOV

      List<ObjectView> findByODI_DOV(long objectDefinitionId, boolean defaultObjectView, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object views where objectDefinitionId = ? and defaultObjectView = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      defaultObjectView - the default object view
      start - the lower bound of the range of object views
      end - the upper bound of the range of object views (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 views
    • findByODI_DOV_First

      ObjectView findByODI_DOV_First(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
      Returns the first object view in the ordered set where objectDefinitionId = ? and defaultObjectView = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      defaultObjectView - the default object view
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object view
      Throws:
      NoSuchObjectViewException - if a matching object view could not be found
    • fetchByODI_DOV_First

      ObjectView fetchByODI_DOV_First(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
      Returns the first object view in the ordered set where objectDefinitionId = ? and defaultObjectView = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      defaultObjectView - the default object view
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object view, or null if a matching object view could not be found
    • removeByODI_DOV

      void removeByODI_DOV(long objectDefinitionId, boolean defaultObjectView)
      Removes all the object views where objectDefinitionId = ? and defaultObjectView = ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
      defaultObjectView - the default object view
    • countByODI_DOV

      int countByODI_DOV(long objectDefinitionId, boolean defaultObjectView)
      Returns the number of object views where objectDefinitionId = ? and defaultObjectView = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      defaultObjectView - the default object view
      Returns:
      the number of matching object views
    • create

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

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

      ObjectView updateImpl(ObjectView objectView)
    • findByPrimaryKey

      ObjectView findByPrimaryKey(long objectViewId) throws NoSuchObjectViewException
      Returns the object view with the primary key or throws a NoSuchObjectViewException if it could not be found.
      Parameters:
      objectViewId - the primary key of the object view
      Returns:
      the object view
      Throws:
      NoSuchObjectViewException - if a object view with the primary key could not be found
    • fetchByPrimaryKey

      ObjectView fetchByPrimaryKey(long objectViewId)
      Returns the object view with the primary key or returns null if it could not be found.
      Parameters:
      objectViewId - the primary key of the object view
      Returns:
      the object view, or null if a object view with the primary key could not be found
    • findByUuid

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

      default List<ObjectView> findByUuid(String uuid, int start, int end)
      Returns a range of all the object views 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.ObjectViewModelImpl.

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

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

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

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

      default List<ObjectView> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the object views 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.ObjectViewModelImpl.

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

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

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

      default List<ObjectView> findByObjectDefinitionId(long objectDefinitionId)
      Returns all the object views where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      Returns:
      the matching object views
    • findByObjectDefinitionId

      default List<ObjectView> findByObjectDefinitionId(long objectDefinitionId, int start, int end)
      Returns a range of all the object views where objectDefinitionId = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object views
      end - the upper bound of the range of object views (not inclusive)
      Returns:
      the range of matching object views
    • findByObjectDefinitionId

      default List<ObjectView> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
      Returns an ordered range of all the object views where objectDefinitionId = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object views
      end - the upper bound of the range of object views (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object views
    • findByODI_DOV

      default List<ObjectView> findByODI_DOV(long objectDefinitionId, boolean defaultObjectView)
      Returns all the object views where objectDefinitionId = ? and defaultObjectView = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      defaultObjectView - the default object view
      Returns:
      the matching object views
    • findByODI_DOV

      default List<ObjectView> findByODI_DOV(long objectDefinitionId, boolean defaultObjectView, int start, int end)
      Returns a range of all the object views where objectDefinitionId = ? and defaultObjectView = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      defaultObjectView - the default object view
      start - the lower bound of the range of object views
      end - the upper bound of the range of object views (not inclusive)
      Returns:
      the range of matching object views
    • findByODI_DOV

      default List<ObjectView> findByODI_DOV(long objectDefinitionId, boolean defaultObjectView, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
      Returns an ordered range of all the object views where objectDefinitionId = ? and defaultObjectView = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      defaultObjectView - the default object view
      start - the lower bound of the range of object views
      end - the upper bound of the range of object views (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object views