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 void
cacheResult
(CommerceVirtualOrderItemFileEntry commerceVirtualOrderItemFileEntry) Caches the commerce virtual order item file entry in the entity cache if it is enabled.static void
cacheResult
(List<CommerceVirtualOrderItemFileEntry> commerceVirtualOrderItemFileEntries) Caches the commerce virtual order item file entries in the entity cache if it is enabled.static void
static void
clearCache
(CommerceVirtualOrderItemFileEntry commerceVirtualOrderItemFileEntry) static int
countAll()
Returns the number of commerce virtual order item file entries.static int
countByC_F
(long commerceVirtualOrderItemId, long fileEntryId) Returns the number of commerce virtual order item file entries where commerceVirtualOrderItemId = ? and fileEntryId = ?.static int
countByCommerceVirtualOrderItemId
(long commerceVirtualOrderItemId) Returns the number of commerce virtual order item file entries where commerceVirtualOrderItemId = ?.static int
countByUuid
(String uuid) Returns the number of commerce virtual order item file entries where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of commerce virtual order item file entries where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of commerce virtual order item file entries where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(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 = ?.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 = ?.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 = ?.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 = ?.fetchByPrimaryKey
(long commerceVirtualOrderItemFileEntryId) Returns the commerce virtual order item file entry with the primary key or returnsnull
if 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_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 = ?.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 returnsnull
if 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 returnsnull
if it could not be found, optionally using the finder cache.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 = ?.findAll()
Returns all the commerce virtual order item file entries.findAll
(int start, int end) Returns a range of all the commerce virtual order item file entries.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.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.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 = ?.findByC_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 = ?.static CommerceVirtualOrderItemFileEntry[]
findByC_F_PrevAndNext
(long commerceVirtualOrderItemFileEntryId, long commerceVirtualOrderItemId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator) 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 = ?.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 = ?.findByCommerceVirtualOrderItemId_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 = ?.static CommerceVirtualOrderItemFileEntry[]
findByCommerceVirtualOrderItemId_PrevAndNext
(long commerceVirtualOrderItemFileEntryId, long commerceVirtualOrderItemId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator) 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 = ?.findByPrimaryKey
(long commerceVirtualOrderItemFileEntryId) Returns the commerce virtual order item file entry with the primary key or throws aNoSuchVirtualOrderItemFileEntryException
if 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_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 = ?.static CommerceVirtualOrderItemFileEntry[]
findByUuid_C_PrevAndNext
(long commerceVirtualOrderItemFileEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator) 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 = ?.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 aNoSuchVirtualOrderItemFileEntryException
if it could not be found.findByUuid_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 = ?.static CommerceVirtualOrderItemFileEntry[]
findByUuid_PrevAndNext
(long commerceVirtualOrderItemFileEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceVirtualOrderItemFileEntry> orderByComparator) 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 = ?.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 void
Removes all the commerce virtual order item file entries from the database.static void
removeByC_F
(long commerceVirtualOrderItemId, long fileEntryId) Removes all the commerce virtual order item file entries where commerceVirtualOrderItemId = ? and fileEntryId = ? from the database.static void
removeByCommerceVirtualOrderItemId
(long commerceVirtualOrderItemId) Removes all the commerce virtual order item file entries where commerceVirtualOrderItemId = ? from the database.static void
removeByUuid
(String uuid) Removes all the commerce virtual order item file entries where uuid = ? from the database.static void
removeByUuid_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 void
update
(CommerceVirtualOrderItemFileEntry commerceVirtualOrderItemFileEntry) update
(CommerceVirtualOrderItemFileEntry commerceVirtualOrderItemFileEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateImpl
(CommerceVirtualOrderItemFileEntry commerceVirtualOrderItemFileEntry)
-
Constructor Details
-
CommerceVirtualOrderItemFileEntryUtil
public CommerceVirtualOrderItemFileEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceVirtualOrderItemFileEntryModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceVirtualOrderItemFileEntryModelImpl
.- 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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceVirtualOrderItemFileEntryModelImpl
.- 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
- Throws:
NoSuchVirtualOrderItemFileEntryException
- if a matching commerce virtual order item file entry could not be foundNoSuchVirtualOrderItemFileEntryException
-
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
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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce virtual order item file entry
- Throws:
NoSuchVirtualOrderItemFileEntryException
- if a matching commerce virtual order item file entry could not be foundNoSuchVirtualOrderItemFileEntryException
-
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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchVirtualOrderItemFileEntryException
-
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 aNoSuchVirtualOrderItemFileEntryException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- 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 foundNoSuchVirtualOrderItemFileEntryException
-
fetchByUUID_G
Returns the commerce virtual order item file entry where uuid = ? and groupId = ? or returnsnull
if 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
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 returnsnull
if 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
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 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceVirtualOrderItemFileEntryModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceVirtualOrderItemFileEntryModelImpl
.- 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
-
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceVirtualOrderItemFileEntryModelImpl
.- 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
- Throws:
NoSuchVirtualOrderItemFileEntryException
- if a matching commerce virtual order item file entry could not be foundNoSuchVirtualOrderItemFileEntryException
-
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
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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce virtual order item file entry
- Throws:
NoSuchVirtualOrderItemFileEntryException
- if a matching commerce virtual order item file entry could not be foundNoSuchVirtualOrderItemFileEntryException
-
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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchVirtualOrderItemFileEntryException
-
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) 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceVirtualOrderItemFileEntryModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceVirtualOrderItemFileEntryModelImpl
.- 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
-
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceVirtualOrderItemFileEntryModelImpl
.- 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
- Throws:
NoSuchVirtualOrderItemFileEntryException
- if a matching commerce virtual order item file entry could not be foundNoSuchVirtualOrderItemFileEntryException
-
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
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce virtual order item file entry
- Throws:
NoSuchVirtualOrderItemFileEntryException
- if a matching commerce virtual order item file entry could not be foundNoSuchVirtualOrderItemFileEntryException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 entrycommerceVirtualOrderItemId
- the commerce virtual order item IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchVirtualOrderItemFileEntryException
-
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 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceVirtualOrderItemFileEntryModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceVirtualOrderItemFileEntryModelImpl
.- 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
-
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceVirtualOrderItemFileEntryModelImpl
.- 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
- Throws:
NoSuchVirtualOrderItemFileEntryException
- if a matching commerce virtual order item file entry could not be foundNoSuchVirtualOrderItemFileEntryException
-
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
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 IDfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce virtual order item file entry
- Throws:
NoSuchVirtualOrderItemFileEntryException
- if a matching commerce virtual order item file entry could not be foundNoSuchVirtualOrderItemFileEntryException
-
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 IDfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 entrycommerceVirtualOrderItemId
- the commerce virtual order item IDfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchVirtualOrderItemFileEntryException
-
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
-
cacheResult
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
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 foundNoSuchVirtualOrderItemFileEntryException
-
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 aNoSuchVirtualOrderItemFileEntryException
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 foundNoSuchVirtualOrderItemFileEntryException
-
fetchByPrimaryKey
public static CommerceVirtualOrderItemFileEntry fetchByPrimaryKey(long commerceVirtualOrderItemFileEntryId) Returns the commerce virtual order item file entry with the primary key or returnsnull
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
Returns all the commerce virtual order item file entries.- Returns:
- the commerce virtual order item file entries
-
findAll
Returns a range of all the commerce virtual order item file entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceVirtualOrderItemFileEntryModelImpl
.- Parameters:
start
- 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 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceVirtualOrderItemFileEntryModelImpl
.- Parameters:
start
- 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 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceVirtualOrderItemFileEntryModelImpl
.- Parameters:
start
- 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 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
-
setPersistence
-