Liferay 6.1.2-ce-ga3

com.liferay.portlet.shopping.service
Class ShoppingOrderServiceUtil

java.lang.Object
  extended by com.liferay.portlet.shopping.service.ShoppingOrderServiceUtil

public class ShoppingOrderServiceUtil
extends Object

The utility for the shopping order remote service. This utility wraps com.liferay.portlet.shopping.service.impl.ShoppingOrderServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

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:
ShoppingOrderService, com.liferay.portlet.shopping.service.base.ShoppingOrderServiceBaseImpl, com.liferay.portlet.shopping.service.impl.ShoppingOrderServiceImpl

Constructor Summary
ShoppingOrderServiceUtil()
           
 
Method Summary
static void completeOrder(long groupId, String number, String ppTxnId, String ppPaymentStatus, double ppPaymentGross, String ppReceiverEmail, String ppPayerEmail, ServiceContext serviceContext)
           
static void deleteOrder(long groupId, long orderId)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static ShoppingOrder getOrder(long groupId, long orderId)
           
static ShoppingOrderService getService()
           
static void sendEmail(long groupId, long orderId, String emailType, ServiceContext serviceContext)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(ShoppingOrderService service)
          Deprecated.  
static ShoppingOrder updateOrder(long groupId, long orderId, String ppTxnId, String ppPaymentStatus, double ppPaymentGross, String ppReceiverEmail, String ppPayerEmail)
           
static 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingOrderServiceUtil

public ShoppingOrderServiceUtil()
Method Detail

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

completeOrder

public static 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

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

getOrder

public static ShoppingOrder getOrder(long groupId,
                                     long orderId)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

sendEmail

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

updateOrder

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

updateOrder

public static 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

getService

public static ShoppingOrderService getService()

setService

public void setService(ShoppingOrderService service)
Deprecated. 


Liferay 6.1.2-ce-ga3