Interface ObjectFolderItemPersistence

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

@ProviderType public interface ObjectFolderItemPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectFolderItem>
The persistence interface for the object folder item service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      List<ObjectFolderItem> findByUuid(String uuid)
      Returns all the object folder items where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching object folder items
    • findByUuid

      List<ObjectFolderItem> findByUuid(String uuid, int start, int end)
      Returns a range of all the object folder items 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 ObjectFolderItemModelImpl.

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

      List<ObjectFolderItem> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
      Returns an ordered range of all the object folder items 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 ObjectFolderItemModelImpl.

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

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

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

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

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

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

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

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

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

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

      List<ObjectFolderItem> findByUuid_C(String uuid, long companyId)
      Returns all the object folder items where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching object folder items
    • findByUuid_C

      List<ObjectFolderItem> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the object folder items 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 ObjectFolderItemModelImpl.

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

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

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

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

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

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

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

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

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

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

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

      List<ObjectFolderItem> findByObjectDefinitionId(long objectDefinitionId)
      Returns all the object folder items where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      Returns:
      the matching object folder items
    • findByObjectDefinitionId

      List<ObjectFolderItem> findByObjectDefinitionId(long objectDefinitionId, int start, int end)
      Returns a range of all the object folder items where objectDefinitionId = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object folder items
      end - the upper bound of the range of object folder items (not inclusive)
      Returns:
      the range of matching object folder items
    • findByObjectDefinitionId

      List<ObjectFolderItem> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
      Returns an ordered range of all the object folder items where objectDefinitionId = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object folder items
      end - the upper bound of the range of object folder items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object folder items
    • findByObjectDefinitionId

      List<ObjectFolderItem> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object folder items where objectDefinitionId = ?.

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

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object folder items
      end - the upper bound of the range of object folder items (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 folder items
    • findByObjectDefinitionId_First

      ObjectFolderItem findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
      Returns the first object folder item in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object folder item
      Throws:
      NoSuchObjectFolderItemException - if a matching object folder item could not be found
    • fetchByObjectDefinitionId_First

      ObjectFolderItem fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
      Returns the first object folder item in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object folder item, or null if a matching object folder item could not be found
    • findByObjectDefinitionId_Last

      ObjectFolderItem findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
      Returns the last object folder item in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object folder item
      Throws:
      NoSuchObjectFolderItemException - if a matching object folder item could not be found
    • fetchByObjectDefinitionId_Last

      ObjectFolderItem fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
      Returns the last object folder item in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object folder item, or null if a matching object folder item could not be found
    • findByObjectDefinitionId_PrevAndNext

      ObjectFolderItem[] findByObjectDefinitionId_PrevAndNext(long objectFolderItemId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
      Returns the object folder items before and after the current object folder item in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectFolderItemId - the primary key of the current object folder item
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object folder item
      Throws:
      NoSuchObjectFolderItemException - if a object folder item with the primary key could not be found
    • removeByObjectDefinitionId

      void removeByObjectDefinitionId(long objectDefinitionId)
      Removes all the object folder items where objectDefinitionId = ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
    • countByObjectDefinitionId

      int countByObjectDefinitionId(long objectDefinitionId)
      Returns the number of object folder items where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      Returns:
      the number of matching object folder items
    • findByObjectFolderId

      List<ObjectFolderItem> findByObjectFolderId(long objectFolderId)
      Returns all the object folder items where objectFolderId = ?.
      Parameters:
      objectFolderId - the object folder ID
      Returns:
      the matching object folder items
    • findByObjectFolderId

      List<ObjectFolderItem> findByObjectFolderId(long objectFolderId, int start, int end)
      Returns a range of all the object folder items where objectFolderId = ?.

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

      Parameters:
      objectFolderId - the object folder ID
      start - the lower bound of the range of object folder items
      end - the upper bound of the range of object folder items (not inclusive)
      Returns:
      the range of matching object folder items
    • findByObjectFolderId

      List<ObjectFolderItem> findByObjectFolderId(long objectFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
      Returns an ordered range of all the object folder items where objectFolderId = ?.

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

      Parameters:
      objectFolderId - the object folder ID
      start - the lower bound of the range of object folder items
      end - the upper bound of the range of object folder items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object folder items
    • findByObjectFolderId

      List<ObjectFolderItem> findByObjectFolderId(long objectFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object folder items where objectFolderId = ?.

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

      Parameters:
      objectFolderId - the object folder ID
      start - the lower bound of the range of object folder items
      end - the upper bound of the range of object folder items (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 folder items
    • findByObjectFolderId_First

      ObjectFolderItem findByObjectFolderId_First(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
      Returns the first object folder item in the ordered set where objectFolderId = ?.
      Parameters:
      objectFolderId - the object folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object folder item
      Throws:
      NoSuchObjectFolderItemException - if a matching object folder item could not be found
    • fetchByObjectFolderId_First

      ObjectFolderItem fetchByObjectFolderId_First(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
      Returns the first object folder item in the ordered set where objectFolderId = ?.
      Parameters:
      objectFolderId - the object folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object folder item, or null if a matching object folder item could not be found
    • findByObjectFolderId_Last

      ObjectFolderItem findByObjectFolderId_Last(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
      Returns the last object folder item in the ordered set where objectFolderId = ?.
      Parameters:
      objectFolderId - the object folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object folder item
      Throws:
      NoSuchObjectFolderItemException - if a matching object folder item could not be found
    • fetchByObjectFolderId_Last

      ObjectFolderItem fetchByObjectFolderId_Last(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator)
      Returns the last object folder item in the ordered set where objectFolderId = ?.
      Parameters:
      objectFolderId - the object folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object folder item, or null if a matching object folder item could not be found
    • findByObjectFolderId_PrevAndNext

      ObjectFolderItem[] findByObjectFolderId_PrevAndNext(long objectFolderItemId, long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectFolderItem> orderByComparator) throws NoSuchObjectFolderItemException
      Returns the object folder items before and after the current object folder item in the ordered set where objectFolderId = ?.
      Parameters:
      objectFolderItemId - the primary key of the current object folder item
      objectFolderId - the object folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object folder item
      Throws:
      NoSuchObjectFolderItemException - if a object folder item with the primary key could not be found
    • removeByObjectFolderId

      void removeByObjectFolderId(long objectFolderId)
      Removes all the object folder items where objectFolderId = ? from the database.
      Parameters:
      objectFolderId - the object folder ID
    • countByObjectFolderId

      int countByObjectFolderId(long objectFolderId)
      Returns the number of object folder items where objectFolderId = ?.
      Parameters:
      objectFolderId - the object folder ID
      Returns:
      the number of matching object folder items
    • findByODI_OFI

      ObjectFolderItem findByODI_OFI(long objectDefinitionId, long objectFolderId) throws NoSuchObjectFolderItemException
      Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or throws a NoSuchObjectFolderItemException if it could not be found.
      Parameters:
      objectDefinitionId - the object definition ID
      objectFolderId - the object folder ID
      Returns:
      the matching object folder item
      Throws:
      NoSuchObjectFolderItemException - if a matching object folder item could not be found
    • fetchByODI_OFI

      ObjectFolderItem fetchByODI_OFI(long objectDefinitionId, long objectFolderId)
      Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      objectDefinitionId - the object definition ID
      objectFolderId - the object folder ID
      Returns:
      the matching object folder item, or null if a matching object folder item could not be found
    • fetchByODI_OFI

      ObjectFolderItem fetchByODI_OFI(long objectDefinitionId, long objectFolderId, boolean useFinderCache)
      Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      objectDefinitionId - the object definition ID
      objectFolderId - the object folder ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching object folder item, or null if a matching object folder item could not be found
    • removeByODI_OFI

      ObjectFolderItem removeByODI_OFI(long objectDefinitionId, long objectFolderId) throws NoSuchObjectFolderItemException
      Removes the object folder item where objectDefinitionId = ? and objectFolderId = ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
      objectFolderId - the object folder ID
      Returns:
      the object folder item that was removed
      Throws:
      NoSuchObjectFolderItemException
    • countByODI_OFI

      int countByODI_OFI(long objectDefinitionId, long objectFolderId)
      Returns the number of object folder items where objectDefinitionId = ? and objectFolderId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      objectFolderId - the object folder ID
      Returns:
      the number of matching object folder items
    • cacheResult

      void cacheResult(ObjectFolderItem objectFolderItem)
      Caches the object folder item in the entity cache if it is enabled.
      Parameters:
      objectFolderItem - the object folder item
    • cacheResult

      void cacheResult(List<ObjectFolderItem> objectFolderItems)
      Caches the object folder items in the entity cache if it is enabled.
      Parameters:
      objectFolderItems - the object folder items
    • create

      ObjectFolderItem create(long objectFolderItemId)
      Creates a new object folder item with the primary key. Does not add the object folder item to the database.
      Parameters:
      objectFolderItemId - the primary key for the new object folder item
      Returns:
      the new object folder item
    • remove

      ObjectFolderItem remove(long objectFolderItemId) throws NoSuchObjectFolderItemException
      Removes the object folder item with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      objectFolderItemId - the primary key of the object folder item
      Returns:
      the object folder item that was removed
      Throws:
      NoSuchObjectFolderItemException - if a object folder item with the primary key could not be found
    • updateImpl

      ObjectFolderItem updateImpl(ObjectFolderItem objectFolderItem)
    • findByPrimaryKey

      ObjectFolderItem findByPrimaryKey(long objectFolderItemId) throws NoSuchObjectFolderItemException
      Returns the object folder item with the primary key or throws a NoSuchObjectFolderItemException if it could not be found.
      Parameters:
      objectFolderItemId - the primary key of the object folder item
      Returns:
      the object folder item
      Throws:
      NoSuchObjectFolderItemException - if a object folder item with the primary key could not be found
    • fetchByPrimaryKey

      ObjectFolderItem fetchByPrimaryKey(long objectFolderItemId)
      Returns the object folder item with the primary key or returns null if it could not be found.
      Parameters:
      objectFolderItemId - the primary key of the object folder item
      Returns:
      the object folder item, or null if a object folder item with the primary key could not be found
    • findAll

      Returns all the object folder items.
      Returns:
      the object folder items
    • findAll

      List<ObjectFolderItem> findAll(int start, int end)
      Returns a range of all the object folder items.

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

      Parameters:
      start - the lower bound of the range of object folder items
      end - the upper bound of the range of object folder items (not inclusive)
      Returns:
      the range of object folder items
    • findAll

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

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

      Parameters:
      start - the lower bound of the range of object folder items
      end - the upper bound of the range of object folder items (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of object folder items
    • findAll

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

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

      Parameters:
      start - the lower bound of the range of object folder items
      end - the upper bound of the range of object folder items (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 folder items
    • removeAll

      void removeAll()
      Removes all the object folder items from the database.
    • countAll

      int countAll()
      Returns the number of object folder items.
      Returns:
      the number of object folder items