public class ZoneDeliveryModeManager extends GeneratedZoneDeliveryModeManager
Extension.RestrictedLanguagesProvider, Extension.RightsProviderManager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreatorDEFAULT_INITIAL_ATTRIBUTES, ZONECOUNTRYRELATION_MARKMODIFIED, ZONECOUNTRYRELATION_SRC_ORDERED, ZONECOUNTRYRELATION_TGT_ORDERED| Constructor and Description |
|---|
ZoneDeliveryModeManager() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkBeforeItemRemoval(SessionContext ctx,
Item item)
Superclass method overridden to avoid calls to ejb layer.
|
Zone |
createZone(java.lang.String zoneCode)
Creates a new zone.
|
java.util.Collection<Zone> |
getAllZones()
Returns all zones within the system.
|
java.util.Collection |
getCurrencies(ZoneDeliveryMode mode,
Zone zone)
Deprecated.
since ages - use
ZoneDeliveryMode.getCurrencies(Zone) |
static ZoneDeliveryModeManager |
getInstance() |
java.util.Map |
getValues(ZoneDeliveryMode mode,
Currency curr,
Zone zone)
Deprecated.
since ages - use
ZoneDeliveryMode.getValues(Currency, Zone) |
Zone |
getZone(java.lang.String code)
Locates a zone by its code.
|
java.util.Collection |
getZones(ZoneDeliveryMode mode)
Deprecated.
since ages - use
ZoneDeliveryMode.getZones() |
boolean |
isCreatorDisabled()
Part of
DataCreator interface. |
protected void |
notifyItemRemoval(SessionContext ctx,
Item item)
Deprecated.
since ages - Since 4.3 cascading removal is handled by the remove interceptors on Zone and Currency.
|
boolean |
removeCost(ZoneDeliveryMode mode,
Currency curr,
double min,
Zone zone)
Deprecated.
since ages - use
ZoneDeliveryMode.removeCost(Currency, double, Zone) |
ZoneDeliveryModeValue |
setCost(ZoneDeliveryMode mode,
Currency curr,
double min,
double value,
Zone zone)
Deprecated.
since ages - use
ZoneDeliveryMode.setCost(Currency, double, double, Zone) |
addToZones, addToZones, createZone, createZone, createZoneDeliveryMode, createZoneDeliveryMode, createZoneDeliveryModeValue, createZoneDeliveryModeValue, getDefaultAttributeModes, getName, getZones, getZones, getZonesCount, getZonesCount, removeFromZones, removeFromZones, setZones, setZonescreateEssentialData, createProjectData, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, notifyInitializationEnd, notifyInitializationStart, onFirstSessionCreation, writeReplaceafterItemCreation, beforeItemCreation, destroy, extractNonRequiredRemoteFromItem, extractRequiredRemoteFromItem, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, init, setAttribute, setTenant, setTransientObject, wrappublic static ZoneDeliveryModeManager getInstance()
protected void checkBeforeItemRemoval(SessionContext ctx, Item item) throws ConsistencyCheckException
checkBeforeItemRemoval in class Extensionctx - the current session contextitem - the item which should be removedConsistencyCheckException - thrown to abort removal due to consistency errors@Deprecated protected void notifyItemRemoval(SessionContext ctx, Item item)
Country, Zone,
Currency and DeliveryMode instances.notifyItemRemoval in class Extensionctx - the currency session contextitem - the item which is going to be removedpublic Zone getZone(java.lang.String code)
code - public java.util.Collection<Zone> getAllZones()
public Zone createZone(java.lang.String zoneCode) throws ConsistencyCheckException
zoneCode - the code of the new zone. must be uniqueConsistencyCheckException - if the specified code is already used@Deprecated public ZoneDeliveryModeValue setCost(ZoneDeliveryMode mode, Currency curr, double min, double value, Zone zone) throws JaloDeliveryModeException
ZoneDeliveryMode.setCost(Currency, double, double, Zone)JaloDeliveryModeException@Deprecated public boolean removeCost(ZoneDeliveryMode mode, Currency curr, double min, Zone zone) throws JaloDeliveryModeException
ZoneDeliveryMode.removeCost(Currency, double, Zone)JaloDeliveryModeException@Deprecated public java.util.Map getValues(ZoneDeliveryMode mode, Currency curr, Zone zone) throws JaloDeliveryModeException
ZoneDeliveryMode.getValues(Currency, Zone)JaloDeliveryModeException@Deprecated public java.util.Collection getCurrencies(ZoneDeliveryMode mode, Zone zone) throws JaloDeliveryModeException
ZoneDeliveryMode.getCurrencies(Zone)JaloDeliveryModeException@Deprecated public java.util.Collection getZones(ZoneDeliveryMode mode)
ZoneDeliveryMode.getZones()public boolean isCreatorDisabled()
DataCreator interface. Returns true.isCreatorDisabled in class ExtensiontrueCopyright © 2018 SAP SE. All Rights Reserved.