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,java.io.Serializable
public class StandardPaymentModeManager extends GeneratedStandardPaymentModeManager
The base class of the ext.payment.standard Extension. The StandardPaymentModeManager is responsible for getting the different PaymentSystems.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.extension.Extension
Extension.RestrictedLanguagesProvider, Extension.RightsProvider
-
Nested 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 Constructor Description StandardPaymentModeManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidcheckBeforeItemRemoval(SessionContext ctx, Item item)Superclass method overridden to avoid calls to ejb layer.voidcreateEssentialData(java.util.Map params, JspContext jspc)voidcreateProjectData(java.util.Map params, JspContext jspc)PriceValuegetCost(SessionContext ctx, StandardPaymentMode mode, AbstractOrder order)Deprecated.since ages - usePaymentMode.getCost(AbstractOrder)directlystatic StandardPaymentModeManagergetInstance()java.util.MapgetValues(StandardPaymentMode mode)Deprecated.since ages - useStandardPaymentMode.getValues()directlybooleanisCreatorDisabled()Part 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)directlyStandardPaymentModeValuesetCost(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, java.util.Map values)Deprecated.since ages - useStandardPaymentMode.setValues(Map)directly-
Methods inherited from class de.hybris.platform.paymentstandard.jalo.GeneratedStandardPaymentModeManager
createStandardPaymentMode, createStandardPaymentMode, createStandardPaymentModeValue, createStandardPaymentModeValue, getDefaultAttributeModes, getName
-
Methods inherited from class de.hybris.platform.jalo.extension.Extension
checkBeforeInitialization, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, notifyInitializationEnd, notifyInitializationStart, onFirstSessionCreation, writeReplace
-
Methods 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
-
-
-
-
Method Detail
-
getInstance
public static StandardPaymentModeManager 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
protected void notifyItemRemoval(SessionContext ctx, Item item)
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", forRemoval=false) public java.util.Map getValues(StandardPaymentMode mode)Deprecated.since ages - useStandardPaymentMode.getValues()directly
-
setValues
@Deprecated(since="ages", forRemoval=false) public void setValues(StandardPaymentMode mode, java.util.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", forRemoval=false) public boolean isNet(StandardPaymentMode mode)Deprecated.since ages - useGeneratedStandardPaymentMode.isNetAsPrimitive()directly
-
getCost
@Deprecated(since="ages", forRemoval=false) public PriceValue getCost(SessionContext ctx, StandardPaymentMode mode, AbstractOrder order) throws JaloPaymentModeExceptionDeprecated.since ages - usePaymentMode.getCost(AbstractOrder)directly- Throws:
JaloPaymentModeException
-
isCreatorDisabled
public boolean isCreatorDisabled()
Part ofDataCreatorinterface. Returnstrue.- Overrides:
isCreatorDisabledin classExtension- Returns:
true
-
createProjectData
public void createProjectData(java.util.Map params, JspContext jspc)- Overrides:
createProjectDatain classExtension
-
createEssentialData
public void createEssentialData(java.util.Map params, JspContext jspc)- Overrides:
createEssentialDatain classExtension
-
-