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(String zoneCode)
Creates a new zone.
|
Collection<Zone> |
getAllZones()
Returns all zones within the system.
|
Collection |
getCurrencies(ZoneDeliveryMode mode,
Zone zone)
Deprecated.
|
static ZoneDeliveryModeManager |
getInstance() |
Map |
getValues(ZoneDeliveryMode mode,
Currency curr,
Zone zone)
Deprecated.
|
Zone |
getZone(String code)
Locates a zone by its code.
|
Collection |
getZones(ZoneDeliveryMode mode)
Deprecated.
|
boolean |
isCreatorDisabled()
Part of
DataCreator interface. |
protected void |
notifyItemRemoval(SessionContext ctx,
Item item)
Deprecated.
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.
|
ZoneDeliveryModeValue |
setCost(ZoneDeliveryMode mode,
Currency curr,
double min,
double value,
Zone zone)
Deprecated.
|
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, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, init, setAttribute, setTenant, setTransientObject, unwrap, unwrap, 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(String code)
code - public Collection<Zone> getAllZones()
public Zone createZone(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 Map getValues(ZoneDeliveryMode mode, Currency curr, Zone zone) throws JaloDeliveryModeException
ZoneDeliveryMode.getValues(Currency, Zone)JaloDeliveryModeException@Deprecated public Collection getCurrencies(ZoneDeliveryMode mode, Zone zone) throws JaloDeliveryModeException
ZoneDeliveryMode.getCurrencies(Zone)JaloDeliveryModeException@Deprecated public Collection getZones(ZoneDeliveryMode mode)
ZoneDeliveryMode.getZones()public boolean isCreatorDisabled()
DataCreator interface. Returns true.isCreatorDisabled in class ExtensiontrueCopyright © 2017 SAP SE. All Rights Reserved.