Class CommerceVirtualOrderItemFileEntryUtil

java.lang.Object
com.liferay.commerce.product.type.virtual.order.service.persistence.CommerceVirtualOrderItemFileEntryUtil

public class CommerceVirtualOrderItemFileEntryUtil extends Object
The persistence utility for the commerce virtual order item file entry service. This utility wraps com.liferay.commerce.product.type.virtual.order.service.persistence.impl.CommerceVirtualOrderItemFileEntryPersistenceImpl 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

    • CommerceVirtualOrderItemFileEntryUtil

      public CommerceVirtualOrderItemFileEntryUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

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

      public static List<CommerceVirtualOrderItemFileEntry> findByUuid(String uuid)
      Returns all the commerce virtual order item file entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce virtual order item file entries
    • findByUuid

      public static List<CommerceVirtualOrderItemFileEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce virtual order item file entries 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 CommerceVirtualOrderItemFileEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce virtual order item file entries
      end - the upper bound of the range of commerce virtual order item file entries (not inclusive)
      Returns:
      the range of matching commerce virtual order item file entries
    • findByUuid

      public static List<CommerceVirtualOrderItemFileEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator)
      Returns an ordered range of all the commerce virtual order item file entries 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 CommerceVirtualOrderItemFileEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce virtual order item file entries
      end - the upper bound of the range of commerce virtual order item file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce virtual order item file entries
    • findByUuid

      public static List<CommerceVirtualOrderItemFileEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce virtual order item file entries 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 CommerceVirtualOrderItemFileEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce virtual order item file entries
      end - the upper bound of the range of commerce virtual order item file entries (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 commerce virtual order item file entries
    • findByUuid_First

      public static CommerceVirtualOrderItemFileEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator) throws NoSuchVirtualOrderItemFileEntryException
      Returns the first commerce virtual order item file entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce virtual order item file entry
      Throws:
      NoSuchVirtualOrderItemFileEntryException - if a matching commerce virtual order item file entry could not be found
      NoSuchVirtualOrderItemFileEntryException
    • fetchByUuid_First

      public static CommerceVirtualOrderItemFileEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator)
      Returns the first commerce virtual order item file entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce virtual order item file entry, or null if a matching commerce virtual order item file entry could not be found
    • findByUuid_Last

      public static CommerceVirtualOrderItemFileEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator) throws NoSuchVirtualOrderItemFileEntryException
      Returns the last commerce virtual order item file entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce virtual order item file entry
      Throws:
      NoSuchVirtualOrderItemFileEntryException - if a matching commerce virtual order item file entry could not be found
      NoSuchVirtualOrderItemFileEntryException
    • fetchByUuid_Last

      public static CommerceVirtualOrderItemFileEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator)
      Returns the last commerce virtual order item file entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce virtual order item file entry, or null if a matching commerce virtual order item file entry could not be found
    • findByUuid_PrevAndNext

      public static CommerceVirtualOrderItemFileEntry[] findByUuid_PrevAndNext(long commerceVirtualOrderItemFileEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator) throws NoSuchVirtualOrderItemFileEntryException
      Returns the commerce virtual order item file entries before and after the current commerce virtual order item file entry in the ordered set where uuid = ?.
      Parameters:
      commerceVirtualOrderItemFileEntryId - the primary key of the current commerce virtual order item file entry
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce virtual order item file entry
      Throws:
      NoSuchVirtualOrderItemFileEntryException - if a commerce virtual order item file entry with the primary key could not be found
      NoSuchVirtualOrderItemFileEntryException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the commerce virtual order item file entries where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of commerce virtual order item file entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching commerce virtual order item file entries
    • findByUUID_G

      public static CommerceVirtualOrderItemFileEntry findByUUID_G(String uuid, long groupId) throws NoSuchVirtualOrderItemFileEntryException
      Returns the commerce virtual order item file entry where uuid = ? and groupId = ? or throws a NoSuchVirtualOrderItemFileEntryException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching commerce virtual order item file entry
      Throws:
      NoSuchVirtualOrderItemFileEntryException - if a matching commerce virtual order item file entry could not be found
      NoSuchVirtualOrderItemFileEntryException
    • fetchByUUID_G

      public static CommerceVirtualOrderItemFileEntry fetchByUUID_G(String uuid, long groupId)
      Returns the commerce virtual order item file entry where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching commerce virtual order item file entry, or null if a matching commerce virtual order item file entry could not be found
    • fetchByUUID_G

      public static CommerceVirtualOrderItemFileEntry fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the commerce virtual order item file entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching commerce virtual order item file entry, or null if a matching commerce virtual order item file entry could not be found
    • removeByUUID_G

      public static CommerceVirtualOrderItemFileEntry removeByUUID_G(String uuid, long groupId) throws NoSuchVirtualOrderItemFileEntryException
      Removes the commerce virtual order item file entry where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the commerce virtual order item file entry that was removed
      Throws:
      NoSuchVirtualOrderItemFileEntryException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of commerce virtual order item file entries where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching commerce virtual order item file entries
    • findByUuid_C

      public static List<CommerceVirtualOrderItemFileEntry> findByUuid_C(String uuid, long companyId)
      Returns all the commerce virtual order item file entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce virtual order item file entries
    • findByUuid_C

      public static List<CommerceVirtualOrderItemFileEntry> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce virtual order item file entries 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 CommerceVirtualOrderItemFileEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce virtual order item file entries
      end - the upper bound of the range of commerce virtual order item file entries (not inclusive)
      Returns:
      the range of matching commerce virtual order item file entries
    • findByUuid_C

      public static List<CommerceVirtualOrderItemFileEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator)
      Returns an ordered range of all the commerce virtual order item file entries 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 CommerceVirtualOrderItemFileEntryModelImpl.

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

      public static List<CommerceVirtualOrderItemFileEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce virtual order item file entries 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 CommerceVirtualOrderItemFileEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce virtual order item file entries
      end - the upper bound of the range of commerce virtual order item file entries (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 commerce virtual order item file entries
    • findByUuid_C_First

      public static CommerceVirtualOrderItemFileEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator) throws NoSuchVirtualOrderItemFileEntryException
      Returns the first commerce virtual order item file entry 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 commerce virtual order item file entry
      Throws:
      NoSuchVirtualOrderItemFileEntryException - if a matching commerce virtual order item file entry could not be found
      NoSuchVirtualOrderItemFileEntryException
    • fetchByUuid_C_First

      public static CommerceVirtualOrderItemFileEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator)
      Returns the first commerce virtual order item file entry 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 commerce virtual order item file entry, or null if a matching commerce virtual order item file entry could not be found
    • findByUuid_C_Last

      public static CommerceVirtualOrderItemFileEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator) throws NoSuchVirtualOrderItemFileEntryException
      Returns the last commerce virtual order item file entry 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 commerce virtual order item file entry
      Throws:
      NoSuchVirtualOrderItemFileEntryException - if a matching commerce virtual order item file entry could not be found
      NoSuchVirtualOrderItemFileEntryException
    • fetchByUuid_C_Last

      public static CommerceVirtualOrderItemFileEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator)
      Returns the last commerce virtual order item file entry 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 commerce virtual order item file entry, or null if a matching commerce virtual order item file entry could not be found
    • findByUuid_C_PrevAndNext

      public static CommerceVirtualOrderItemFileEntry[] findByUuid_C_PrevAndNext(long commerceVirtualOrderItemFileEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator) throws NoSuchVirtualOrderItemFileEntryException
      Returns the commerce virtual order item file entries before and after the current commerce virtual order item file entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      commerceVirtualOrderItemFileEntryId - the primary key of the current commerce virtual order item file entry
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce virtual order item file entry
      Throws:
      NoSuchVirtualOrderItemFileEntryException - if a commerce virtual order item file entry with the primary key could not be found
      NoSuchVirtualOrderItemFileEntryException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the commerce virtual order item file entries 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 commerce virtual order item file entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce virtual order item file entries
    • findByCommerceVirtualOrderItemId

      public static List<CommerceVirtualOrderItemFileEntry> findByCommerceVirtualOrderItemId(long commerceVirtualOrderItemId)
      Returns all the commerce virtual order item file entries where commerceVirtualOrderItemId = ?.
      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      Returns:
      the matching commerce virtual order item file entries
    • findByCommerceVirtualOrderItemId

      public static List<CommerceVirtualOrderItemFileEntry> findByCommerceVirtualOrderItemId(long commerceVirtualOrderItemId, int start, int end)
      Returns a range of all the commerce virtual order item file entries where commerceVirtualOrderItemId = ?.

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

      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      start - the lower bound of the range of commerce virtual order item file entries
      end - the upper bound of the range of commerce virtual order item file entries (not inclusive)
      Returns:
      the range of matching commerce virtual order item file entries
    • findByCommerceVirtualOrderItemId

      public static List<CommerceVirtualOrderItemFileEntry> findByCommerceVirtualOrderItemId(long commerceVirtualOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator)
      Returns an ordered range of all the commerce virtual order item file entries where commerceVirtualOrderItemId = ?.

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

      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      start - the lower bound of the range of commerce virtual order item file entries
      end - the upper bound of the range of commerce virtual order item file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce virtual order item file entries
    • findByCommerceVirtualOrderItemId

      public static List<CommerceVirtualOrderItemFileEntry> findByCommerceVirtualOrderItemId(long commerceVirtualOrderItemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce virtual order item file entries where commerceVirtualOrderItemId = ?.

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

      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      start - the lower bound of the range of commerce virtual order item file entries
      end - the upper bound of the range of commerce virtual order item file entries (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 commerce virtual order item file entries
    • findByCommerceVirtualOrderItemId_First

      public static CommerceVirtualOrderItemFileEntry findByCommerceVirtualOrderItemId_First(long commerceVirtualOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator) throws NoSuchVirtualOrderItemFileEntryException
      Returns the first commerce virtual order item file entry in the ordered set where commerceVirtualOrderItemId = ?.
      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce virtual order item file entry
      Throws:
      NoSuchVirtualOrderItemFileEntryException - if a matching commerce virtual order item file entry could not be found
      NoSuchVirtualOrderItemFileEntryException
    • fetchByCommerceVirtualOrderItemId_First

      public static CommerceVirtualOrderItemFileEntry fetchByCommerceVirtualOrderItemId_First(long commerceVirtualOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator)
      Returns the first commerce virtual order item file entry in the ordered set where commerceVirtualOrderItemId = ?.
      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce virtual order item file entry, or null if a matching commerce virtual order item file entry could not be found
    • findByCommerceVirtualOrderItemId_Last

      public static CommerceVirtualOrderItemFileEntry findByCommerceVirtualOrderItemId_Last(long commerceVirtualOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator) throws NoSuchVirtualOrderItemFileEntryException
      Returns the last commerce virtual order item file entry in the ordered set where commerceVirtualOrderItemId = ?.
      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce virtual order item file entry
      Throws:
      NoSuchVirtualOrderItemFileEntryException - if a matching commerce virtual order item file entry could not be found
      NoSuchVirtualOrderItemFileEntryException
    • fetchByCommerceVirtualOrderItemId_Last

      public static CommerceVirtualOrderItemFileEntry fetchByCommerceVirtualOrderItemId_Last(long commerceVirtualOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator)
      Returns the last commerce virtual order item file entry in the ordered set where commerceVirtualOrderItemId = ?.
      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce virtual order item file entry, or null if a matching commerce virtual order item file entry could not be found
    • findByCommerceVirtualOrderItemId_PrevAndNext

      public static CommerceVirtualOrderItemFileEntry[] findByCommerceVirtualOrderItemId_PrevAndNext(long commerceVirtualOrderItemFileEntryId, long commerceVirtualOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator) throws NoSuchVirtualOrderItemFileEntryException
      Returns the commerce virtual order item file entries before and after the current commerce virtual order item file entry in the ordered set where commerceVirtualOrderItemId = ?.
      Parameters:
      commerceVirtualOrderItemFileEntryId - the primary key of the current commerce virtual order item file entry
      commerceVirtualOrderItemId - the commerce virtual order item ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce virtual order item file entry
      Throws:
      NoSuchVirtualOrderItemFileEntryException - if a commerce virtual order item file entry with the primary key could not be found
      NoSuchVirtualOrderItemFileEntryException
    • removeByCommerceVirtualOrderItemId

      public static void removeByCommerceVirtualOrderItemId(long commerceVirtualOrderItemId)
      Removes all the commerce virtual order item file entries where commerceVirtualOrderItemId = ? from the database.
      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
    • countByCommerceVirtualOrderItemId

      public static int countByCommerceVirtualOrderItemId(long commerceVirtualOrderItemId)
      Returns the number of commerce virtual order item file entries where commerceVirtualOrderItemId = ?.
      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      Returns:
      the number of matching commerce virtual order item file entries
    • findByC_F

      public static List<CommerceVirtualOrderItemFileEntry> findByC_F(long commerceVirtualOrderItemId, long fileEntryId)
      Returns all the commerce virtual order item file entries where commerceVirtualOrderItemId = ? and fileEntryId = ?.
      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      fileEntryId - the file entry ID
      Returns:
      the matching commerce virtual order item file entries
    • findByC_F

      public static List<CommerceVirtualOrderItemFileEntry> findByC_F(long commerceVirtualOrderItemId, long fileEntryId, int start, int end)
      Returns a range of all the commerce virtual order item file entries where commerceVirtualOrderItemId = ? and fileEntryId = ?.

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

      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      fileEntryId - the file entry ID
      start - the lower bound of the range of commerce virtual order item file entries
      end - the upper bound of the range of commerce virtual order item file entries (not inclusive)
      Returns:
      the range of matching commerce virtual order item file entries
    • findByC_F

      public static List<CommerceVirtualOrderItemFileEntry> findByC_F(long commerceVirtualOrderItemId, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator)
      Returns an ordered range of all the commerce virtual order item file entries where commerceVirtualOrderItemId = ? and fileEntryId = ?.

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

      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      fileEntryId - the file entry ID
      start - the lower bound of the range of commerce virtual order item file entries
      end - the upper bound of the range of commerce virtual order item file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce virtual order item file entries
    • findByC_F

      public static List<CommerceVirtualOrderItemFileEntry> findByC_F(long commerceVirtualOrderItemId, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce virtual order item file entries where commerceVirtualOrderItemId = ? and fileEntryId = ?.

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

      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      fileEntryId - the file entry ID
      start - the lower bound of the range of commerce virtual order item file entries
      end - the upper bound of the range of commerce virtual order item file entries (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 commerce virtual order item file entries
    • findByC_F_First

      public static CommerceVirtualOrderItemFileEntry findByC_F_First(long commerceVirtualOrderItemId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator) throws NoSuchVirtualOrderItemFileEntryException
      Returns the first commerce virtual order item file entry in the ordered set where commerceVirtualOrderItemId = ? and fileEntryId = ?.
      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce virtual order item file entry
      Throws:
      NoSuchVirtualOrderItemFileEntryException - if a matching commerce virtual order item file entry could not be found
      NoSuchVirtualOrderItemFileEntryException
    • fetchByC_F_First

      public static CommerceVirtualOrderItemFileEntry fetchByC_F_First(long commerceVirtualOrderItemId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator)
      Returns the first commerce virtual order item file entry in the ordered set where commerceVirtualOrderItemId = ? and fileEntryId = ?.
      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce virtual order item file entry, or null if a matching commerce virtual order item file entry could not be found
    • findByC_F_Last

      public static CommerceVirtualOrderItemFileEntry findByC_F_Last(long commerceVirtualOrderItemId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator) throws NoSuchVirtualOrderItemFileEntryException
      Returns the last commerce virtual order item file entry in the ordered set where commerceVirtualOrderItemId = ? and fileEntryId = ?.
      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce virtual order item file entry
      Throws:
      NoSuchVirtualOrderItemFileEntryException - if a matching commerce virtual order item file entry could not be found
      NoSuchVirtualOrderItemFileEntryException
    • fetchByC_F_Last

      public static CommerceVirtualOrderItemFileEntry fetchByC_F_Last(long commerceVirtualOrderItemId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator)
      Returns the last commerce virtual order item file entry in the ordered set where commerceVirtualOrderItemId = ? and fileEntryId = ?.
      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce virtual order item file entry, or null if a matching commerce virtual order item file entry could not be found
    • findByC_F_PrevAndNext

      public static CommerceVirtualOrderItemFileEntry[] findByC_F_PrevAndNext(long commerceVirtualOrderItemFileEntryId, long commerceVirtualOrderItemId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator) throws NoSuchVirtualOrderItemFileEntryException
      Returns the commerce virtual order item file entries before and after the current commerce virtual order item file entry in the ordered set where commerceVirtualOrderItemId = ? and fileEntryId = ?.
      Parameters:
      commerceVirtualOrderItemFileEntryId - the primary key of the current commerce virtual order item file entry
      commerceVirtualOrderItemId - the commerce virtual order item ID
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce virtual order item file entry
      Throws:
      NoSuchVirtualOrderItemFileEntryException - if a commerce virtual order item file entry with the primary key could not be found
      NoSuchVirtualOrderItemFileEntryException
    • removeByC_F

      public static void removeByC_F(long commerceVirtualOrderItemId, long fileEntryId)
      Removes all the commerce virtual order item file entries where commerceVirtualOrderItemId = ? and fileEntryId = ? from the database.
      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      fileEntryId - the file entry ID
    • countByC_F

      public static int countByC_F(long commerceVirtualOrderItemId, long fileEntryId)
      Returns the number of commerce virtual order item file entries where commerceVirtualOrderItemId = ? and fileEntryId = ?.
      Parameters:
      commerceVirtualOrderItemId - the commerce virtual order item ID
      fileEntryId - the file entry ID
      Returns:
      the number of matching commerce virtual order item file entries
    • cacheResult

      public static void cacheResult(CommerceVirtualOrderItemFileEntry commerceVirtualOrderItemFileEntry)
      Caches the commerce virtual order item file entry in the entity cache if it is enabled.
      Parameters:
      commerceVirtualOrderItemFileEntry - the commerce virtual order item file entry
    • cacheResult

      public static void cacheResult(List<CommerceVirtualOrderItemFileEntry> commerceVirtualOrderItemFileEntries)
      Caches the commerce virtual order item file entries in the entity cache if it is enabled.
      Parameters:
      commerceVirtualOrderItemFileEntries - the commerce virtual order item file entries
    • create

      public static CommerceVirtualOrderItemFileEntry create(long commerceVirtualOrderItemFileEntryId)
      Creates a new commerce virtual order item file entry with the primary key. Does not add the commerce virtual order item file entry to the database.
      Parameters:
      commerceVirtualOrderItemFileEntryId - the primary key for the new commerce virtual order item file entry
      Returns:
      the new commerce virtual order item file entry
    • remove

      public static CommerceVirtualOrderItemFileEntry remove(long commerceVirtualOrderItemFileEntryId) throws NoSuchVirtualOrderItemFileEntryException
      Removes the commerce virtual order item file entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commerceVirtualOrderItemFileEntryId - the primary key of the commerce virtual order item file entry
      Returns:
      the commerce virtual order item file entry that was removed
      Throws:
      NoSuchVirtualOrderItemFileEntryException - if a commerce virtual order item file entry with the primary key could not be found
      NoSuchVirtualOrderItemFileEntryException
    • updateImpl

      public static CommerceVirtualOrderItemFileEntry updateImpl(CommerceVirtualOrderItemFileEntry commerceVirtualOrderItemFileEntry)
    • findByPrimaryKey

      public static CommerceVirtualOrderItemFileEntry findByPrimaryKey(long commerceVirtualOrderItemFileEntryId) throws NoSuchVirtualOrderItemFileEntryException
      Returns the commerce virtual order item file entry with the primary key or throws a NoSuchVirtualOrderItemFileEntryException if it could not be found.
      Parameters:
      commerceVirtualOrderItemFileEntryId - the primary key of the commerce virtual order item file entry
      Returns:
      the commerce virtual order item file entry
      Throws:
      NoSuchVirtualOrderItemFileEntryException - if a commerce virtual order item file entry with the primary key could not be found
      NoSuchVirtualOrderItemFileEntryException
    • fetchByPrimaryKey

      public static CommerceVirtualOrderItemFileEntry fetchByPrimaryKey(long commerceVirtualOrderItemFileEntryId)
      Returns the commerce virtual order item file entry with the primary key or returns null if it could not be found.
      Parameters:
      commerceVirtualOrderItemFileEntryId - the primary key of the commerce virtual order item file entry
      Returns:
      the commerce virtual order item file entry, or null if a commerce virtual order item file entry with the primary key could not be found
    • findAll

      public static List<CommerceVirtualOrderItemFileEntry> findAll()
      Returns all the commerce virtual order item file entries.
      Returns:
      the commerce virtual order item file entries
    • findAll

      public static List<CommerceVirtualOrderItemFileEntry> findAll(int start, int end)
      Returns a range of all the commerce virtual order item file entries.

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

      Parameters:
      start - the lower bound of the range of commerce virtual order item file entries
      end - the upper bound of the range of commerce virtual order item file entries (not inclusive)
      Returns:
      the range of commerce virtual order item file entries
    • findAll

      public static List<CommerceVirtualOrderItemFileEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator)
      Returns an ordered range of all the commerce virtual order item file entries.

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

      Parameters:
      start - the lower bound of the range of commerce virtual order item file entries
      end - the upper bound of the range of commerce virtual order item file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of commerce virtual order item file entries
    • findAll

      public static List<CommerceVirtualOrderItemFileEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce virtual order item file entries.

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

      Parameters:
      start - the lower bound of the range of commerce virtual order item file entries
      end - the upper bound of the range of commerce virtual order item file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of commerce virtual order item file entries
    • removeAll

      public static void removeAll()
      Removes all the commerce virtual order item file entries from the database.
    • countAll

      public static int countAll()
      Returns the number of commerce virtual order item file entries.
      Returns:
      the number of commerce virtual order item file entries
    • getPersistence

      public static CommerceVirtualOrderItemFileEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(CommerceVirtualOrderItemFileEntryPersistence persistence)