Class ObjectLayoutRowUtil

java.lang.Object
com.liferay.object.service.persistence.ObjectLayoutRowUtil

public class ObjectLayoutRowUtil extends Object
The persistence utility for the object layout row service. This utility wraps com.liferay.object.service.persistence.impl.ObjectLayoutRowPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • ObjectLayoutRowUtil

      public ObjectLayoutRowUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(ObjectLayoutRow objectLayoutRow)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,ObjectLayoutRow> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<ObjectLayoutRow> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<ObjectLayoutRow> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<ObjectLayoutRow> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static ObjectLayoutRow update(ObjectLayoutRow objectLayoutRow)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static ObjectLayoutRow update(ObjectLayoutRow objectLayoutRow, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

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

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

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

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

      public static 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
      NoSuchObjectLayoutRowException
    • fetchByUuid_First

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

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

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

      public static ObjectLayoutRow[] findByUuid_PrevAndNext(long objectLayoutRowId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) throws NoSuchObjectLayoutRowException
      Returns the object layout rows before and after the current object layout row in the ordered set where uuid = ?.
      Parameters:
      objectLayoutRowId - the primary key of the current object layout row
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object layout row
      Throws:
      NoSuchObjectLayoutRowException - if a object layout row with the primary key could not be found
      NoSuchObjectLayoutRowException
    • removeByUuid

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

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

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

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

      public static 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 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 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
    • findByUuid_C

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

      public static 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
      NoSuchObjectLayoutRowException
    • fetchByUuid_C_First

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

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

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

      public static ObjectLayoutRow[] findByUuid_C_PrevAndNext(long objectLayoutRowId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) throws NoSuchObjectLayoutRowException
      Returns the object layout rows before and after the current object layout row in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      objectLayoutRowId - the primary key of the current object layout row
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object layout row
      Throws:
      NoSuchObjectLayoutRowException - if a object layout row with the primary key could not be found
      NoSuchObjectLayoutRowException
    • removeByUuid_C

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

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

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

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

      public static 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 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 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
    • findByObjectLayoutBoxId

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

      public static 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
      NoSuchObjectLayoutRowException
    • fetchByObjectLayoutBoxId_First

      public static 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
    • findByObjectLayoutBoxId_Last

      public static ObjectLayoutRow findByObjectLayoutBoxId_Last(long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) throws NoSuchObjectLayoutRowException
      Returns the last 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 last matching object layout row
      Throws:
      NoSuchObjectLayoutRowException - if a matching object layout row could not be found
      NoSuchObjectLayoutRowException
    • fetchByObjectLayoutBoxId_Last

      public static ObjectLayoutRow fetchByObjectLayoutBoxId_Last(long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator)
      Returns the last 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 last matching object layout row, or null if a matching object layout row could not be found
    • findByObjectLayoutBoxId_PrevAndNext

      public static ObjectLayoutRow[] findByObjectLayoutBoxId_PrevAndNext(long objectLayoutRowId, long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) throws NoSuchObjectLayoutRowException
      Returns the object layout rows before and after the current object layout row in the ordered set where objectLayoutBoxId = ?.
      Parameters:
      objectLayoutRowId - the primary key of the current object layout row
      objectLayoutBoxId - the object layout box ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object layout row
      Throws:
      NoSuchObjectLayoutRowException - if a object layout row with the primary key could not be found
      NoSuchObjectLayoutRowException
    • removeByObjectLayoutBoxId

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

      public static 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
    • cacheResult

      public static void cacheResult(ObjectLayoutRow objectLayoutRow)
      Caches the object layout row in the entity cache if it is enabled.
      Parameters:
      objectLayoutRow - the object layout row
    • cacheResult

      public static void cacheResult(List<ObjectLayoutRow> objectLayoutRows)
      Caches the object layout rows in the entity cache if it is enabled.
      Parameters:
      objectLayoutRows - the object layout rows
    • create

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

      public static 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
      NoSuchObjectLayoutRowException
    • updateImpl

      public static ObjectLayoutRow updateImpl(ObjectLayoutRow objectLayoutRow)
    • findByPrimaryKey

      public static 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
      NoSuchObjectLayoutRowException
    • fetchByPrimaryKey

      public static 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
    • findAll

      public static List<ObjectLayoutRow> findAll()
      Returns all the object layout rows.
      Returns:
      the object layout rows
    • findAll

      public static List<ObjectLayoutRow> findAll(int start, int end)
      Returns a range of all the object layout rows.

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

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

      public static List<ObjectLayoutRow> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator)
      Returns an ordered range of all the object layout rows.

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

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

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

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

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

      public static void removeAll()
      Removes all the object layout rows from the database.
    • countAll

      public static int countAll()
      Returns the number of object layout rows.
      Returns:
      the number of object layout rows
    • getPersistence

      public static ObjectLayoutRowPersistence getPersistence()
    • setPersistence

      public static void setPersistence(ObjectLayoutRowPersistence persistence)