Class StandardPaymentModeManager
java.lang.Object
de.hybris.platform.jalo.Manager
de.hybris.platform.jalo.extension.Extension
de.hybris.platform.paymentstandard.jalo.GeneratedStandardPaymentModeManager
de.hybris.platform.paymentstandard.jalo.StandardPaymentModeManager
- All Implemented Interfaces:
ItemLifecycleListener,Serializable
The base class of the ext.payment.standard Extension. The StandardPaymentModeManager is responsible for getting the
different PaymentSystems.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.jalo.extension.Extension
Extension.RestrictedLanguagesProvider, Extension.RightsProviderNested classes/interfaces inherited from class de.hybris.platform.jalo.Manager
Manager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreator -
Field Summary
Fields inherited from class de.hybris.platform.paymentstandard.jalo.GeneratedStandardPaymentModeManager
DEFAULT_INITIAL_ATTRIBUTES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckBeforeItemRemoval(SessionContext ctx, Item item) Superclass method overridden to avoid calls to ejb layer.voidcreateEssentialData(Map params, JspContext jspc) voidcreateProjectData(Map params, JspContext jspc) getCost(SessionContext ctx, StandardPaymentMode mode, AbstractOrder order) Deprecated.static StandardPaymentModeManagergetValues(StandardPaymentMode mode) Deprecated.since ages - useStandardPaymentMode.getValues()directlybooleanPart ofDataCreatorinterface.booleanisNet(StandardPaymentMode mode) Deprecated.since ages - useGeneratedStandardPaymentMode.isNetAsPrimitive()directlyprotected voidnotifyItemRemoval(SessionContext ctx, Item item) Superclass method overridden to avoid calls to ejb layer except forCurrencyinstances.booleanremoveCost(StandardPaymentMode mode, Currency curr) Deprecated.since ages - useStandardPaymentMode.removeCost(Currency)directlysetCost(StandardPaymentMode mode, Currency curr, double value) Deprecated.since ages - useStandardPaymentMode.setCost(Currency, double)directlyvoidsetNet(StandardPaymentMode mode, boolean net) Deprecated.since ages - useGeneratedStandardPaymentMode.setNet(boolean)directlyvoidsetValues(StandardPaymentMode mode, Map values) Deprecated.since ages - useStandardPaymentMode.setValues(Map)directlyMethods inherited from class de.hybris.platform.paymentstandard.jalo.GeneratedStandardPaymentModeManager
createStandardPaymentMode, createStandardPaymentMode, createStandardPaymentModeValue, createStandardPaymentModeValue, getDefaultAttributeModes, getNameMethods inherited from class de.hybris.platform.jalo.extension.Extension
checkBeforeInitialization, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, notifyInitializationEnd, notifyInitializationStart, onFirstSessionCreation, writeReplaceMethods inherited from class de.hybris.platform.jalo.Manager
afterItemCreation, beforeItemCreation, destroy, extractNonRequiredRemoteFromItem, extractRequiredRemoteFromItem, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, init, setAttribute, setTenant, setTransientObject, wrap
-
Constructor Details
-
StandardPaymentModeManager
public StandardPaymentModeManager()
-
-
Method Details
-
getInstance
- Returns:
- instance of this manager
-
checkBeforeItemRemoval
protected void checkBeforeItemRemoval(SessionContext ctx, Item item) throws ConsistencyCheckException Superclass method overridden to avoid calls to ejb layer.- Overrides:
checkBeforeItemRemovalin classExtension- Parameters:
ctx- the current session contextitem- the item which should be removed- Throws:
ConsistencyCheckException- thrown to abort removal due to consistency errors
-
notifyItemRemoval
Superclass method overridden to avoid calls to ejb layer except forCurrencyinstances.- Overrides:
notifyItemRemovalin classExtension- Parameters:
ctx- the currency session contextitem- the item which is going to be removed
-
setCost
@Deprecated(since="ages", forRemoval=false) public StandardPaymentModeValue setCost(StandardPaymentMode mode, Currency curr, double value) Deprecated.since ages - useStandardPaymentMode.setCost(Currency, double)directly -
removeCost
@Deprecated(since="ages", forRemoval=false) public boolean removeCost(StandardPaymentMode mode, Currency curr) Deprecated.since ages - useStandardPaymentMode.removeCost(Currency)directly -
getValues
Deprecated.since ages - useStandardPaymentMode.getValues()directly -
setValues
@Deprecated(since="ages", forRemoval=false) public void setValues(StandardPaymentMode mode, Map values) Deprecated.since ages - useStandardPaymentMode.setValues(Map)directly -
setNet
@Deprecated(since="ages", forRemoval=false) public void setNet(StandardPaymentMode mode, boolean net) Deprecated.since ages - useGeneratedStandardPaymentMode.setNet(boolean)directly -
isNet
Deprecated.since ages - useGeneratedStandardPaymentMode.isNetAsPrimitive()directly -
getCost
@Deprecated(since="ages", forRemoval=false) public PriceValue getCost(SessionContext ctx, StandardPaymentMode mode, AbstractOrder order) throws JaloPaymentModeException Deprecated.since ages - usePaymentMode.getCost(AbstractOrder)directly- Throws:
JaloPaymentModeException
-
isCreatorDisabled
public boolean isCreatorDisabled()Part ofDataCreatorinterface. Returnstrue.- Overrides:
isCreatorDisabledin classExtension- Returns:
true
-
createProjectData
- Overrides:
createProjectDatain classExtension
-
createEssentialData
- Overrides:
createEssentialDatain classExtension
-
PaymentMode.getCost(AbstractOrder)directly