Interface ObjectLayoutBoxPersistence

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

@ProviderType public interface ObjectLayoutBoxPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectLayoutBox>
The persistence interface for the object layout box service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByObjectLayoutTabId(long objectLayoutTabId)
    Returns the number of object layout boxes where objectLayoutTabId = ?.
    int
    Returns the number of object layout boxes where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of object layout boxes where uuid = ? and companyId = ?.
    create(long objectLayoutBoxId)
    Creates a new object layout box with the primary key.
    fetchByObjectLayoutTabId_First(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
    Returns the first object layout box in the ordered set where objectLayoutTabId = ?.
    fetchByPrimaryKey(long objectLayoutBoxId)
    Returns the object layout box 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<ObjectLayoutBox> orderByComparator)
    Returns the first object layout box in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
    Returns the first object layout box in the ordered set where uuid = ?.
    findByObjectLayoutTabId(long objectLayoutTabId)
    Returns all the object layout boxes where objectLayoutTabId = ?.
    findByObjectLayoutTabId(long objectLayoutTabId, int start, int end)
    Returns a range of all the object layout boxes where objectLayoutTabId = ?.
    findByObjectLayoutTabId(long objectLayoutTabId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
    Returns an ordered range of all the object layout boxes where objectLayoutTabId = ?.
    findByObjectLayoutTabId(long objectLayoutTabId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object layout boxes where objectLayoutTabId = ?.
    findByObjectLayoutTabId_First(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
    Returns the first object layout box in the ordered set where objectLayoutTabId = ?.
    findByPrimaryKey(long objectLayoutBoxId)
    Returns the object layout box with the primary key or throws a NoSuchObjectLayoutBoxException if it could not be found.
    Returns all the object layout boxes where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the object layout boxes where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
    Returns an ordered range of all the object layout boxes where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object layout boxes where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the object layout boxes where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the object layout boxes where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
    Returns an ordered range of all the object layout boxes where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object layout boxes where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
    Returns the first object layout box in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
    Returns the first object layout box in the ordered set where uuid = ?.
    remove(long objectLayoutBoxId)
    Removes the object layout box with the primary key from the database.
    void
    removeByObjectLayoutTabId(long objectLayoutTabId)
    Removes all the object layout boxes where objectLayoutTabId = ? from the database.
    void
    Removes all the object layout boxes where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the object layout boxes where uuid = ? and companyId = ? from the database.
    updateImpl(ObjectLayoutBox objectLayoutBox)
     

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

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

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

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

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

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

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

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

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

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

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

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

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

      Parameters:
      objectLayoutTabId - the object layout tab ID
      start - the lower bound of the range of object layout boxes
      end - the upper bound of the range of object layout boxes (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 boxes
    • findByObjectLayoutTabId_First

      ObjectLayoutBox findByObjectLayoutTabId_First(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException
      Returns the first object layout box in the ordered set where objectLayoutTabId = ?.
      Parameters:
      objectLayoutTabId - the object layout tab ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object layout box
      Throws:
      NoSuchObjectLayoutBoxException - if a matching object layout box could not be found
    • fetchByObjectLayoutTabId_First

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

      void removeByObjectLayoutTabId(long objectLayoutTabId)
      Removes all the object layout boxes where objectLayoutTabId = ? from the database.
      Parameters:
      objectLayoutTabId - the object layout tab ID
    • countByObjectLayoutTabId

      int countByObjectLayoutTabId(long objectLayoutTabId)
      Returns the number of object layout boxes where objectLayoutTabId = ?.
      Parameters:
      objectLayoutTabId - the object layout tab ID
      Returns:
      the number of matching object layout boxes
    • create

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

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

      ObjectLayoutBox updateImpl(ObjectLayoutBox objectLayoutBox)
    • findByPrimaryKey

      ObjectLayoutBox findByPrimaryKey(long objectLayoutBoxId) throws NoSuchObjectLayoutBoxException
      Returns the object layout box with the primary key or throws a NoSuchObjectLayoutBoxException if it could not be found.
      Parameters:
      objectLayoutBoxId - the primary key of the object layout box
      Returns:
      the object layout box
      Throws:
      NoSuchObjectLayoutBoxException - if a object layout box with the primary key could not be found
    • fetchByPrimaryKey

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

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

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

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

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

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

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

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

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

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

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

      default List<ObjectLayoutBox> findByObjectLayoutTabId(long objectLayoutTabId)
      Returns all the object layout boxes where objectLayoutTabId = ?.
      Parameters:
      objectLayoutTabId - the object layout tab ID
      Returns:
      the matching object layout boxes
    • findByObjectLayoutTabId

      default List<ObjectLayoutBox> findByObjectLayoutTabId(long objectLayoutTabId, int start, int end)
      Returns a range of all the object layout boxes where objectLayoutTabId = ?.

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

      Parameters:
      objectLayoutTabId - the object layout tab ID
      start - the lower bound of the range of object layout boxes
      end - the upper bound of the range of object layout boxes (not inclusive)
      Returns:
      the range of matching object layout boxes
    • findByObjectLayoutTabId

      default List<ObjectLayoutBox> findByObjectLayoutTabId(long objectLayoutTabId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
      Returns an ordered range of all the object layout boxes where objectLayoutTabId = ?.

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

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