Class AspectAttribute.DVAssetHandler
- All Implemented Interfaces:
AspectAttribute.DataValueHandler<Asset>
- Enclosing class:
- AspectAttribute<C extends ComplexEntity>
-
Constructor Summary
ConstructorsConstructorDescriptionDVAssetHandler(AspectAttribute<C>.mc.core.domain.base.aspect.AspectAttribute.DVStrategyBase strategy) -
Method Summary
Modifier and TypeMethodDescriptionremoveDataValueSet(DataValueSet dataValueSet) SZENARIOS:removeValue(DVAsset dvAsset) SZENARIOS:set list of values (terminal operation).Methods inherited from class mc.core.domain.base.aspect.AspectAttribute.DVBaseHandler
removeEnumValue, removeValue, setCreateStdValues, setDataValueSet, setEntityToAttribute, setEnumValue, setFromString, setFromString, setLocale, setMultiValueAppend, setMultiValues, setMultiValueSplitChars, setPrio, setPrioValue, setRemoveEmptyValues, setTerritory, setTrimValues, setValue, setValue, setValueTOs, toValueDisplayMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mc.core.domain.base.aspect.AspectAttribute.DataValueHandler
instance
-
Constructor Details
-
DVAssetHandler
public DVAssetHandler(AspectAttribute<C>.mc.core.domain.base.aspect.AspectAttribute.DVStrategyBase strategy)
-
-
Method Details
-
setValue
public AspectAttribute<C>.DVAssetHandler setValue(Asset value, Locale locale) throws mc.core.system.validation.ValidationException - Throws:
mc.core.system.validation.ValidationException
-
setValues
public AspectAttribute<C>.DVAssetHandler setValues(List<Asset> values, Locale locale) throws mc.core.system.validation.ValidationException - Throws:
mc.core.system.validation.ValidationException
-
setValues
public AspectAttribute<C>.DVAssetHandler setValues(List<Asset> values) throws mc.core.system.validation.ValidationException Description copied from class:AspectAttribute.DVBaseHandlerset list of values (terminal operation). respect flags and state data set prior to this call- Specified by:
setValuesin interfaceAspectAttribute.DataValueHandler<Asset>- Overrides:
setValuesin classAspectAttribute<C extends ComplexEntity>.DVBaseHandler<DVAsset,Asset, AspectAttribute<C extends ComplexEntity>.DVAssetHandler> - Throws:
mc.core.system.validation.ValidationException
-
removeDataValueSet
Description copied from class:AspectAttribute.DVBaseHandlerSZENARIOS:AV value: remove dvSet and delete with all dataValues (optionally delete e2a). assertions: dvSet is EXCLUSIVE and set of current object and attribute
AV enum: remove SHARED dvSet from e2a (optionally delete e2a). assertions: dvSet is SHARED and set of current object and attribute
PV: delete dvSet and all values. assertions: dvSet is preset type and set of current attribute
- Overrides:
removeDataValueSetin classAspectAttribute<C extends ComplexEntity>.DVBaseHandler<DVAsset,Asset, AspectAttribute<C extends ComplexEntity>.DVAssetHandler> - Parameters:
dataValueSet- mandatory
-
removeValue
Description copied from class:AspectAttribute.DVBaseHandlerSZENARIOS:AV value: delete value, remove and delete dvSet if last value (optionally delete e2a). assertions: value is value of EXCLUSIVE set, and value of current object and attribute
AV enum: remove SHARED dvSet containing value from e2a (optionally delete e2a). assertions: dvSet is SHARED and set of current object and attribute
PV: delete value, but not the dvSet. assertions: dvSet is preset type and set of current attribute
- Overrides:
removeValuein classAspectAttribute<C extends ComplexEntity>.DVBaseHandler<DVAsset,Asset, AspectAttribute<C extends ComplexEntity>.DVAssetHandler> - Parameters:
dvAsset- mandatory
-