Class CommerceVirtualOrderItemFileEntryUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(CommerceVirtualOrderItemFileEntry commerceVirtualOrderItemFileEntry) static voidcacheResult(List<CommerceVirtualOrderItemFileEntry> commerceVirtualOrderItemFileEntries) static voidstatic voidclearCache(CommerceVirtualOrderItemFileEntry commerceVirtualOrderItemFileEntry) static intcountByC_F(long commerceVirtualOrderItemId, long fileEntryId) Returns the number of commerce virtual order item file entries where commerceVirtualOrderItemId = ? and fileEntryId = ?.static intcountByCommerceVirtualOrderItemId(long commerceVirtualOrderItemId) Returns the number of commerce virtual order item file entries where commerceVirtualOrderItemId = ?.static intcountByUuid(String uuid) Returns the number of commerce virtual order item file entries where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of commerce virtual order item file entries where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of commerce virtual order item file entries where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) create(long commerceVirtualOrderItemFileEntryId) Creates a new commerce virtual order item file entry with the primary key.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 = ?.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 = ?.fetchByPrimaryKey(long commerceVirtualOrderItemFileEntryId) Returns the commerce virtual order item file entry with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) 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 = ?.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 = ?.fetchByUUID_G(String uuid, long groupId) Returns the commerce virtual order item file entry where uuid = ? and groupId = ? or returnsnullif it could not be found.fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the commerce virtual order item file entry where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.findByC_F(long commerceVirtualOrderItemId, long fileEntryId) Returns all the commerce virtual order item file entries where commerceVirtualOrderItemId = ? and fileEntryId = ?.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 = ?.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 = ?.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 = ?.findByC_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 = ?.findByCommerceVirtualOrderItemId(long commerceVirtualOrderItemId) Returns all the commerce virtual order item file entries where commerceVirtualOrderItemId = ?.findByCommerceVirtualOrderItemId(long commerceVirtualOrderItemId, int start, int end) Returns a range of all the commerce virtual order item file entries where commerceVirtualOrderItemId = ?.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 = ?.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 = ?.findByCommerceVirtualOrderItemId_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 = ?.findByPrimaryKey(long commerceVirtualOrderItemFileEntryId) Returns the commerce virtual order item file entry with the primary key or throws aNoSuchVirtualOrderItemFileEntryExceptionif it could not be found.findByUuid(String uuid) Returns all the commerce virtual order item file entries where uuid = ?.findByUuid(String uuid, int start, int end) Returns a range of all the commerce virtual order item file entries where uuid = ?.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 = ?.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 = ?.findByUuid_C(String uuid, long companyId) Returns all the commerce virtual order item file entries where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.findByUuid_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 = ?.findByUuid_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 = ?.findByUUID_G(String uuid, long groupId) Returns the commerce virtual order item file entry where uuid = ? and groupId = ? or throws aNoSuchVirtualOrderItemFileEntryExceptionif it could not be found.findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator) remove(long commerceVirtualOrderItemFileEntryId) Removes the commerce virtual order item file entry with the primary key from the database.static voidremoveByC_F(long commerceVirtualOrderItemId, long fileEntryId) Removes all the commerce virtual order item file entries where commerceVirtualOrderItemId = ? and fileEntryId = ? from the database.static voidremoveByCommerceVirtualOrderItemId(long commerceVirtualOrderItemId) Removes all the commerce virtual order item file entries where commerceVirtualOrderItemId = ? from the database.static voidremoveByUuid(String uuid) Removes all the commerce virtual order item file entries where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce virtual order item file entries where uuid = ? and companyId = ? from the database.removeByUUID_G(String uuid, long groupId) Removes the commerce virtual order item file entry where uuid = ? and groupId = ? from the database.static voidupdate(CommerceVirtualOrderItemFileEntry commerceVirtualOrderItemFileEntry) update(CommerceVirtualOrderItemFileEntry commerceVirtualOrderItemFileEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateImpl(CommerceVirtualOrderItemFileEntry commerceVirtualOrderItemFileEntry)
-
Constructor Details
-
CommerceVirtualOrderItemFileEntryUtil
public CommerceVirtualOrderItemFileEntryUtil()
-
-
Method Details
-
cacheResult
public static void cacheResult(List<CommerceVirtualOrderItemFileEntry> commerceVirtualOrderItemFileEntries) - See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,CommerceVirtualOrderItemFileEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<CommerceVirtualOrderItemFileEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<CommerceVirtualOrderItemFileEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
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:
-
update
public static CommerceVirtualOrderItemFileEntry update(CommerceVirtualOrderItemFileEntry commerceVirtualOrderItemFileEntry) - See Also:
-
update
public static CommerceVirtualOrderItemFileEntry update(CommerceVirtualOrderItemFileEntry commerceVirtualOrderItemFileEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.type.virtual.order.model.impl.CommerceVirtualOrderItemFileEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce virtual order item file entriesend- the upper bound of the range of commerce virtual order item file entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce virtual order item file entry
-
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 uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce virtual order item file entry, or
nullif a matching commerce virtual order item file entry could not be found
-
removeByUuid
Removes all the commerce virtual order item file entries where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
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 aNoSuchVirtualOrderItemFileEntryExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching commerce virtual order item file entry
-
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 returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce virtual order item file entry, or
nullif 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 uuidgroupId- the group ID- Returns:
- the commerce virtual order item file entry that was removed
- Throws:
NoSuchVirtualOrderItemFileEntryException
-
countByUUID_G
Returns the number of commerce virtual order item file entries where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- 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, 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.type.virtual.order.model.impl.CommerceVirtualOrderItemFileEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce virtual order item file entriesend- the upper bound of the range of commerce virtual order item file entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce virtual order item file entry
-
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 uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce virtual order item file entry, or
nullif a matching commerce virtual order item file entry could not be found
-
removeByUuid_C
Removes all the commerce virtual order item file entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of commerce virtual order item file entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.type.virtual.order.model.impl.CommerceVirtualOrderItemFileEntryModelImpl.- Parameters:
commerceVirtualOrderItemId- the commerce virtual order item IDstart- the lower bound of the range of commerce virtual order item file entriesend- the upper bound of the range of commerce virtual order item file entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce virtual order item file entry
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce virtual order item file entry, or
nullif a matching commerce virtual order item file entry could not be found
-
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, 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.type.virtual.order.model.impl.CommerceVirtualOrderItemFileEntryModelImpl.- Parameters:
commerceVirtualOrderItemId- the commerce virtual order item IDfileEntryId- the file entry IDstart- the lower bound of the range of commerce virtual order item file entriesend- the upper bound of the range of commerce virtual order item file entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDfileEntryId- the file entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce virtual order item file entry
-
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 IDfileEntryId- the file entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce virtual order item file entry, or
nullif a matching commerce virtual order item file entry could not be found
-
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 IDfileEntryId- 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 IDfileEntryId- the file entry ID- Returns:
- the number of matching commerce virtual order item file entries
-
create
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
-
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 aNoSuchVirtualOrderItemFileEntryExceptionif 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
-
fetchByPrimaryKey
public static CommerceVirtualOrderItemFileEntry fetchByPrimaryKey(long commerceVirtualOrderItemFileEntryId) Returns the commerce virtual order item file entry with the primary key or returnsnullif 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
nullif a commerce virtual order item file entry with the primary key could not be found
-
fetchByUUID_G
Returns the commerce virtual order item file entry where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching commerce virtual order item file entry, or
nullif a matching commerce virtual order item file entry could not be found
-
findByUuid
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
Returns a range of all the commerce virtual order item file entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.type.virtual.order.model.impl.CommerceVirtualOrderItemFileEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce virtual order item file entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.type.virtual.order.model.impl.CommerceVirtualOrderItemFileEntryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce virtual order item file entriesend- the upper bound of the range of commerce virtual order item file entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce virtual order item file entries
-
findByUuid_C
Returns all the commerce virtual order item file entries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.type.virtual.order.model.impl.CommerceVirtualOrderItemFileEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce virtual order item file entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.type.virtual.order.model.impl.CommerceVirtualOrderItemFileEntryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce virtual order item file entriesend- the upper bound of the range of commerce virtual order item file entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.type.virtual.order.model.impl.CommerceVirtualOrderItemFileEntryModelImpl.- Parameters:
commerceVirtualOrderItemId- the commerce virtual order item IDstart- the lower bound of the range of commerce virtual order item file entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.type.virtual.order.model.impl.CommerceVirtualOrderItemFileEntryModelImpl.- Parameters:
commerceVirtualOrderItemId- the commerce virtual order item IDstart- the lower bound of the range of commerce virtual order item file entriesend- the upper bound of the range of commerce virtual order item file entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range 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 IDfileEntryId- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.type.virtual.order.model.impl.CommerceVirtualOrderItemFileEntryModelImpl.- Parameters:
commerceVirtualOrderItemId- the commerce virtual order item IDfileEntryId- the file entry IDstart- the lower bound of the range of commerce virtual order item file entriesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.product.type.virtual.order.model.impl.CommerceVirtualOrderItemFileEntryModelImpl.- Parameters:
commerceVirtualOrderItemId- the commerce virtual order item IDfileEntryId- the file entry IDstart- the lower bound of the range of commerce virtual order item file entriesend- the upper bound of the range of commerce virtual order item file entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce virtual order item file entries
-
getPersistence
-
setPersistence
-