Class ThirdPartyEvents

java.lang.Object
org.apache.ofbiz.ecommerce.misc.ThirdPartyEvents

public class ThirdPartyEvents extends Object
  • Field Details

  • Constructor Details

    • ThirdPartyEvents

      public ThirdPartyEvents()
  • Method Details

    • setAssociationId

      public static String setAssociationId(HttpServletRequest request, HttpServletResponse response)
      Save the association id(s) specified in the request object into the session.
      Parameters:
      request - The HTTPRequest object for the current request
      response - The HTTPResponse object for the current request
      Returns:
      String specifying the exit status of this event
    • updateAssociatedDistributor

      public static String updateAssociatedDistributor(HttpServletRequest request, HttpServletResponse response)
      Update the distributor association for the logged in user, if possible.
      Parameters:
      request - The HTTPRequest object for the current request
      response - The HTTPResponse object for the current request
      Returns:
      String specifying the exit status of this event
    • updateAssociatedAffiliate

      public static String updateAssociatedAffiliate(HttpServletRequest request, HttpServletResponse response)
      Update the affiliate association for the logged in user, if possible.
      Parameters:
      request - The HTTPRequest object for the current request
      response - The HTTPResponse object for the current request
      Returns:
      String specifying the exit status of this event