Package org.apache.ofbiz.ecommerce.misc
Class ThirdPartyEvents
java.lang.Object
org.apache.ofbiz.ecommerce.misc.ThirdPartyEvents
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
setAssociationId
(HttpServletRequest request, HttpServletResponse response) Save the association id(s) specified in the request object into the session.static String
updateAssociatedAffiliate
(HttpServletRequest request, HttpServletResponse response) Update the affiliate association for the logged in user, if possible.static String
updateAssociatedDistributor
(HttpServletRequest request, HttpServletResponse response) Update the distributor association for the logged in user, if possible.
-
Field Details
-
DISTRIBUTOR_ID
- See Also:
-
AFFILIATE_ID
- See Also:
-
-
Constructor Details
-
ThirdPartyEvents
public ThirdPartyEvents()
-
-
Method Details
-
setAssociationId
Save the association id(s) specified in the request object into the session.- Parameters:
request
- The HTTPRequest object for the current requestresponse
- 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 requestresponse
- 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 requestresponse
- The HTTPResponse object for the current request- Returns:
- String specifying the exit status of this event
-