Class CommerceShipmentLocalServiceWrapper
- All Implemented Interfaces:
CommerceShipmentLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<CommerceShipmentLocalService>
CommerceShipmentLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceShipmentLocalServiceWrapper
(CommerceShipmentLocalService commerceShipmentLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommerceDeliverySubscriptionShipment
(long userId, long commerceOrderId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber) Deprecated.addCommerceShipment
(long commerceOrderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) addCommerceShipment
(CommerceShipment commerceShipment) Adds the commerce shipment to the database.addCommerceShipment
(String externalReferenceCode, long groupId, long commerceAccountId, long commerceAddressId, long commerceShippingMethodId, String commerceShippingOptionName, com.liferay.portal.kernel.service.ServiceContext serviceContext) addDeliverySubscriptionCommerceShipment
(long userId, long commerceOrderItemId) createCommerceShipment
(long commerceShipmentId) Creates a new commerce shipment with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deleteCommerceShipment
(long commerceShipmentId) Deletes the commerce shipment with the primary key from the database.deleteCommerceShipment
(CommerceShipment commerceShipment) Deletes the commerce shipment from the database.deleteCommerceShipment
(CommerceShipment commerceShipment, boolean restoreStockQuantity) com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery
<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.fetchCommerceShipment
(long commerceShipmentId) fetchCommerceShipmentByExternalReferenceCode
(String externalReferenceCode, long companyId) fetchCommerceShipmentByUuidAndGroupId
(String uuid, long groupId) Returns the commerce shipment matching the UUID and group.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
getCommerceShipment
(long commerceShipmentId) Returns the commerce shipment with the primary key.getCommerceShipmentByExternalReferenceCode
(String externalReferenceCode, long companyId) getCommerceShipmentByUuidAndGroupId
(String uuid, long groupId) Returns the commerce shipment matching the UUID and group.getCommerceShipments
(int start, int end) Returns a range of all the commerce shipments.getCommerceShipments
(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) getCommerceShipments
(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) getCommerceShipments
(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) getCommerceShipments
(long commerceOrderId, int start, int end) getCommerceShipments
(long companyId, long[] groupIds, long[] commerceAccountIds, String keywords, int[] shipmentStatuses, boolean excludeShipmentStatus, int start, int end) getCommerceShipmentsByUuidAndCompanyId
(String uuid, long companyId) Returns all the commerce shipments matching the UUID and company.getCommerceShipmentsByUuidAndCompanyId
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns a range of commerce shipments matching the UUID and company.int
Returns the number of commerce shipments.int
getCommerceShipmentsCount
(long commerceOrderId) int
getCommerceShipmentsCount
(long[] groupIds) int
getCommerceShipmentsCount
(long[] groupIds, int status) int
getCommerceShipmentsCount
(long[] groupIds, long commerceAddressId) int
getCommerceShipmentsCount
(long companyId, long[] groupIds, long[] commerceAccountIds, String keywords, int[] shipmentStatuses, boolean excludeShipmentStatus) int[]
getCommerceShipmentStatusesByCommerceOrderId
(long commerceOrderId) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) reprocessCommerceShipment
(long commerceShipmentId) com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceShipment>
searchCommerceShipments
(com.liferay.portal.kernel.search.SearchContext searchContext) long
searchCommerceShipmentsCount
(com.liferay.portal.kernel.search.SearchContext searchContext) void
setWrappedService
(CommerceShipmentLocalService commerceShipmentLocalService) updateAddress
(String externalReferenceCode, long commerceShipmentId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCarrierDetails
(long commerceShipmentId, long commerceShippingMethodId, String carrier, String trackingNumber, String trackingURL) updateCommerceShipment
(long commerceShipmentId, long commerceShippingMethodId, String carrier, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute, String trackingNumber, String trackingURL, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCommerceShipment
(long commerceShipmentId, long commerceShippingMethodId, String carrier, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute, String trackingNumber, String trackingURL, int status, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateCommerceShipment
(CommerceShipment commerceShipment) Updates the commerce shipment in the database or adds it if it does not yet exist.updateExpectedDate
(long commerceShipmentId, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute) updateExternalReferenceCode
(long commerceShipmentId, String externalReferenceCode) updateShippingDate
(long commerceShipmentId, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute) updateStatus
(long commerceShipmentId, int status) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
CommerceShipmentLocalServiceWrapper
public CommerceShipmentLocalServiceWrapper() -
CommerceShipmentLocalServiceWrapper
public CommerceShipmentLocalServiceWrapper(CommerceShipmentLocalService commerceShipmentLocalService)
-
-
Method Details
-
addCommerceDeliverySubscriptionShipment
@Deprecated public CommerceShipment addCommerceDeliverySubscriptionShipment(long userId, long commerceOrderId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Cavanaugh (7.4.x), replaced byaddDeliverySubscriptionCommerceShipment(long, long)
- Specified by:
addCommerceDeliverySubscriptionShipment
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceShipment
Adds the commerce shipment to the database. Also notifies the appropriate model listeners.Important: Inspect CommerceShipmentLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addCommerceShipment
in interfaceCommerceShipmentLocalService
- Parameters:
commerceShipment
- the commerce shipment- Returns:
- the commerce shipment that was added
-
addCommerceShipment
public CommerceShipment addCommerceShipment(long commerceOrderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceShipment
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceShipment
public CommerceShipment addCommerceShipment(String externalReferenceCode, long groupId, long commerceAccountId, long commerceAddressId, long commerceShippingMethodId, String commerceShippingOptionName, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceShipment
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addDeliverySubscriptionCommerceShipment
public CommerceShipment addDeliverySubscriptionCommerceShipment(long userId, long commerceOrderItemId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addDeliverySubscriptionCommerceShipment
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createCommerceShipment
Creates a new commerce shipment with the primary key. Does not add the commerce shipment to the database.- Specified by:
createCommerceShipment
in interfaceCommerceShipmentLocalService
- Parameters:
commerceShipmentId
- the primary key for the new commerce shipment- Returns:
- the new commerce shipment
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceCommerceShipmentLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceShipment
Deletes the commerce shipment from the database. Also notifies the appropriate model listeners.Important: Inspect CommerceShipmentLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteCommerceShipment
in interfaceCommerceShipmentLocalService
- Parameters:
commerceShipment
- the commerce shipment- Returns:
- the commerce shipment that was removed
-
deleteCommerceShipment
public CommerceShipment deleteCommerceShipment(CommerceShipment commerceShipment, boolean restoreStockQuantity) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCommerceShipment
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceShipment
public CommerceShipment deleteCommerceShipment(long commerceShipmentId) throws com.liferay.portal.kernel.exception.PortalException Deletes the commerce shipment with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect CommerceShipmentLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteCommerceShipment
in interfaceCommerceShipmentLocalService
- Parameters:
commerceShipmentId
- the primary key of the commerce shipment- Returns:
- the commerce shipment that was removed
- Throws:
PortalException
- if a commerce shipment with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfaceCommerceShipmentLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceCommerceShipmentLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceCommerceShipmentLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceCommerceShipmentLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceCommerceShipmentLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.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
tocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.model.impl.CommerceShipmentModelImpl
.- Specified by:
dynamicQuery
in interfaceCommerceShipmentLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.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
tocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.model.impl.CommerceShipmentModelImpl
.- Specified by:
dynamicQuery
in interfaceCommerceShipmentLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceCommerceShipmentLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceCommerceShipmentLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchCommerceShipment
- Specified by:
fetchCommerceShipment
in interfaceCommerceShipmentLocalService
-
fetchCommerceShipmentByExternalReferenceCode
public CommerceShipment fetchCommerceShipmentByExternalReferenceCode(String externalReferenceCode, long companyId) - Specified by:
fetchCommerceShipmentByExternalReferenceCode
in interfaceCommerceShipmentLocalService
-
fetchCommerceShipmentByUuidAndGroupId
Returns the commerce shipment matching the UUID and group.- Specified by:
fetchCommerceShipmentByUuidAndGroupId
in interfaceCommerceShipmentLocalService
- Parameters:
uuid
- the commerce shipment's UUIDgroupId
- the primary key of the group- Returns:
- the matching commerce shipment, or
null
if a matching commerce shipment could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceCommerceShipmentLocalService
-
getCommerceShipment
public CommerceShipment getCommerceShipment(long commerceShipmentId) throws com.liferay.portal.kernel.exception.PortalException Returns the commerce shipment with the primary key.- Specified by:
getCommerceShipment
in interfaceCommerceShipmentLocalService
- Parameters:
commerceShipmentId
- the primary key of the commerce shipment- Returns:
- the commerce shipment
- Throws:
PortalException
- if a commerce shipment with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentByExternalReferenceCode
public CommerceShipment getCommerceShipmentByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentByExternalReferenceCode
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentByUuidAndGroupId
public CommerceShipment getCommerceShipmentByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the commerce shipment matching the UUID and group.- Specified by:
getCommerceShipmentByUuidAndGroupId
in interfaceCommerceShipmentLocalService
- Parameters:
uuid
- the commerce shipment's UUIDgroupId
- the primary key of the group- Returns:
- the matching commerce shipment
- Throws:
PortalException
- if a matching commerce shipment could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getCommerceShipments
Returns a range of all the commerce shipments.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
tocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.commerce.model.impl.CommerceShipmentModelImpl
.- Specified by:
getCommerceShipments
in interfaceCommerceShipmentLocalService
- Parameters:
start
- the lower bound of the range of commerce shipmentsend
- the upper bound of the range of commerce shipments (not inclusive)- Returns:
- the range of commerce shipments
-
getCommerceShipments
- Specified by:
getCommerceShipments
in interfaceCommerceShipmentLocalService
-
getCommerceShipments
public List<CommerceShipment> getCommerceShipments(long companyId, long[] groupIds, long[] commerceAccountIds, String keywords, int[] shipmentStatuses, boolean excludeShipmentStatus, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipments
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipments
public List<CommerceShipment> getCommerceShipments(long[] groupIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) - Specified by:
getCommerceShipments
in interfaceCommerceShipmentLocalService
-
getCommerceShipments
public List<CommerceShipment> getCommerceShipments(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) - Specified by:
getCommerceShipments
in interfaceCommerceShipmentLocalService
-
getCommerceShipments
public List<CommerceShipment> getCommerceShipments(long[] groupIds, long commerceAddressId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) - Specified by:
getCommerceShipments
in interfaceCommerceShipmentLocalService
-
getCommerceShipmentsByUuidAndCompanyId
Returns all the commerce shipments matching the UUID and company.- Specified by:
getCommerceShipmentsByUuidAndCompanyId
in interfaceCommerceShipmentLocalService
- Parameters:
uuid
- the UUID of the commerce shipmentscompanyId
- the primary key of the company- Returns:
- the matching commerce shipments, or an empty list if no matches were found
-
getCommerceShipmentsByUuidAndCompanyId
public List<CommerceShipment> getCommerceShipmentsByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShipment> orderByComparator) Returns a range of commerce shipments matching the UUID and company.- Specified by:
getCommerceShipmentsByUuidAndCompanyId
in interfaceCommerceShipmentLocalService
- Parameters:
uuid
- the UUID of the commerce shipmentscompanyId
- the primary key of the companystart
- 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 range of matching commerce shipments, or an empty list if no matches were found
-
getCommerceShipmentsCount
public int getCommerceShipmentsCount()Returns the number of commerce shipments.- Specified by:
getCommerceShipmentsCount
in interfaceCommerceShipmentLocalService
- Returns:
- the number of commerce shipments
-
getCommerceShipmentsCount
public int getCommerceShipmentsCount(long commerceOrderId) - Specified by:
getCommerceShipmentsCount
in interfaceCommerceShipmentLocalService
-
getCommerceShipmentsCount
public int getCommerceShipmentsCount(long companyId, long[] groupIds, long[] commerceAccountIds, String keywords, int[] shipmentStatuses, boolean excludeShipmentStatus) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCommerceShipmentsCount
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceShipmentsCount
public int getCommerceShipmentsCount(long[] groupIds) - Specified by:
getCommerceShipmentsCount
in interfaceCommerceShipmentLocalService
-
getCommerceShipmentsCount
public int getCommerceShipmentsCount(long[] groupIds, int status) - Specified by:
getCommerceShipmentsCount
in interfaceCommerceShipmentLocalService
-
getCommerceShipmentsCount
public int getCommerceShipmentsCount(long[] groupIds, long commerceAddressId) - Specified by:
getCommerceShipmentsCount
in interfaceCommerceShipmentLocalService
-
getCommerceShipmentStatusesByCommerceOrderId
public int[] getCommerceShipmentStatusesByCommerceOrderId(long commerceOrderId) - Specified by:
getCommerceShipmentStatusesByCommerceOrderId
in interfaceCommerceShipmentLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceCommerceShipmentLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceCommerceShipmentLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCommerceShipmentLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfaceCommerceShipmentLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
reprocessCommerceShipment
public CommerceShipment reprocessCommerceShipment(long commerceShipmentId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
reprocessCommerceShipment
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCommerceShipments
public com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceShipment> searchCommerceShipments(com.liferay.portal.kernel.search.SearchContext searchContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCommerceShipments
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCommerceShipmentsCount
public long searchCommerceShipmentsCount(com.liferay.portal.kernel.search.SearchContext searchContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCommerceShipmentsCount
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAddress
public CommerceShipment updateAddress(String externalReferenceCode, long commerceShipmentId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateAddress
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCarrierDetails
public CommerceShipment updateCarrierDetails(long commerceShipmentId, long commerceShippingMethodId, String carrier, String trackingNumber, String trackingURL) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCarrierDetails
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceShipment
Updates the commerce shipment in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect CommerceShipmentLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateCommerceShipment
in interfaceCommerceShipmentLocalService
- Parameters:
commerceShipment
- the commerce shipment- Returns:
- the commerce shipment that was updated
-
updateCommerceShipment
public CommerceShipment updateCommerceShipment(long commerceShipmentId, long commerceShippingMethodId, String carrier, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute, String trackingNumber, String trackingURL, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceShipment
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceShipment
public CommerceShipment updateCommerceShipment(long commerceShipmentId, long commerceShippingMethodId, String carrier, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute, String trackingNumber, String trackingURL, int status, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCommerceShipment
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExpectedDate
public CommerceShipment updateExpectedDate(long commerceShipmentId, int expectedDateMonth, int expectedDateDay, int expectedDateYear, int expectedDateHour, int expectedDateMinute) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateExpectedDate
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public CommerceShipment updateExternalReferenceCode(long commerceShipmentId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateExternalReferenceCode
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateShippingDate
public CommerceShipment updateShippingDate(long commerceShipmentId, int shippingDateMonth, int shippingDateDay, int shippingDateYear, int shippingDateHour, int shippingDateMinute) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateShippingDate
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public CommerceShipment updateStatus(long commerceShipmentId, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateStatus
in interfaceCommerceShipmentLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceShipmentLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceShipmentLocalService>
-
addDeliverySubscriptionCommerceShipment(long, long)