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
    void
    cacheResult(ObjectView objectView)
    Caches the object view in the entity cache if it is enabled.
    void
    cacheResult(List<ObjectView> objectViews)
    Caches the object views in the entity cache if it is enabled.
    int
    Returns the number of object views.
    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 = ?.
    fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the last 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 = ?.
    fetchByODI_DOV_Last(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the last 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_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the last 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 = ?.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the last object view in the ordered set where uuid = ?.
    Returns all the object views.
    findAll(int start, int end)
    Returns a range of all the object views.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns an ordered range of all the object views.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object views.
    findByObjectDefinitionId(long objectDefinitionId)
    Returns all the object views where objectDefinitionId = ?.
    findByObjectDefinitionId(long objectDefinitionId, int start, int end)
    Returns a range of all the object views where objectDefinitionId = ?.
    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 = ?.
    findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the last object view in the ordered set where objectDefinitionId = ?.
    findByObjectDefinitionId_PrevAndNext(long objectViewId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the object views before and after the current object view in the ordered set where objectDefinitionId = ?.
    findByODI_DOV(long objectDefinitionId, boolean defaultObjectView)
    Returns all the object views where objectDefinitionId = ? and defaultObjectView = ?.
    findByODI_DOV(long objectDefinitionId, boolean defaultObjectView, int start, int end)
    Returns a 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)
    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 = ?.
    findByODI_DOV_Last(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the last object view in the ordered set where objectDefinitionId = ? and defaultObjectView = ?.
    findByODI_DOV_PrevAndNext(long objectViewId, long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the object views before and after the current 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.
    Returns all the object views where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the object views where uuid = ?.
    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 = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the object views where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a 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)
    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_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the last object view in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_PrevAndNext(long objectViewId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the object views before and after the current 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 = ?.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the last object view in the ordered set where uuid = ?.
    findByUuid_PrevAndNext(long objectViewId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
    Returns the object views before and after the current object view in the ordered set where uuid = ?.
    remove(long objectViewId)
    Removes the object view with the primary key from the database.
    void
    Removes all the object views 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

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

    • findByUuid

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

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

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

      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 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 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
    • findByUuid_Last

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

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

      ObjectView[] findByUuid_PrevAndNext(long objectViewId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
      Returns the object views before and after the current object view in the ordered set where uuid = ?.
      Parameters:
      objectViewId - the primary key of the current object view
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object view
      Throws:
      NoSuchObjectViewException - if a object view with the primary key 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)
      Returns all the object views where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching object views
    • findByUuid_C

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

      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 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 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
    • 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 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 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
    • findByUuid_C_Last

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

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

      ObjectView[] findByUuid_C_PrevAndNext(long objectViewId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
      Returns the object views before and after the current object view in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      objectViewId - the primary key of the current object view
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object view
      Throws:
      NoSuchObjectViewException - if a object view with the primary key 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)
      Returns all the object views where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      Returns:
      the matching object views
    • findByObjectDefinitionId

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

      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 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 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
    • 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 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 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
    • findByObjectDefinitionId_Last

      ObjectView findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
      Returns the last 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 last matching object view
      Throws:
      NoSuchObjectViewException - if a matching object view could not be found
    • fetchByObjectDefinitionId_Last

      ObjectView fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
      Returns the last 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 last matching object view, or null if a matching object view could not be found
    • findByObjectDefinitionId_PrevAndNext

      ObjectView[] findByObjectDefinitionId_PrevAndNext(long objectViewId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
      Returns the object views before and after the current object view in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectViewId - the primary key of the current object view
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object view
      Throws:
      NoSuchObjectViewException - if a object view with the primary key 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)
      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

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

      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 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 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
    • 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 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 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
    • findByODI_DOV_Last

      ObjectView findByODI_DOV_Last(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
      Returns the last 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 last matching object view
      Throws:
      NoSuchObjectViewException - if a matching object view could not be found
    • fetchByODI_DOV_Last

      ObjectView fetchByODI_DOV_Last(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
      Returns the last 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 last matching object view, or null if a matching object view could not be found
    • findByODI_DOV_PrevAndNext

      ObjectView[] findByODI_DOV_PrevAndNext(long objectViewId, long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
      Returns the object views before and after the current object view in the ordered set where objectDefinitionId = ? and defaultObjectView = ?.
      Parameters:
      objectViewId - the primary key of the current object view
      objectDefinitionId - the object definition ID
      defaultObjectView - the default object view
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object view
      Throws:
      NoSuchObjectViewException - if a object view with the primary key 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
    • cacheResult

      void cacheResult(ObjectView objectView)
      Caches the object view in the entity cache if it is enabled.
      Parameters:
      objectView - the object view
    • cacheResult

      void cacheResult(List<ObjectView> objectViews)
      Caches the object views in the entity cache if it is enabled.
      Parameters:
      objectViews - the 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
    • findAll

      List<ObjectView> findAll()
      Returns all the object views.
      Returns:
      the object views
    • findAll

      List<ObjectView> findAll(int start, int end)
      Returns a range of all the object views.

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

      Parameters:
      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 object views
    • findAll

      List<ObjectView> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
      Returns an ordered range of all the object views.

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

      Parameters:
      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 object views
    • findAll

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

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

      Parameters:
      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 object views
    • removeAll

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

      int countAll()
      Returns the number of object views.
      Returns:
      the number of object views