Liferay 6.1.2-ce-ga3

com.liferay.portlet.shopping.service
Interface ShoppingOrderService

All Superinterfaces:
BaseService
All Known Implementing Classes:
ShoppingOrderServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface ShoppingOrderService
extends BaseService

The interface for the shopping order remote service.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
ShoppingOrderServiceUtil, com.liferay.portlet.shopping.service.base.ShoppingOrderServiceBaseImpl, com.liferay.portlet.shopping.service.impl.ShoppingOrderServiceImpl

Method Summary
 void completeOrder(long groupId, String number, String ppTxnId, String ppPaymentStatus, double ppPaymentGross, String ppReceiverEmail, String ppPayerEmail, ServiceContext serviceContext)
           
 void deleteOrder(long groupId, long orderId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 ShoppingOrder getOrder(long groupId, long orderId)
           
 void sendEmail(long groupId, long orderId, String emailType, ServiceContext serviceContext)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 ShoppingOrder updateOrder(long groupId, long orderId, String ppTxnId, String ppPaymentStatus, double ppPaymentGross, String ppReceiverEmail, String ppPayerEmail)
           
 ShoppingOrder updateOrder(long groupId, long orderId, String billingFirstName, String billingLastName, String billingEmailAddress, String billingCompany, String billingStreet, String billingCity, String billingState, String billingZip, String billingCountry, String billingPhone, boolean shipToBilling, String shippingFirstName, String shippingLastName, String shippingEmailAddress, String shippingCompany, String shippingStreet, String shippingCity, String shippingState, String shippingZip, String shippingCountry, String shippingPhone, String ccName, String ccType, String ccNumber, int ccExpMonth, int ccExpYear, String ccVerNumber, String comments)
           
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

completeOrder

void completeOrder(long groupId,
                   String number,
                   String ppTxnId,
                   String ppPaymentStatus,
                   double ppPaymentGross,
                   String ppReceiverEmail,
                   String ppPayerEmail,
                   ServiceContext serviceContext)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

deleteOrder

void deleteOrder(long groupId,
                 long orderId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getOrder

@Transactional(propagation=SUPPORTS,
               readOnly=true)
ShoppingOrder getOrder(long groupId,
                                                                long orderId)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

sendEmail

void sendEmail(long groupId,
               long orderId,
               String emailType,
               ServiceContext serviceContext)
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

updateOrder

ShoppingOrder updateOrder(long groupId,
                          long orderId,
                          String ppTxnId,
                          String ppPaymentStatus,
                          double ppPaymentGross,
                          String ppReceiverEmail,
                          String ppPayerEmail)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

updateOrder

ShoppingOrder updateOrder(long groupId,
                          long orderId,
                          String billingFirstName,
                          String billingLastName,
                          String billingEmailAddress,
                          String billingCompany,
                          String billingStreet,
                          String billingCity,
                          String billingState,
                          String billingZip,
                          String billingCountry,
                          String billingPhone,
                          boolean shipToBilling,
                          String shippingFirstName,
                          String shippingLastName,
                          String shippingEmailAddress,
                          String shippingCompany,
                          String shippingStreet,
                          String shippingCity,
                          String shippingState,
                          String shippingZip,
                          String shippingCountry,
                          String shippingPhone,
                          String ccName,
                          String ccType,
                          String ccNumber,
                          int ccExpMonth,
                          int ccExpYear,
                          String ccVerNumber,
                          String comments)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3