Class HomeTheaterMockImpl
java.lang.Object
de.hybris.platform.sap.productconfig.runtime.mock.impl.BaseRunTimeConfigMockImpl
de.hybris.platform.sap.productconfig.runtime.mock.impl.HomeTheaterMockImpl
- All Implemented Interfaces:
ConfigMock
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringstatic final Stringstatic final Stringprotected static final longprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringstatic final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final intprotected static final Stringprotected static final Stringprotected static final Stringstatic final Stringprotected static final Stringprotected static final Stringstatic final Stringprotected static final Stringprotected static final Stringstatic final Stringprotected static final Stringprotected static final Stringstatic final Stringstatic final Stringprotected static final Stringprotected static final Stringstatic final Stringstatic final Stringprotected static final Stringprotected static final Stringprotected static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected static final Stringstatic final Stringstatic final Stringstatic final Stringprotected static final Stringprotected static final Stringstatic final Stringstatic final Stringprotected static final Stringprotected static final longprotected static final longprotected static final longprotected static final longprotected static final longprotected static final longprotected static final longstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected static final Stringstatic final Stringstatic final StringFields inherited from class de.hybris.platform.sap.productconfig.runtime.mock.impl.BaseRunTimeConfigMockImpl
ROOT_INST_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckAudioSystem(ConfigModel model, InstanceModel instance, CsticModel cstic) protected voidcheckConflicts(ConfigModel model, InstanceModel instance, CsticModel cstic) voidcheckCstic(ConfigModel model, InstanceModel instance, CsticModel cstic) protected voidcheckGamingConflict(InstanceModel instance, CsticModel cstic, List<SolvableConflictModel> conflicts, ConfigModel model) voidcheckModel(ConfigModel model) simulates an update call for the given model, applying the mock dynamicsprotected voidcheckNoProjectorAndRoomSize(InstanceModel rootinstance, InstanceModel instance, CsticModel cstic) protected voidcheckProjectionScreen(InstanceModel instance, CsticModel cstic) protected voidcheckProjector(InstanceModel instance, CsticModel cstic) protected voidcheckRoomSize(InstanceModel instance, CsticModel cstic, String size) protected voidcheckRoomSizeAndFrontType(InstanceModel rootInstance, InstanceModel instance, CsticModel cstic, String size, String type) protected voidcheckRoomSizeAndType(InstanceModel rootInstance, InstanceModel instance, CsticModel cstic, String size, String type) protected voidcheckSpeakerType(InstanceModel rootInstance, InstanceModel instance, CsticModel cstic, String type) protected voidcheckValuePrices(ConfigModel model, CsticModel cstic) protected voidcheckVideoSystem(InstanceModel instance, CsticModel cstic, ConfigModel model) protected voidcheckVisibility(CsticModel cstic, String expectedType, String actualType) protected CsticModelcreateCsticBlurayCabinetWood(String instanceId) protected CsticModelcreateCsticBlurayPlayer(String instanceId) protected CsticModelprotected CsticModelcreateCsticColumnSpeaker(String instanceId) protected CsticModelcreateCsticCompactSpeakerFront(String instanceId) protected CsticModelcreateCsticExtraSpeakerWire(String instanceId) protected CsticModelcreateCsticGamingConsole(String instanceId) protected CsticModelcreateCsticLightSource(String instanceId) protected CsticModelcreateCsticMotorizedFlag(String instanceId) protected CsticModelcreateCsticPanelTV(String instanceId) protected CsticModelcreateCsticProjectionScreen(String instanceId) protected CsticModelcreateCsticProjectorType(String instanceId) protected CsticModelcreateCsticRearSpeaker(String instanceId) protected CsticModelprotected CsticModelcreateCsticSoundbar(String instanceId) protected CsticModelcreateCsticSpeakerCompact(String instanceId) protected CsticModelcreateCsticSpeakerType(String instanceId) protected CsticModelcreateCsticSpeakerTypeFront(String instanceId) protected CsticModelcreateCsticSubwoofer(String instanceId) protected CsticModelcreateCsticTowerSpeaker(String instanceId) protected CsticModelcreateCsticVideoServer(String instanceId) protected InstanceModelprotected InstanceModelprotected InstanceModelprotected InstanceModelprotected voidretrieveVisibleValue(InstanceModel instance, String csticName) protected voidsetBasePrices(ConfigModel model) Methods inherited from class de.hybris.platform.sap.productconfig.runtime.mock.impl.BaseRunTimeConfigMockImpl
addAssignableValue, addCsticGroup, addProductAttributes, applyConflicts, calculateTotalSavings, checkInstance, checkPreconditionViolated, checkPreconditionViolated, createConflictAssumption, createDefaultConfigModel, createDefaultConfigModel, createDefaultRootInstance, createInstance, createPrice, createPrice, createPrice, createPrice, createPrice, createSolvableConflict, createSolvableConflict, createSolvableConflict, createSolvableConflict, createSubInstance, formatValueNumeric, getCurrencyIso, getI18NService, getProviderFactory, handlePriceInCaseValueIsNotSelected, handlePriceInCaseValueIsSelected, handleValuePrice, handleValuePrice, removeAssignableValue, resetValuePrices, retrieveAssignableValue, retrieveCstic, retrieveValue, setDeltaPrice, setDeltaPriceBasedOnSelectedSurcharge, setI18NService, setProviderFactory, setValuePrice, setZeroDeltaPrice, showDeltaPricesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.sap.productconfig.runtime.mock.ConfigMock
enrichConfigurationModel, isChangeabeleVariant, isChangeableVariant, setConfigId, showDeltaPrices
-
Field Details
-
CONFLICT_TEXT_PROJECTOR
- See Also:
-
CONFLICT_TEXT_PROJECTION_SCREEN
- See Also:
-
CONFLICT_TEXT_PANEL_TV
- See Also:
-
CONFLICT_TEXT_GAMING
- See Also:
-
BASE_PRICE
protected static final long BASE_PRICE- See Also:
-
CONFIG_NAME
- See Also:
-
ROOT_INSTANCE_ID
- See Also:
-
ROOT_INSTANCE_NAME
- See Also:
-
ROOT_INSTANCE_LANG_DEP_NAME
- See Also:
-
KB_ID
- See Also:
-
VIDEO_SYSTEM_SUBINSTANCE_ID
- See Also:
-
VIDEO_SYSTEM_SUBINSTANCE_NAME
- See Also:
-
VIDEO_SYSTEM_SUBINSTANCE_LANG_DEP_NAME
- See Also:
-
AUDIO_SYSTEM_SUBINSTANCE_ID
- See Also:
-
AUDIO_SYSTEM_SUBINSTANCE_NAME
- See Also:
-
AUDIO_SYSTEM_SUBINSTANCE_LANG_DEP_NAME
- See Also:
-
SOURCE_COMPONENTS_SUBINSTANCE_ID
- See Also:
-
SOURCE_COMPONENTS_SUBINSTANCE_NAME
- See Also:
-
SOURCE_COMPONENTS_SUBINSTANCE_LANG_DEP_NAME
- See Also:
-
EXTRAS_SUBINSTANCE_ID
- See Also:
-
EXTRAS_SUBINSTANCE_NAME
- See Also:
-
EXTRAS_SUBINSTANCE_LANG_DEP_NAME
- See Also:
-
PROJECTION_SCREEN
- See Also:
-
PROJSCREEN_FIXED
- See Also:
-
PROJSCREEN_PULLDOWN
- See Also:
-
MOTORIZED_PULLDOWN
- See Also:
-
FLAT_PANEL_TV
- See Also:
-
PROJECTOR_TYPE
- See Also:
-
PROJECTOR_NONE
- See Also:
-
PROJECTOR_DLP
- See Also:
-
PROJECTOR_LCD
- See Also:
-
PROJECTOR_LCD_DESCRIPTION
- See Also:
-
LIGHT_SOURCE
- See Also:
-
LIGHT_SOURCE_LAMP
- See Also:
-
ROOM_SIZE
- See Also:
-
ROOM_SIZE_SMALL
- See Also:
-
ROOM_SIZE_MEDIUM
- See Also:
-
ROOM_SIZE_LARGE
- See Also:
-
REAR_SPEAKER
- See Also:
-
SUBWOOFER
- See Also:
-
SPEAKERTYPE
- See Also:
-
TYPE_SOUNDBAR
- See Also:
-
TYPE_COMPACT
- See Also:
-
SPEAKERTYPEFRONT
- See Also:
-
TYPE_COLUMN_FRONT
- See Also:
-
TYPE_TOWER_FRONT
- See Also:
-
TYPE_COMPACT_FRONT
- See Also:
-
SOUNDBAR
- See Also:
-
SPEAKER_COMPACT
- See Also:
-
SPEAKER_COMPACT_MAGNAT
- See Also:
-
COLUMN_SPEAKER
- See Also:
-
TOWER_SPEAKER
- See Also:
-
SPEAKER_COMPACT_FRONT
- See Also:
-
GAMING_CONSOLE
- See Also:
-
GAMING_CONSOLE_YES
- See Also:
-
SURCHARGE_COLUMN_SPEAKER_1250
protected static final long SURCHARGE_COLUMN_SPEAKER_1250- See Also:
-
SURCHARGE_COLUMN_SPEAKER_2050
protected static final long SURCHARGE_COLUMN_SPEAKER_2050- See Also:
-
SURCHARGE_SPEAKER_COMPACT_FRONT_Q
protected static final long SURCHARGE_SPEAKER_COMPACT_FRONT_Q- See Also:
-
SURCHARGE_TOWER_SPEAKER_VENTO
protected static final long SURCHARGE_TOWER_SPEAKER_VENTO- See Also:
-
SURCHARGE_REAR_SPEAKER_CANTON
protected static final long SURCHARGE_REAR_SPEAKER_CANTON- See Also:
-
SURCHARGE_REAR_SPEAKER_SONOS
protected static final long SURCHARGE_REAR_SPEAKER_SONOS- See Also:
-
SURCHARGE_SUBWOOFER_SONOS
protected static final long SURCHARGE_SUBWOOFER_SONOS- See Also:
-
EXTRA_SPEAKER_WIRE
- See Also:
-
LANG_DEPENDENT_EXTRA_SPEAKER_WIRE
- See Also:
-
EXTRA_SPEAKER_WIRE_TYPE_LENGTH
protected static final int EXTRA_SPEAKER_WIRE_TYPE_LENGTH- See Also:
-
EXTRA_SPEAKER_WIRE_5
- See Also:
-
EXTRA_SPEAKER_WIRE_10
- See Also:
-
BLURAY_CABINET_WOOD
- See Also:
-
LANG_DEPENDENT_BLURAY_CABINET_WOOD
- See Also:
-
BLURAY_CABINET_WOOD_OAK
- See Also:
-
BLURAY_CABINET_WOOD_OAK_DESCRIPTION
- See Also:
-
BLURAY_CABINET_WOOD_BIRCH
- See Also:
-
BLURAY_CABINET_WOOD_BIRCH_DESCRIPTION
- See Also:
-
-
Constructor Details
-
HomeTheaterMockImpl
public HomeTheaterMockImpl()
-
-
Method Details
-
createDefaultConfiguration
- Returns:
- the default configuration
-
createDefaultInstanceExtras
-
createDefaultInstanceSourceComponents
-
createDefaultInstanceAudioSystem
-
createDefaultInstanceVideoSystem
-
setBasePrices
-
checkModel
Description copied from interface:ConfigMocksimulates an update call for the given model, applying the mock dynamics- Specified by:
checkModelin interfaceConfigMock- Overrides:
checkModelin classBaseRunTimeConfigMockImpl- Parameters:
model- ConfigModel
-
checkCstic
- Specified by:
checkCsticin interfaceConfigMock- Overrides:
checkCsticin classBaseRunTimeConfigMockImpl
-
checkValuePrices
-
checkConflicts
-
checkGamingConflict
protected void checkGamingConflict(InstanceModel instance, CsticModel cstic, List<SolvableConflictModel> conflicts, ConfigModel model) -
checkAudioSystem
-
checkVideoSystem
-
checkVisibility
-
checkSpeakerType
protected void checkSpeakerType(InstanceModel rootInstance, InstanceModel instance, CsticModel cstic, String type) -
checkRoomSizeAndType
protected void checkRoomSizeAndType(InstanceModel rootInstance, InstanceModel instance, CsticModel cstic, String size, String type) -
checkRoomSizeAndFrontType
protected void checkRoomSizeAndFrontType(InstanceModel rootInstance, InstanceModel instance, CsticModel cstic, String size, String type) -
hideAndClearSelectedValues
-
checkRoomSize
-
checkProjector
-
checkNoProjectorAndRoomSize
protected void checkNoProjectorAndRoomSize(InstanceModel rootinstance, InstanceModel instance, CsticModel cstic) -
checkProjectionScreen
-
retrieveVisibleValue
-
createCsticMotorizedFlag
-
createCsticGamingConsole
-
createCsticVideoServer
-
createCsticBlurayPlayer
-
createCsticCompactSpeakerFront
-
createCsticTowerSpeaker
-
createCsticColumnSpeaker
-
createCsticSpeakerCompact
-
createCsticSpeakerType
-
createCsticSpeakerTypeFront
-
createCsticSoundbar
-
createCsticSubwoofer
-
createCsticRearSpeaker
-
createCsticColourHT
-
createCsticRoomSize
-
createCsticLightSource
-
createCsticProjectionScreen
-
createCsticPanelTV
-
createCsticProjectorType
-
createCsticBlurayCabinetWood
-
createCsticExtraSpeakerWire
-