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 Details

    • findByUuid

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

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

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

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

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

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

      ObjectLayoutBox[] findByUuid_PrevAndNext(long objectLayoutBoxId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException
      Returns the object layout boxes before and after the current object layout box in the ordered set where uuid = ?.
      Parameters:
      objectLayoutBoxId - the primary key of the current object layout box
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object layout box
      Throws:
      NoSuchObjectLayoutBoxException - if a object layout box with the primary key 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)
      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

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

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

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

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

      ObjectLayoutBox[] findByUuid_C_PrevAndNext(long objectLayoutBoxId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException
      Returns the object layout boxes before and after the current object layout box in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      objectLayoutBoxId - the primary key of the current object layout box
      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 box
      Throws:
      NoSuchObjectLayoutBoxException - if a object layout box with the primary key 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)
      Returns all the object layout boxes where objectLayoutTabId = ?.
      Parameters:
      objectLayoutTabId - the object layout tab ID
      Returns:
      the matching object layout boxes
    • findByObjectLayoutTabId

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

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

      ObjectLayoutBox findByObjectLayoutTabId_Last(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException
      Returns the last 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 last matching object layout box
      Throws:
      NoSuchObjectLayoutBoxException - if a matching object layout box could not be found
    • fetchByObjectLayoutTabId_Last

      ObjectLayoutBox fetchByObjectLayoutTabId_Last(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
      Returns the last 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 last matching object layout box, or null if a matching object layout box could not be found
    • findByObjectLayoutTabId_PrevAndNext

      ObjectLayoutBox[] findByObjectLayoutTabId_PrevAndNext(long objectLayoutBoxId, long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException
      Returns the object layout boxes before and after the current object layout box in the ordered set where objectLayoutTabId = ?.
      Parameters:
      objectLayoutBoxId - the primary key of the current object layout box
      objectLayoutTabId - the object layout tab ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object layout box
      Throws:
      NoSuchObjectLayoutBoxException - if a object layout box with the primary key 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
    • cacheResult

      void cacheResult(ObjectLayoutBox objectLayoutBox)
      Caches the object layout box in the entity cache if it is enabled.
      Parameters:
      objectLayoutBox - the object layout box
    • cacheResult

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

      List<ObjectLayoutBox> findAll()
      Returns all the object layout boxes.
      Returns:
      the object layout boxes
    • findAll

      List<ObjectLayoutBox> findAll(int start, int end)
      Returns a range of all the object layout boxes.

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

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

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

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

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

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

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

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

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

      int countAll()
      Returns the number of object layout boxes.
      Returns:
      the number of object layout boxes