@ProviderType public class ShoppingOrderLocalServiceWrapper extends java.lang.Object implements ShoppingOrderLocalService, ServiceWrapper<ShoppingOrderLocalService>
ShoppingOrderLocalService.ShoppingOrderLocalService| Constructor and Description |
|---|
ShoppingOrderLocalServiceWrapper(ShoppingOrderLocalService shoppingOrderLocalService) |
| Modifier and Type | Method and Description |
|---|---|
ShoppingOrder |
addLatestOrder(long userId,
long groupId) |
ShoppingOrder |
addShoppingOrder(ShoppingOrder shoppingOrder)
Adds the shopping order to the database.
|
void |
completeOrder(java.lang.String number,
java.lang.String ppTxnId,
java.lang.String ppPaymentStatus,
double ppPaymentGross,
java.lang.String ppReceiverEmail,
java.lang.String ppPayerEmail,
boolean updateInventory,
ServiceContext serviceContext) |
ShoppingOrder |
createShoppingOrder(long orderId)
Creates a new shopping order with the primary key.
|
void |
deleteOrder(long orderId) |
void |
deleteOrder(ShoppingOrder order) |
void |
deleteOrders(long groupId) |
ShoppingOrder |
deleteShoppingOrder(long orderId)
Deletes the shopping order with the primary key from the database.
|
ShoppingOrder |
deleteShoppingOrder(ShoppingOrder shoppingOrder)
Deletes the shopping order from the database.
|
DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query.
|
ShoppingOrder |
fetchShoppingOrder(long orderId) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
ShoppingOrder |
getLatestOrder(long userId,
long groupId) |
ShoppingOrder |
getOrder(long orderId) |
ShoppingOrder |
getOrder(java.lang.String number) |
ShoppingOrder |
getPayPalTxnIdOrder(java.lang.String ppTxnId) |
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
ShoppingOrder |
getShoppingOrder(long orderId)
Returns the shopping order with the primary key.
|
java.util.List<ShoppingOrder> |
getShoppingOrders(int start,
int end)
Returns a range of all the shopping orders.
|
int |
getShoppingOrdersCount()
Returns the number of shopping orders.
|
ShoppingOrderLocalService |
getWrappedService() |
ShoppingOrderLocalService |
getWrappedShoppingOrderLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
ShoppingOrder |
saveLatestOrder(ShoppingCart cart) |
java.util.List<ShoppingOrder> |
search(long groupId,
long companyId,
long userId,
java.lang.String number,
java.lang.String billingFirstName,
java.lang.String billingLastName,
java.lang.String billingEmailAddress,
java.lang.String shippingFirstName,
java.lang.String shippingLastName,
java.lang.String shippingEmailAddress,
java.lang.String ppPaymentStatus,
boolean andOperator,
int start,
int end) |
int |
searchCount(long groupId,
long companyId,
long userId,
java.lang.String number,
java.lang.String billingFirstName,
java.lang.String billingLastName,
java.lang.String billingEmailAddress,
java.lang.String shippingFirstName,
java.lang.String shippingLastName,
java.lang.String shippingEmailAddress,
java.lang.String ppPaymentStatus,
boolean andOperator) |
void |
sendEmail(long orderId,
java.lang.String emailType,
ServiceContext serviceContext) |
void |
sendEmail(ShoppingOrder order,
java.lang.String emailType,
ServiceContext serviceContext) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedService(ShoppingOrderLocalService shoppingOrderLocalService) |
void |
setWrappedShoppingOrderLocalService(ShoppingOrderLocalService shoppingOrderLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portlet.shopping.service.ShoppingOrderLocalService) |
ShoppingOrder |
updateLatestOrder(long userId,
long groupId,
java.lang.String billingFirstName,
java.lang.String billingLastName,
java.lang.String billingEmailAddress,
java.lang.String billingCompany,
java.lang.String billingStreet,
java.lang.String billingCity,
java.lang.String billingState,
java.lang.String billingZip,
java.lang.String billingCountry,
java.lang.String billingPhone,
boolean shipToBilling,
java.lang.String shippingFirstName,
java.lang.String shippingLastName,
java.lang.String shippingEmailAddress,
java.lang.String shippingCompany,
java.lang.String shippingStreet,
java.lang.String shippingCity,
java.lang.String shippingState,
java.lang.String shippingZip,
java.lang.String shippingCountry,
java.lang.String shippingPhone,
java.lang.String ccName,
java.lang.String ccType,
java.lang.String ccNumber,
int ccExpMonth,
int ccExpYear,
java.lang.String ccVerNumber,
java.lang.String comments) |
ShoppingOrder |
updateOrder(long orderId,
java.lang.String ppTxnId,
java.lang.String ppPaymentStatus,
double ppPaymentGross,
java.lang.String ppReceiverEmail,
java.lang.String ppPayerEmail) |
ShoppingOrder |
updateOrder(long orderId,
java.lang.String billingFirstName,
java.lang.String billingLastName,
java.lang.String billingEmailAddress,
java.lang.String billingCompany,
java.lang.String billingStreet,
java.lang.String billingCity,
java.lang.String billingState,
java.lang.String billingZip,
java.lang.String billingCountry,
java.lang.String billingPhone,
boolean shipToBilling,
java.lang.String shippingFirstName,
java.lang.String shippingLastName,
java.lang.String shippingEmailAddress,
java.lang.String shippingCompany,
java.lang.String shippingStreet,
java.lang.String shippingCity,
java.lang.String shippingState,
java.lang.String shippingZip,
java.lang.String shippingCountry,
java.lang.String shippingPhone,
java.lang.String ccName,
java.lang.String ccType,
java.lang.String ccNumber,
int ccExpMonth,
int ccExpYear,
java.lang.String ccVerNumber,
java.lang.String comments) |
ShoppingOrder |
updateShoppingOrder(ShoppingOrder shoppingOrder)
Updates the shopping order in the database or adds it if it does not yet exist.
|
public ShoppingOrderLocalServiceWrapper(ShoppingOrderLocalService shoppingOrderLocalService)
public ShoppingOrder addShoppingOrder(ShoppingOrder shoppingOrder) throws SystemException
addShoppingOrder in interface ShoppingOrderLocalServiceshoppingOrder - the shopping orderSystemException - if a system exception occurredpublic ShoppingOrder createShoppingOrder(long orderId)
createShoppingOrder in interface ShoppingOrderLocalServiceorderId - the primary key for the new shopping orderpublic ShoppingOrder deleteShoppingOrder(long orderId) throws PortalException, SystemException
deleteShoppingOrder in interface ShoppingOrderLocalServiceorderId - the primary key of the shopping orderPortalException - if a shopping order with the primary key could not be foundSystemException - if a system exception occurredpublic ShoppingOrder deleteShoppingOrder(ShoppingOrder shoppingOrder) throws SystemException
deleteShoppingOrder in interface ShoppingOrderLocalServiceshoppingOrder - the shopping orderSystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface ShoppingOrderLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface ShoppingOrderLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ShoppingOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface ShoppingOrderLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)SystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ShoppingOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface ShoppingOrderLocalServicedynamicQuery - 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 (optionally null)SystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount in interface ShoppingOrderLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface ShoppingOrderLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic ShoppingOrder fetchShoppingOrder(long orderId) throws SystemException
fetchShoppingOrder in interface ShoppingOrderLocalServiceSystemExceptionpublic ShoppingOrder getShoppingOrder(long orderId) throws PortalException, SystemException
getShoppingOrder in interface ShoppingOrderLocalServiceorderId - the primary key of the shopping orderPortalException - if a shopping order with the primary key could not be foundSystemException - if a system exception occurredpublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface ShoppingOrderLocalServicePortalExceptionSystemExceptionpublic java.util.List<ShoppingOrder> getShoppingOrders(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ShoppingOrderModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getShoppingOrders in interface ShoppingOrderLocalServicestart - the lower bound of the range of shopping ordersend - the upper bound of the range of shopping orders (not inclusive)SystemException - if a system exception occurredpublic int getShoppingOrdersCount()
throws SystemException
getShoppingOrdersCount in interface ShoppingOrderLocalServiceSystemException - if a system exception occurredpublic ShoppingOrder updateShoppingOrder(ShoppingOrder shoppingOrder) throws SystemException
updateShoppingOrder in interface ShoppingOrderLocalServiceshoppingOrder - the shopping orderSystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface ShoppingOrderLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface ShoppingOrderLocalServicebeanIdentifier - the Spring bean ID for this beanpublic ShoppingOrder addLatestOrder(long userId, long groupId) throws PortalException, SystemException
addLatestOrder in interface ShoppingOrderLocalServicePortalExceptionSystemExceptionpublic void completeOrder(java.lang.String number,
java.lang.String ppTxnId,
java.lang.String ppPaymentStatus,
double ppPaymentGross,
java.lang.String ppReceiverEmail,
java.lang.String ppPayerEmail,
boolean updateInventory,
ServiceContext serviceContext)
throws PortalException,
SystemException
completeOrder in interface ShoppingOrderLocalServicePortalExceptionSystemExceptionpublic void deleteOrder(long orderId)
throws PortalException,
SystemException
deleteOrder in interface ShoppingOrderLocalServicePortalExceptionSystemExceptionpublic void deleteOrder(ShoppingOrder order) throws PortalException, SystemException
deleteOrder in interface ShoppingOrderLocalServicePortalExceptionSystemExceptionpublic void deleteOrders(long groupId)
throws PortalException,
SystemException
deleteOrders in interface ShoppingOrderLocalServicePortalExceptionSystemExceptionpublic ShoppingOrder getLatestOrder(long userId, long groupId) throws PortalException, SystemException
getLatestOrder in interface ShoppingOrderLocalServicePortalExceptionSystemExceptionpublic ShoppingOrder getOrder(long orderId) throws PortalException, SystemException
getOrder in interface ShoppingOrderLocalServicePortalExceptionSystemExceptionpublic ShoppingOrder getOrder(java.lang.String number) throws PortalException, SystemException
getOrder in interface ShoppingOrderLocalServicePortalExceptionSystemExceptionpublic ShoppingOrder getPayPalTxnIdOrder(java.lang.String ppTxnId) throws PortalException, SystemException
getPayPalTxnIdOrder in interface ShoppingOrderLocalServicePortalExceptionSystemExceptionpublic ShoppingOrder saveLatestOrder(ShoppingCart cart) throws PortalException, SystemException
saveLatestOrder in interface ShoppingOrderLocalServicePortalExceptionSystemExceptionpublic java.util.List<ShoppingOrder> search(long groupId, long companyId, long userId, java.lang.String number, java.lang.String billingFirstName, java.lang.String billingLastName, java.lang.String billingEmailAddress, java.lang.String shippingFirstName, java.lang.String shippingLastName, java.lang.String shippingEmailAddress, java.lang.String ppPaymentStatus, boolean andOperator, int start, int end) throws SystemException
search in interface ShoppingOrderLocalServiceSystemExceptionpublic int searchCount(long groupId,
long companyId,
long userId,
java.lang.String number,
java.lang.String billingFirstName,
java.lang.String billingLastName,
java.lang.String billingEmailAddress,
java.lang.String shippingFirstName,
java.lang.String shippingLastName,
java.lang.String shippingEmailAddress,
java.lang.String ppPaymentStatus,
boolean andOperator)
throws SystemException
searchCount in interface ShoppingOrderLocalServiceSystemExceptionpublic void sendEmail(long orderId,
java.lang.String emailType,
ServiceContext serviceContext)
throws PortalException,
SystemException
sendEmail in interface ShoppingOrderLocalServicePortalExceptionSystemExceptionpublic void sendEmail(ShoppingOrder order, java.lang.String emailType, ServiceContext serviceContext) throws PortalException, SystemException
sendEmail in interface ShoppingOrderLocalServicePortalExceptionSystemExceptionpublic ShoppingOrder updateLatestOrder(long userId, long groupId, java.lang.String billingFirstName, java.lang.String billingLastName, java.lang.String billingEmailAddress, java.lang.String billingCompany, java.lang.String billingStreet, java.lang.String billingCity, java.lang.String billingState, java.lang.String billingZip, java.lang.String billingCountry, java.lang.String billingPhone, boolean shipToBilling, java.lang.String shippingFirstName, java.lang.String shippingLastName, java.lang.String shippingEmailAddress, java.lang.String shippingCompany, java.lang.String shippingStreet, java.lang.String shippingCity, java.lang.String shippingState, java.lang.String shippingZip, java.lang.String shippingCountry, java.lang.String shippingPhone, java.lang.String ccName, java.lang.String ccType, java.lang.String ccNumber, int ccExpMonth, int ccExpYear, java.lang.String ccVerNumber, java.lang.String comments) throws PortalException, SystemException
updateLatestOrder in interface ShoppingOrderLocalServicePortalExceptionSystemExceptionpublic ShoppingOrder updateOrder(long orderId, java.lang.String ppTxnId, java.lang.String ppPaymentStatus, double ppPaymentGross, java.lang.String ppReceiverEmail, java.lang.String ppPayerEmail) throws PortalException, SystemException
updateOrder in interface ShoppingOrderLocalServicePortalExceptionSystemExceptionpublic ShoppingOrder updateOrder(long orderId, java.lang.String billingFirstName, java.lang.String billingLastName, java.lang.String billingEmailAddress, java.lang.String billingCompany, java.lang.String billingStreet, java.lang.String billingCity, java.lang.String billingState, java.lang.String billingZip, java.lang.String billingCountry, java.lang.String billingPhone, boolean shipToBilling, java.lang.String shippingFirstName, java.lang.String shippingLastName, java.lang.String shippingEmailAddress, java.lang.String shippingCompany, java.lang.String shippingStreet, java.lang.String shippingCity, java.lang.String shippingState, java.lang.String shippingZip, java.lang.String shippingCountry, java.lang.String shippingPhone, java.lang.String ccName, java.lang.String ccType, java.lang.String ccNumber, int ccExpMonth, int ccExpYear, java.lang.String ccVerNumber, java.lang.String comments) throws PortalException, SystemException
updateOrder in interface ShoppingOrderLocalServicePortalExceptionSystemExceptionpublic ShoppingOrderLocalService getWrappedShoppingOrderLocalService()
getWrappedService()public void setWrappedShoppingOrderLocalService(ShoppingOrderLocalService shoppingOrderLocalService)
setWrappedService(com.liferay.portlet.shopping.service.ShoppingOrderLocalService)public ShoppingOrderLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<ShoppingOrderLocalService>public void setWrappedService(ShoppingOrderLocalService shoppingOrderLocalService)
setWrappedService in interface ServiceWrapper<ShoppingOrderLocalService>