Class ObjectFolderItemUtil

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

public class ObjectFolderItemUtil extends Object
The persistence utility for the object folder item service. This utility wraps com.liferay.object.service.persistence.impl.ObjectFolderItemPersistenceImpl 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

    • ObjectFolderItemUtil

      public ObjectFolderItemUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(ObjectFolderItem objectFolderItem)
      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,ObjectFolderItem> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

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

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

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

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

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

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

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

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

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

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

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

      public static 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
      NoSuchObjectFolderItemException
    • fetchByUuid_Last

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

      public static 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
      NoSuchObjectFolderItemException
    • removeByUuid

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

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

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

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

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

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

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

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

      public static 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
      NoSuchObjectFolderItemException
    • fetchByUuid_C_Last

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

      public static 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
      NoSuchObjectFolderItemException
    • removeByUuid_C

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

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

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

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

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

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

      public static 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
      NoSuchObjectFolderItemException
    • fetchByObjectDefinitionId_First

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

      public static 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
      NoSuchObjectFolderItemException
    • fetchByObjectDefinitionId_Last

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

      public static 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
      NoSuchObjectFolderItemException
    • removeByObjectDefinitionId

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

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

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

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

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

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

      public static 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
      NoSuchObjectFolderItemException
    • fetchByObjectFolderId_First

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

      public static 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
      NoSuchObjectFolderItemException
    • fetchByObjectFolderId_Last

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

      public static 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
      NoSuchObjectFolderItemException
    • removeByObjectFolderId

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

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

      public static 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
      NoSuchObjectFolderItemException
    • fetchByODI_OFI

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

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

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

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

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

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

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

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

      public static ObjectFolderItem updateImpl(ObjectFolderItem objectFolderItem)
    • findByPrimaryKey

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

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

      public static List<ObjectFolderItem> findAll()
      Returns all the object folder items.
      Returns:
      the object folder items
    • findAll

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

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

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

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

      public static int countAll()
      Returns the number of object folder items.
      Returns:
      the number of object folder items
    • getPersistence

      public static ObjectFolderItemPersistence getPersistence()
    • setPersistence

      public static void setPersistence(ObjectFolderItemPersistence persistence)