Class CommerceShipmentUtil
com.liferay.commerce.service.persistence.impl.CommerceShipmentPersistenceImpl 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(CommerceShipment commerceShipment) static voidcacheResult(List<CommerceShipment> commerceShipments) static voidstatic voidclearCache(CommerceShipment commerceShipment) static intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of commerce shipments where externalReferenceCode = ? and companyId = ?.static intcountByG_C(long[] groupIds, long commerceAddressId) Returns the number of commerce shipments where groupId = any ? and commerceAddressId = ?.static intcountByG_C(long groupId, long commerceAddressId) Returns the number of commerce shipments where groupId = ? and commerceAddressId = ?.static intcountByG_S(long[] groupIds, int status) Returns the number of commerce shipments where groupId = any ? and status = ?.static intcountByG_S(long groupId, int status) Returns the number of commerce shipments where groupId = ? and status = ?.static intcountByGroupId(long groupId) Returns the number of commerce shipments where groupId = ?.static intcountByGroupId(long[] groupIds) Returns the number of commerce shipments where groupId = any ?.static intcountByUuid(String uuid) Returns the number of commerce shipments where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of commerce shipments where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of commerce shipments where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CommerceShipmentcreate(long commerceShipmentId) Creates a new commerce shipment with the primary key.static CommerceShipmentfetchByERC_C(String externalReferenceCode, long companyId) Returns the commerce shipment where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.static CommerceShipmentfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce shipment where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.static CommerceShipmentfetchByG_C_First(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.static CommerceShipmentfetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ? and status = ?.static CommerceShipmentfetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ?.static CommerceShipmentfetchByPrimaryKey(long commerceShipmentId) Returns the commerce shipment with the primary key or returnsnullif it could not be found.static Map<Serializable, CommerceShipment> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CommerceShipmentfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where uuid = ? and companyId = ?.static CommerceShipmentfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where uuid = ?.static CommerceShipmentfetchByUUID_G(String uuid, long groupId) Returns the commerce shipment where uuid = ? and groupId = ? or returnsnullif it could not be found.static CommerceShipmentfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the commerce shipment where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static intfilterCountByG_C(long[] groupIds, long commerceAddressId) Returns the number of commerce shipments that the user has permission to view where groupId = any ? and commerceAddressId = ?.static intfilterCountByG_C(long groupId, long commerceAddressId) Returns the number of commerce shipments that the user has permission to view where groupId = ? and commerceAddressId = ?.static intfilterCountByG_S(long[] groupIds, int status) Returns the number of commerce shipments that the user has permission to view where groupId = any ? and status = ?.static intfilterCountByG_S(long groupId, int status) Returns the number of commerce shipments that the user has permission to view where groupId = ? and status = ?.static intfilterCountByGroupId(long groupId) Returns the number of commerce shipments that the user has permission to view where groupId = ?.static intfilterCountByGroupId(long[] groupIds) Returns the number of commerce shipments that the user has permission to view where groupId = any ?.static List<CommerceShipment> filterFindByG_C(long[] groupIds, long commerceAddressId) Returns all the commerce shipments that the user has permission to view where groupId = any ? and commerceAddressId = ?.static List<CommerceShipment> filterFindByG_C(long[] groupIds, long commerceAddressId, int start, int end) Returns a range of all the commerce shipments that the user has permission to view where groupId = any ? and commerceAddressId = ?.static List<CommerceShipment> filterFindByG_C(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments that the user has permission to view where groupId = any ? and commerceAddressId = ?.static List<CommerceShipment> filterFindByG_C(long groupId, long commerceAddressId) Returns all the commerce shipments that the user has permission to view where groupId = ? and commerceAddressId = ?.static List<CommerceShipment> filterFindByG_C(long groupId, long commerceAddressId, int start, int end) Returns a range of all the commerce shipments that the user has permission to view where groupId = ? and commerceAddressId = ?.static List<CommerceShipment> filterFindByG_C(long groupId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments that the user has permissions to view where groupId = ? and commerceAddressId = ?.static List<CommerceShipment> filterFindByG_S(long[] groupIds, int status) Returns all the commerce shipments that the user has permission to view where groupId = any ? and status = ?.static List<CommerceShipment> filterFindByG_S(long[] groupIds, int status, int start, int end) Returns a range of all the commerce shipments that the user has permission to view where groupId = any ? and status = ?.static List<CommerceShipment> filterFindByG_S(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments that the user has permission to view where groupId = any ? and status = ?.static List<CommerceShipment> filterFindByG_S(long groupId, int status) Returns all the commerce shipments that the user has permission to view where groupId = ? and status = ?.static List<CommerceShipment> filterFindByG_S(long groupId, int status, int start, int end) Returns a range of all the commerce shipments that the user has permission to view where groupId = ? and status = ?.static List<CommerceShipment> filterFindByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments that the user has permissions to view where groupId = ? and status = ?.static List<CommerceShipment> filterFindByGroupId(long groupId) Returns all the commerce shipments that the user has permission to view where groupId = ?.static List<CommerceShipment> filterFindByGroupId(long[] groupIds) Returns all the commerce shipments that the user has permission to view where groupId = any ?.static List<CommerceShipment> filterFindByGroupId(long[] groupIds, int start, int end) Returns a range of all the commerce shipments that the user has permission to view where groupId = any ?.static List<CommerceShipment> filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments that the user has permission to view where groupId = any ?.static List<CommerceShipment> filterFindByGroupId(long groupId, int start, int end) Returns a range of all the commerce shipments that the user has permission to view where groupId = ?.static List<CommerceShipment> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments that the user has permissions to view where groupId = ?.static CommerceShipmentfindByERC_C(String externalReferenceCode, long companyId) Returns the commerce shipment where externalReferenceCode = ? and companyId = ? or throws aNoSuchShipmentExceptionif it could not be found.static List<CommerceShipment> findByG_C(long[] groupIds, long commerceAddressId) Returns all the commerce shipments where groupId = any ? and commerceAddressId = ?.static List<CommerceShipment> findByG_C(long[] groupIds, long commerceAddressId, int start, int end) Returns a range of all the commerce shipments where groupId = any ? and commerceAddressId = ?.static List<CommerceShipment> findByG_C(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = any ? and commerceAddressId = ?.static List<CommerceShipment> findByG_C(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?, optionally using the finder cache.static List<CommerceShipment> findByG_C(long groupId, long commerceAddressId) Returns all the commerce shipments where groupId = ? and commerceAddressId = ?.static List<CommerceShipment> findByG_C(long groupId, long commerceAddressId, int start, int end) Returns a range of all the commerce shipments where groupId = ? and commerceAddressId = ?.static List<CommerceShipment> findByG_C(long groupId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?.static List<CommerceShipment> findByG_C(long groupId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?.static CommerceShipmentfindByG_C_First(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.static List<CommerceShipment> findByG_S(long[] groupIds, int status) Returns all the commerce shipments where groupId = any ? and status = ?.static List<CommerceShipment> findByG_S(long[] groupIds, int status, int start, int end) Returns a range of all the commerce shipments where groupId = any ? and status = ?.static List<CommerceShipment> findByG_S(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = any ? and status = ?.static List<CommerceShipment> findByG_S(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ? and status = ?, optionally using the finder cache.static List<CommerceShipment> findByG_S(long groupId, int status) Returns all the commerce shipments where groupId = ? and status = ?.static List<CommerceShipment> findByG_S(long groupId, int status, int start, int end) Returns a range of all the commerce shipments where groupId = ? and status = ?.static List<CommerceShipment> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = ? and status = ?.static List<CommerceShipment> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ? and status = ?.static CommerceShipmentfindByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ? and status = ?.static List<CommerceShipment> findByGroupId(long groupId) Returns all the commerce shipments where groupId = ?.static List<CommerceShipment> findByGroupId(long[] groupIds) Returns all the commerce shipments where groupId = any ?.static List<CommerceShipment> findByGroupId(long[] groupIds, int start, int end) Returns a range of all the commerce shipments where groupId = any ?.static List<CommerceShipment> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = any ?.static List<CommerceShipment> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ?, optionally using the finder cache.static List<CommerceShipment> findByGroupId(long groupId, int start, int end) Returns a range of all the commerce shipments where groupId = ?.static List<CommerceShipment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = ?.static List<CommerceShipment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ?.static CommerceShipmentfindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ?.static CommerceShipmentfindByPrimaryKey(long commerceShipmentId) Returns the commerce shipment with the primary key or throws aNoSuchShipmentExceptionif it could not be found.static List<CommerceShipment> findByUuid(String uuid) Returns all the commerce shipments where uuid = ?.static List<CommerceShipment> findByUuid(String uuid, int start, int end) Returns a range of all the commerce shipments where uuid = ?.static List<CommerceShipment> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where uuid = ?.static List<CommerceShipment> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where uuid = ?.static List<CommerceShipment> findByUuid_C(String uuid, long companyId) Returns all the commerce shipments where uuid = ? and companyId = ?.static List<CommerceShipment> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the commerce shipments where uuid = ? and companyId = ?.static List<CommerceShipment> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where uuid = ? and companyId = ?.static List<CommerceShipment> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where uuid = ? and companyId = ?.static CommerceShipmentfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where uuid = ? and companyId = ?.static CommerceShipmentfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where uuid = ?.static CommerceShipmentfindByUUID_G(String uuid, long groupId) Returns the commerce shipment where uuid = ? and groupId = ? or throws aNoSuchShipmentExceptionif it could not be found.static List<CommerceShipment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CommerceShipment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CommerceShipment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) static CommerceShipmentPersistencestatic CommerceShipmentremove(long commerceShipmentId) Removes the commerce shipment with the primary key from the database.static CommerceShipmentremoveByERC_C(String externalReferenceCode, long companyId) Removes the commerce shipment where externalReferenceCode = ? and companyId = ? from the database.static voidremoveByG_C(long groupId, long commerceAddressId) Removes all the commerce shipments where groupId = ? and commerceAddressId = ? from the database.static voidremoveByG_S(long groupId, int status) Removes all the commerce shipments where groupId = ? and status = ? from the database.static voidremoveByGroupId(long groupId) Removes all the commerce shipments where groupId = ? from the database.static voidremoveByUuid(String uuid) Removes all the commerce shipments where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the commerce shipments where uuid = ? and companyId = ? from the database.static CommerceShipmentremoveByUUID_G(String uuid, long groupId) Removes the commerce shipment where uuid = ? and groupId = ? from the database.static voidsetPersistence(CommerceShipmentPersistence persistence) static CommerceShipmentupdate(CommerceShipment commerceShipment) static CommerceShipmentupdate(CommerceShipment commerceShipment, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CommerceShipmentupdateImpl(CommerceShipment commerceShipment)
-
Constructor Details
-
CommerceShipmentUtil
public CommerceShipmentUtil()
-
-
Method Details
-
cacheResult
- 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
- See Also:
-
findWithDynamicQuery
public static List<CommerceShipment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<CommerceShipment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<CommerceShipment> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static CommerceShipment update(CommerceShipment commerceShipment, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
public static List<CommerceShipment> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments 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.model.impl.CommerceShipmentModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (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 shipments
-
findByUuid_First
public static CommerceShipment findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the first commerce shipment in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment
-
fetchByUuid_First
public static CommerceShipment fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment, or
nullif a matching commerce shipment could not be found
-
removeByUuid
Removes all the commerce shipments where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of commerce shipments where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching commerce shipments
-
findByUUID_G
public static CommerceShipment findByUUID_G(String uuid, long groupId) throws NoSuchShipmentException Returns the commerce shipment where uuid = ? and groupId = ? or throws aNoSuchShipmentExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching commerce shipment
-
fetchByUUID_G
Returns the commerce shipment 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 shipment, or
nullif a matching commerce shipment could not be found
-
removeByUUID_G
public static CommerceShipment removeByUUID_G(String uuid, long groupId) throws NoSuchShipmentException Removes the commerce shipment where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the commerce shipment that was removed
- Throws:
NoSuchShipmentException
-
countByUUID_G
Returns the number of commerce shipments where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching commerce shipments
-
findByUuid_C
public static List<CommerceShipment> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments 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.model.impl.CommerceShipmentModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (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 shipments
-
findByUuid_C_First
public static CommerceShipment findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the first commerce shipment 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 shipment
-
fetchByUuid_C_First
public static CommerceShipment fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment 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 shipment, or
nullif a matching commerce shipment could not be found
-
removeByUuid_C
Removes all the commerce shipments where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of commerce shipments where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching commerce shipments
-
findByGroupId
public static List<CommerceShipment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (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 shipments
-
findByGroupId_First
public static CommerceShipment findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the first commerce shipment in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment
-
fetchByGroupId_First
public static CommerceShipment fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment, or
nullif a matching commerce shipment could not be found
-
filterFindByGroupId
public static List<CommerceShipment> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments that the user has permissions to view where groupId = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce shipments that the user has permission to view
-
filterFindByGroupId
public static List<CommerceShipment> filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments that the user has permission to view where groupId = any ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupIds- the group IDsstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce shipments that the user has permission to view
-
findByGroupId
public static List<CommerceShipment> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ?, optionally using the finder cache.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupIds- the group IDsstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (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 shipments
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the commerce shipments where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of commerce shipments where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching commerce shipments
-
countByGroupId
public static int countByGroupId(long[] groupIds) Returns the number of commerce shipments where groupId = any ?.- Parameters:
groupIds- the group IDs- Returns:
- the number of matching commerce shipments
-
filterCountByGroupId
public static int filterCountByGroupId(long groupId) Returns the number of commerce shipments that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching commerce shipments that the user has permission to view
-
filterCountByGroupId
public static int filterCountByGroupId(long[] groupIds) Returns the number of commerce shipments that the user has permission to view where groupId = any ?.- Parameters:
groupIds- the group IDs- Returns:
- the number of matching commerce shipments that the user has permission to view
-
findByG_C
public static List<CommerceShipment> findByG_C(long groupId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupId- the group IDcommerceAddressId- the commerce address IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (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 shipments
-
findByG_C_First
public static CommerceShipment findByG_C_First(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the first commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.- Parameters:
groupId- the group IDcommerceAddressId- the commerce address IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment
-
fetchByG_C_First
public static CommerceShipment fetchByG_C_First(long groupId, long commerceAddressId, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ? and commerceAddressId = ?.- Parameters:
groupId- the group IDcommerceAddressId- the commerce address IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment, or
nullif a matching commerce shipment could not be found
-
filterFindByG_C
public static List<CommerceShipment> filterFindByG_C(long groupId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments that the user has permissions to view where groupId = ? and commerceAddressId = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupId- the group IDcommerceAddressId- the commerce address IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce shipments that the user has permission to view
-
filterFindByG_C
public static List<CommerceShipment> filterFindByG_C(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments that the user has permission to view where groupId = any ? and commerceAddressId = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupIds- the group IDscommerceAddressId- the commerce address IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce shipments that the user has permission to view
-
findByG_C
public static List<CommerceShipment> findByG_C(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?, optionally using the finder cache.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupIds- the group IDscommerceAddressId- the commerce address IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (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 shipments
-
removeByG_C
public static void removeByG_C(long groupId, long commerceAddressId) Removes all the commerce shipments where groupId = ? and commerceAddressId = ? from the database.- Parameters:
groupId- the group IDcommerceAddressId- the commerce address ID
-
countByG_C
public static int countByG_C(long groupId, long commerceAddressId) Returns the number of commerce shipments where groupId = ? and commerceAddressId = ?.- Parameters:
groupId- the group IDcommerceAddressId- the commerce address ID- Returns:
- the number of matching commerce shipments
-
countByG_C
public static int countByG_C(long[] groupIds, long commerceAddressId) Returns the number of commerce shipments where groupId = any ? and commerceAddressId = ?.- Parameters:
groupIds- the group IDscommerceAddressId- the commerce address ID- Returns:
- the number of matching commerce shipments
-
filterCountByG_C
public static int filterCountByG_C(long groupId, long commerceAddressId) Returns the number of commerce shipments that the user has permission to view where groupId = ? and commerceAddressId = ?.- Parameters:
groupId- the group IDcommerceAddressId- the commerce address ID- Returns:
- the number of matching commerce shipments that the user has permission to view
-
filterCountByG_C
public static int filterCountByG_C(long[] groupIds, long commerceAddressId) Returns the number of commerce shipments that the user has permission to view where groupId = any ? and commerceAddressId = ?.- Parameters:
groupIds- the group IDscommerceAddressId- the commerce address ID- Returns:
- the number of matching commerce shipments that the user has permission to view
-
findByG_S
public static List<CommerceShipment> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ? and status = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupId- the group IDstatus- the statusstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (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 shipments
-
findByG_S_First
public static CommerceShipment findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) throws NoSuchShipmentException Returns the first commerce shipment in the ordered set where groupId = ? and status = ?.- Parameters:
groupId- the group IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment
-
fetchByG_S_First
public static CommerceShipment fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns the first commerce shipment in the ordered set where groupId = ? and status = ?.- Parameters:
groupId- the group IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching commerce shipment, or
nullif a matching commerce shipment could not be found
-
filterFindByG_S
public static List<CommerceShipment> filterFindByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments that the user has permissions to view where groupId = ? and status = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupId- the group IDstatus- the statusstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce shipments that the user has permission to view
-
filterFindByG_S
public static List<CommerceShipment> filterFindByG_S(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments that the user has permission to view where groupId = any ? and status = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupIds- the group IDsstatus- the statusstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce shipments that the user has permission to view
-
findByG_S
public static List<CommerceShipment> findByG_S(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator, boolean useFinderCache) Returns an ordered range of all the commerce shipments where groupId = ? and status = ?, optionally using the finder cache.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupIds- the group IDsstatus- the statusstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (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 shipments
-
removeByG_S
public static void removeByG_S(long groupId, int status) Removes all the commerce shipments where groupId = ? and status = ? from the database.- Parameters:
groupId- the group IDstatus- the status
-
countByG_S
public static int countByG_S(long groupId, int status) Returns the number of commerce shipments where groupId = ? and status = ?.- Parameters:
groupId- the group IDstatus- the status- Returns:
- the number of matching commerce shipments
-
countByG_S
public static int countByG_S(long[] groupIds, int status) Returns the number of commerce shipments where groupId = any ? and status = ?.- Parameters:
groupIds- the group IDsstatus- the status- Returns:
- the number of matching commerce shipments
-
filterCountByG_S
public static int filterCountByG_S(long groupId, int status) Returns the number of commerce shipments that the user has permission to view where groupId = ? and status = ?.- Parameters:
groupId- the group IDstatus- the status- Returns:
- the number of matching commerce shipments that the user has permission to view
-
filterCountByG_S
public static int filterCountByG_S(long[] groupIds, int status) Returns the number of commerce shipments that the user has permission to view where groupId = any ? and status = ?.- Parameters:
groupIds- the group IDsstatus- the status- Returns:
- the number of matching commerce shipments that the user has permission to view
-
findByERC_C
public static CommerceShipment findByERC_C(String externalReferenceCode, long companyId) throws NoSuchShipmentException Returns the commerce shipment where externalReferenceCode = ? and companyId = ? or throws aNoSuchShipmentExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching commerce shipment
-
fetchByERC_C
public static CommerceShipment fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the commerce shipment where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching commerce shipment, or
nullif a matching commerce shipment could not be found
-
removeByERC_C
public static CommerceShipment removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchShipmentException Removes the commerce shipment where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the commerce shipment that was removed
- Throws:
NoSuchShipmentException
-
countByERC_C
Returns the number of commerce shipments where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching commerce shipments
-
create
Creates a new commerce shipment with the primary key. Does not add the commerce shipment to the database.- Parameters:
commerceShipmentId- the primary key for the new commerce shipment- Returns:
- the new commerce shipment
-
remove
Removes the commerce shipment with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceShipmentId- the primary key of the commerce shipment- Returns:
- the commerce shipment that was removed
-
updateImpl
-
findByPrimaryKey
public static CommerceShipment findByPrimaryKey(long commerceShipmentId) throws NoSuchShipmentException Returns the commerce shipment with the primary key or throws aNoSuchShipmentExceptionif it could not be found.- Parameters:
commerceShipmentId- the primary key of the commerce shipment- Returns:
- the commerce shipment
-
fetchByPrimaryKey
Returns the commerce shipment with the primary key or returnsnullif it could not be found.- Parameters:
commerceShipmentId- the primary key of the commerce shipment- Returns:
- the commerce shipment, or
nullif a commerce shipment with the primary key could not be found
-
fetchByUUID_G
Returns the commerce shipment 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 shipment, or
nullif a matching commerce shipment could not be found
-
fetchByERC_C
Returns the commerce shipment where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching commerce shipment, or
nullif a matching commerce shipment could not be found
-
findByUuid
Returns all the commerce shipments where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching commerce shipments
-
findByUuid
Returns a range of all the commerce shipments 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.model.impl.CommerceShipmentModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments
-
findByUuid
public static List<CommerceShipment> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments 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.model.impl.CommerceShipmentModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce shipments
-
findByUuid_C
Returns all the commerce shipments where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching commerce shipments
-
findByUuid_C
Returns a range of all the commerce shipments 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.model.impl.CommerceShipmentModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments
-
findByUuid_C
public static List<CommerceShipment> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments 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.model.impl.CommerceShipmentModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce shipments
-
findByGroupId
Returns all the commerce shipments where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching commerce shipments
-
findByGroupId
Returns a range of all the commerce shipments where groupId = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments
-
findByGroupId
public static List<CommerceShipment> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce shipments
-
findByGroupId
Returns all the commerce shipments where groupId = any ?.- Parameters:
groupIds- the group IDs- Returns:
- the matching commerce shipments
-
findByGroupId
Returns a range of all the commerce shipments where groupId = any ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupIds- the group IDsstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments
-
findByGroupId
public static List<CommerceShipment> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = any ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupIds- the group IDsstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce shipments
-
filterFindByGroupId
Returns all the commerce shipments that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching commerce shipments that the user has permission to view
-
filterFindByGroupId
Returns a range of all the commerce shipments that the user has permission to view where groupId = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments that the user has permission to view
-
filterFindByGroupId
Returns all the commerce shipments that the user has permission to view where groupId = any ?.- Parameters:
groupIds- the group IDs- Returns:
- the matching commerce shipments that the user has permission to view
-
filterFindByGroupId
Returns a range of all the commerce shipments that the user has permission to view where groupId = any ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupIds- the group IDsstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments that the user has permission to view
-
findByG_C
Returns all the commerce shipments where groupId = ? and commerceAddressId = ?.- Parameters:
groupId- the group IDcommerceAddressId- the commerce address ID- Returns:
- the matching commerce shipments
-
findByG_C
public static List<CommerceShipment> findByG_C(long groupId, long commerceAddressId, int start, int end) Returns a range of all the commerce shipments where groupId = ? and commerceAddressId = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupId- the group IDcommerceAddressId- the commerce address IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments
-
findByG_C
public static List<CommerceShipment> findByG_C(long groupId, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = ? and commerceAddressId = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupId- the group IDcommerceAddressId- the commerce address IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce shipments
-
findByG_C
Returns all the commerce shipments where groupId = any ? and commerceAddressId = ?.- Parameters:
groupIds- the group IDscommerceAddressId- the commerce address ID- Returns:
- the matching commerce shipments
-
findByG_C
public static List<CommerceShipment> findByG_C(long[] groupIds, long commerceAddressId, int start, int end) Returns a range of all the commerce shipments where groupId = any ? and commerceAddressId = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupIds- the group IDscommerceAddressId- the commerce address IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments
-
findByG_C
public static List<CommerceShipment> findByG_C(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = any ? and commerceAddressId = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupIds- the group IDscommerceAddressId- the commerce address IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce shipments
-
filterFindByG_C
Returns all the commerce shipments that the user has permission to view where groupId = ? and commerceAddressId = ?.- Parameters:
groupId- the group IDcommerceAddressId- the commerce address ID- Returns:
- the matching commerce shipments that the user has permission to view
-
filterFindByG_C
public static List<CommerceShipment> filterFindByG_C(long groupId, long commerceAddressId, int start, int end) Returns a range of all the commerce shipments that the user has permission to view where groupId = ? and commerceAddressId = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupId- the group IDcommerceAddressId- the commerce address IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments that the user has permission to view
-
filterFindByG_C
Returns all the commerce shipments that the user has permission to view where groupId = any ? and commerceAddressId = ?.- Parameters:
groupIds- the group IDscommerceAddressId- the commerce address ID- Returns:
- the matching commerce shipments that the user has permission to view
-
filterFindByG_C
public static List<CommerceShipment> filterFindByG_C(long[] groupIds, long commerceAddressId, int start, int end) Returns a range of all the commerce shipments that the user has permission to view where groupId = any ? and commerceAddressId = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupIds- the group IDscommerceAddressId- the commerce address IDstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments that the user has permission to view
-
findByG_S
Returns all the commerce shipments where groupId = ? and status = ?.- Parameters:
groupId- the group IDstatus- the status- Returns:
- the matching commerce shipments
-
findByG_S
Returns a range of all the commerce shipments where groupId = ? and status = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupId- the group IDstatus- the statusstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments
-
findByG_S
public static List<CommerceShipment> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = ? and status = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupId- the group IDstatus- the statusstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce shipments
-
findByG_S
Returns all the commerce shipments where groupId = any ? and status = ?.- Parameters:
groupIds- the group IDsstatus- the status- Returns:
- the matching commerce shipments
-
findByG_S
Returns a range of all the commerce shipments where groupId = any ? and status = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupIds- the group IDsstatus- the statusstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments
-
findByG_S
public static List<CommerceShipment> findByG_S(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns an ordered range of all the commerce shipments where groupId = any ? and status = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupIds- the group IDsstatus- the statusstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching commerce shipments
-
filterFindByG_S
Returns all the commerce shipments that the user has permission to view where groupId = ? and status = ?.- Parameters:
groupId- the group IDstatus- the status- Returns:
- the matching commerce shipments that the user has permission to view
-
filterFindByG_S
Returns a range of all the commerce shipments that the user has permission to view where groupId = ? and status = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupId- the group IDstatus- the statusstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments that the user has permission to view
-
filterFindByG_S
Returns all the commerce shipments that the user has permission to view where groupId = any ? and status = ?.- Parameters:
groupIds- the group IDsstatus- the status- Returns:
- the matching commerce shipments that the user has permission to view
-
filterFindByG_S
public static List<CommerceShipment> filterFindByG_S(long[] groupIds, int status, int start, int end) Returns a range of all the commerce shipments that the user has permission to view where groupId = any ? and status = ?.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.model.impl.CommerceShipmentModelImpl.- Parameters:
groupIds- the group IDsstatus- the statusstart- the lower bound of the range of commerce shipmentsend- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of matching commerce shipments that the user has permission to view
-
getPersistence
-
setPersistence
-