Interface ObjectLayoutRowPersistence

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

@ProviderType public interface ObjectLayoutRowPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectLayoutRow>
The persistence interface for the object layout row service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByObjectLayoutBoxId(long objectLayoutBoxId)
    Returns the number of object layout rows where objectLayoutBoxId = ?.
    int
    Returns the number of object layout rows where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of object layout rows where uuid = ? and companyId = ?.
    create(long objectLayoutRowId)
    Creates a new object layout row with the primary key.
    fetchByObjectLayoutBoxId_First(long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator)
    Returns the first object layout row in the ordered set where objectLayoutBoxId = ?.
    fetchByPrimaryKey(long objectLayoutRowId)
    Returns the object layout row 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<ObjectLayoutRow> orderByComparator)
    Returns the first object layout row in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator)
    Returns the first object layout row in the ordered set where uuid = ?.
    findByObjectLayoutBoxId(long objectLayoutBoxId)
    Returns all the object layout rows where objectLayoutBoxId = ?.
    findByObjectLayoutBoxId(long objectLayoutBoxId, int start, int end)
    Returns a range of all the object layout rows where objectLayoutBoxId = ?.
    findByObjectLayoutBoxId(long objectLayoutBoxId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator)
    Returns an ordered range of all the object layout rows where objectLayoutBoxId = ?.
    findByObjectLayoutBoxId(long objectLayoutBoxId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object layout rows where objectLayoutBoxId = ?.
    findByObjectLayoutBoxId_First(long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator)
    Returns the first object layout row in the ordered set where objectLayoutBoxId = ?.
    findByPrimaryKey(long objectLayoutRowId)
    Returns the object layout row with the primary key or throws a NoSuchObjectLayoutRowException if it could not be found.
    Returns all the object layout rows where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the object layout rows where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator)
    Returns an ordered range of all the object layout rows where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object layout rows where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the object layout rows where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the object layout rows where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator)
    Returns an ordered range of all the object layout rows where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object layout rows where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator)
    Returns the first object layout row in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator)
    Returns the first object layout row in the ordered set where uuid = ?.
    remove(long objectLayoutRowId)
    Removes the object layout row with the primary key from the database.
    void
    removeByObjectLayoutBoxId(long objectLayoutBoxId)
    Removes all the object layout rows where objectLayoutBoxId = ? from the database.
    void
    Removes all the object layout rows where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the object layout rows where uuid = ? and companyId = ? from the database.
    updateImpl(ObjectLayoutRow objectLayoutRow)
     

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

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

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

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

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

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

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

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

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

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

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

      List<ObjectLayoutRow> findByObjectLayoutBoxId(long objectLayoutBoxId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object layout rows where objectLayoutBoxId = ?.

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

      Parameters:
      objectLayoutBoxId - the object layout box ID
      start - the lower bound of the range of object layout rows
      end - the upper bound of the range of object layout rows (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 layout rows
    • findByObjectLayoutBoxId_First

      ObjectLayoutRow findByObjectLayoutBoxId_First(long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) throws NoSuchObjectLayoutRowException
      Returns the first object layout row in the ordered set where objectLayoutBoxId = ?.
      Parameters:
      objectLayoutBoxId - the object layout box ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object layout row
      Throws:
      NoSuchObjectLayoutRowException - if a matching object layout row could not be found
    • fetchByObjectLayoutBoxId_First

      ObjectLayoutRow fetchByObjectLayoutBoxId_First(long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator)
      Returns the first object layout row in the ordered set where objectLayoutBoxId = ?.
      Parameters:
      objectLayoutBoxId - the object layout box ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object layout row, or null if a matching object layout row could not be found
    • removeByObjectLayoutBoxId

      void removeByObjectLayoutBoxId(long objectLayoutBoxId)
      Removes all the object layout rows where objectLayoutBoxId = ? from the database.
      Parameters:
      objectLayoutBoxId - the object layout box ID
    • countByObjectLayoutBoxId

      int countByObjectLayoutBoxId(long objectLayoutBoxId)
      Returns the number of object layout rows where objectLayoutBoxId = ?.
      Parameters:
      objectLayoutBoxId - the object layout box ID
      Returns:
      the number of matching object layout rows
    • create

      ObjectLayoutRow create(long objectLayoutRowId)
      Creates a new object layout row with the primary key. Does not add the object layout row to the database.
      Parameters:
      objectLayoutRowId - the primary key for the new object layout row
      Returns:
      the new object layout row
    • remove

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

      ObjectLayoutRow updateImpl(ObjectLayoutRow objectLayoutRow)
    • findByPrimaryKey

      ObjectLayoutRow findByPrimaryKey(long objectLayoutRowId) throws NoSuchObjectLayoutRowException
      Returns the object layout row with the primary key or throws a NoSuchObjectLayoutRowException if it could not be found.
      Parameters:
      objectLayoutRowId - the primary key of the object layout row
      Returns:
      the object layout row
      Throws:
      NoSuchObjectLayoutRowException - if a object layout row with the primary key could not be found
    • fetchByPrimaryKey

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

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

      default List<ObjectLayoutRow> findByUuid(String uuid, int start, int end)
      Returns a range of all the object layout rows 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.ObjectLayoutRowModelImpl.

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

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

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

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

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

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

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

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

      default List<ObjectLayoutRow> findByObjectLayoutBoxId(long objectLayoutBoxId)
      Returns all the object layout rows where objectLayoutBoxId = ?.
      Parameters:
      objectLayoutBoxId - the object layout box ID
      Returns:
      the matching object layout rows
    • findByObjectLayoutBoxId

      default List<ObjectLayoutRow> findByObjectLayoutBoxId(long objectLayoutBoxId, int start, int end)
      Returns a range of all the object layout rows where objectLayoutBoxId = ?.

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

      Parameters:
      objectLayoutBoxId - the object layout box ID
      start - the lower bound of the range of object layout rows
      end - the upper bound of the range of object layout rows (not inclusive)
      Returns:
      the range of matching object layout rows
    • findByObjectLayoutBoxId

      default List<ObjectLayoutRow> findByObjectLayoutBoxId(long objectLayoutBoxId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator)
      Returns an ordered range of all the object layout rows where objectLayoutBoxId = ?.

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

      Parameters:
      objectLayoutBoxId - the object layout box ID
      start - the lower bound of the range of object layout rows
      end - the upper bound of the range of object layout rows (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object layout rows