Interface ObjectViewSortColumnPersistence

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

@ProviderType public interface ObjectViewSortColumnPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectViewSortColumn>
The persistence interface for the object view sort column service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

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

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

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

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

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

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

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

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

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

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

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

      List<ObjectViewSortColumn> findByObjectViewId(long objectViewId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object view sort columns where objectViewId = ?.

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

      Parameters:
      objectViewId - the object view ID
      start - the lower bound of the range of object view sort columns
      end - the upper bound of the range of object view sort columns (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 view sort columns
    • findByObjectViewId_First

      ObjectViewSortColumn findByObjectViewId_First(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException
      Returns the first object view sort column in the ordered set where objectViewId = ?.
      Parameters:
      objectViewId - the object view ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object view sort column
      Throws:
      NoSuchObjectViewSortColumnException - if a matching object view sort column could not be found
    • fetchByObjectViewId_First

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

      void removeByObjectViewId(long objectViewId)
      Removes all the object view sort columns where objectViewId = ? from the database.
      Parameters:
      objectViewId - the object view ID
    • countByObjectViewId

      int countByObjectViewId(long objectViewId)
      Returns the number of object view sort columns where objectViewId = ?.
      Parameters:
      objectViewId - the object view ID
      Returns:
      the number of matching object view sort columns
    • findByOVI_OFN

      List<ObjectViewSortColumn> findByOVI_OFN(long objectViewId, String objectFieldName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object view sort columns where objectViewId = ? and objectFieldName = ?.

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

      Parameters:
      objectViewId - the object view ID
      objectFieldName - the object field name
      start - the lower bound of the range of object view sort columns
      end - the upper bound of the range of object view sort columns (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 view sort columns
    • findByOVI_OFN_First

      ObjectViewSortColumn findByOVI_OFN_First(long objectViewId, String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException
      Returns the first object view sort column in the ordered set where objectViewId = ? and objectFieldName = ?.
      Parameters:
      objectViewId - the object view ID
      objectFieldName - the object field name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object view sort column
      Throws:
      NoSuchObjectViewSortColumnException - if a matching object view sort column could not be found
    • fetchByOVI_OFN_First

      ObjectViewSortColumn fetchByOVI_OFN_First(long objectViewId, String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
      Returns the first object view sort column in the ordered set where objectViewId = ? and objectFieldName = ?.
      Parameters:
      objectViewId - the object view ID
      objectFieldName - the object field name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object view sort column, or null if a matching object view sort column could not be found
    • removeByOVI_OFN

      void removeByOVI_OFN(long objectViewId, String objectFieldName)
      Removes all the object view sort columns where objectViewId = ? and objectFieldName = ? from the database.
      Parameters:
      objectViewId - the object view ID
      objectFieldName - the object field name
    • countByOVI_OFN

      int countByOVI_OFN(long objectViewId, String objectFieldName)
      Returns the number of object view sort columns where objectViewId = ? and objectFieldName = ?.
      Parameters:
      objectViewId - the object view ID
      objectFieldName - the object field name
      Returns:
      the number of matching object view sort columns
    • create

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

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

      ObjectViewSortColumn updateImpl(ObjectViewSortColumn objectViewSortColumn)
    • findByPrimaryKey

      ObjectViewSortColumn findByPrimaryKey(long objectViewSortColumnId) throws NoSuchObjectViewSortColumnException
      Returns the object view sort column with the primary key or throws a NoSuchObjectViewSortColumnException if it could not be found.
      Parameters:
      objectViewSortColumnId - the primary key of the object view sort column
      Returns:
      the object view sort column
      Throws:
      NoSuchObjectViewSortColumnException - if a object view sort column with the primary key could not be found
    • fetchByPrimaryKey

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

      default List<ObjectViewSortColumn> findByUuid(String uuid)
      Returns all the object view sort columns where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching object view sort columns
    • findByUuid

      default List<ObjectViewSortColumn> findByUuid(String uuid, int start, int end)
      Returns a range of all the object view sort columns 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.ObjectViewSortColumnModelImpl.

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

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

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

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

      default List<ObjectViewSortColumn> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the object view sort columns 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.ObjectViewSortColumnModelImpl.

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

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

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

      default List<ObjectViewSortColumn> findByObjectViewId(long objectViewId)
      Returns all the object view sort columns where objectViewId = ?.
      Parameters:
      objectViewId - the object view ID
      Returns:
      the matching object view sort columns
    • findByObjectViewId

      default List<ObjectViewSortColumn> findByObjectViewId(long objectViewId, int start, int end)
      Returns a range of all the object view sort columns where objectViewId = ?.

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

      Parameters:
      objectViewId - the object view ID
      start - the lower bound of the range of object view sort columns
      end - the upper bound of the range of object view sort columns (not inclusive)
      Returns:
      the range of matching object view sort columns
    • findByObjectViewId

      default List<ObjectViewSortColumn> findByObjectViewId(long objectViewId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
      Returns an ordered range of all the object view sort columns where objectViewId = ?.

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

      Parameters:
      objectViewId - the object view ID
      start - the lower bound of the range of object view sort columns
      end - the upper bound of the range of object view sort columns (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object view sort columns
    • findByOVI_OFN

      default List<ObjectViewSortColumn> findByOVI_OFN(long objectViewId, String objectFieldName)
      Returns all the object view sort columns where objectViewId = ? and objectFieldName = ?.
      Parameters:
      objectViewId - the object view ID
      objectFieldName - the object field name
      Returns:
      the matching object view sort columns
    • findByOVI_OFN

      default List<ObjectViewSortColumn> findByOVI_OFN(long objectViewId, String objectFieldName, int start, int end)
      Returns a range of all the object view sort columns where objectViewId = ? and objectFieldName = ?.

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

      Parameters:
      objectViewId - the object view ID
      objectFieldName - the object field name
      start - the lower bound of the range of object view sort columns
      end - the upper bound of the range of object view sort columns (not inclusive)
      Returns:
      the range of matching object view sort columns
    • findByOVI_OFN

      default List<ObjectViewSortColumn> findByOVI_OFN(long objectViewId, String objectFieldName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
      Returns an ordered range of all the object view sort columns where objectViewId = ? and objectFieldName = ?.

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

      Parameters:
      objectViewId - the object view ID
      objectFieldName - the object field name
      start - the lower bound of the range of object view sort columns
      end - the upper bound of the range of object view sort columns (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object view sort columns