Class SapSubscriptionSwitchUIComponentsAspect
- java.lang.Object
-
- de.hybris.platform.sap.sapsubscriptionaddon.aspect.SapSubscriptionSwitchUIComponentsAspect
-
public class SapSubscriptionSwitchUIComponentsAspect extends java.lang.ObjectThis aspect is used to apply the UI changes sap subscription is deployed.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringADDON_PREFIXstatic java.lang.StringFORWARD_PREFIXstatic org.apache.log4j.LoggerLOGstatic java.lang.StringREDIRECT_MY_ACCOUNTstatic java.lang.StringREDIRECT_PREFIXstatic java.lang.StringSUBSCRIPTION_ADDON_PREFIX
-
Constructor Summary
Constructors Constructor Description SapSubscriptionSwitchUIComponentsAspect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringaddGridToCart(org.aspectj.lang.ProceedingJoinPoint joinPoint)java.lang.StringaddToCart(org.aspectj.lang.ProceedingJoinPoint joinPoint)java.lang.StringapplyUIChanges(org.aspectj.lang.ProceedingJoinPoint pjp)For subscriptions add the add-on prefix to the UI component.java.lang.StringenterStep(org.aspectj.lang.ProceedingJoinPoint joinPoint)java.lang.Stringorder(org.aspectj.lang.ProceedingJoinPoint joinPoint)java.lang.StringproductDetail(org.aspectj.lang.ProceedingJoinPoint joinPoint)java.lang.StringrolloverMiniCartPopup(org.aspectj.lang.ProceedingJoinPoint joinPoint)java.lang.StringshowCart(org.aspectj.lang.ProceedingJoinPoint joinPoint)
-
-
-
Field Detail
-
LOG
public static final org.apache.log4j.Logger LOG
-
SUBSCRIPTION_ADDON_PREFIX
public static final java.lang.String SUBSCRIPTION_ADDON_PREFIX
- See Also:
- Constant Field Values
-
REDIRECT_PREFIX
public static final java.lang.String REDIRECT_PREFIX
- See Also:
- Constant Field Values
-
FORWARD_PREFIX
public static final java.lang.String FORWARD_PREFIX
- See Also:
- Constant Field Values
-
ADDON_PREFIX
public static final java.lang.String ADDON_PREFIX
- See Also:
- Constant Field Values
-
REDIRECT_MY_ACCOUNT
public static final java.lang.String REDIRECT_MY_ACCOUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
applyUIChanges
public java.lang.String applyUIChanges(org.aspectj.lang.ProceedingJoinPoint pjp) throws java.lang.ThrowableFor subscriptions add the add-on prefix to the UI component.- Parameters:
pjp-- Returns:
- the UI component name
- Throws:
java.lang.Throwable
-
rolloverMiniCartPopup
public java.lang.String rolloverMiniCartPopup(org.aspectj.lang.ProceedingJoinPoint joinPoint) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
addGridToCart
public java.lang.String addGridToCart(org.aspectj.lang.ProceedingJoinPoint joinPoint) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
addToCart
public java.lang.String addToCart(org.aspectj.lang.ProceedingJoinPoint joinPoint) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
showCart
public java.lang.String showCart(org.aspectj.lang.ProceedingJoinPoint joinPoint) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
productDetail
public java.lang.String productDetail(org.aspectj.lang.ProceedingJoinPoint joinPoint) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
enterStep
public java.lang.String enterStep(org.aspectj.lang.ProceedingJoinPoint joinPoint) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
order
public java.lang.String order(org.aspectj.lang.ProceedingJoinPoint joinPoint) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-