public interface ObjectValueHandler
object types.| Modifier and Type | Method and Description |
|---|---|
void |
loadValues(ObjectValueContainer valueContainer,
ObjectType type,
Object source,
Set<PropertyDescriptor> descriptors,
Set<String> languageIsoCodes)
Loads values of given descriptors and in given languages.
|
void |
storeValues(ObjectValueContainer container)
Stores values of the given value container.
|
void |
storeValues(ObjectValueContainer container,
boolean forceWrite)
Stores values of the given value container.
|
void |
updateValues(ObjectValueContainer container,
Set<String> languageIsoCodes)
Updates values of the given value container in given languages.
|
void |
updateValues(ObjectValueContainer container,
Set<String> languageIsoCodes,
Set<PropertyDescriptor> descriptors)
Updates values of given descriptors and in given languages.
|
void loadValues(ObjectValueContainer valueContainer, ObjectType type, Object source, Set<PropertyDescriptor> descriptors, Set<String> languageIsoCodes) throws ValueHandlerException
valueContainer - container of all valuestype - type of the objectsource - the object itselfdescriptors - descriptors which should be loadedlanguageIsoCodes - languages in which the localized values should be loadedValueHandlerException - if something goes wrong during value loadingvoid updateValues(ObjectValueContainer container, Set<String> languageIsoCodes) throws ValueHandlerException
container - container of all valueslanguageIsoCodes - languages in which the localized values should be loadedValueHandlerException - if something goes wrong during value loadingvoid updateValues(ObjectValueContainer container, Set<String> languageIsoCodes, Set<PropertyDescriptor> descriptors) throws ValueHandlerException
container - container of all valueslanguageIsoCodes - languages in which the localized values should be loadeddescriptors - descriptors which should be updatedValueHandlerException - if something goes wrong during value loadingvoid storeValues(ObjectValueContainer container) throws ValueHandlerException
container - container of all valuesValueHandlerException - something goes wrong during value storingvoid storeValues(ObjectValueContainer container, boolean forceWrite) throws ValueHandlerException
container - container of all valuesforceWrite - store values even if they are not marked as modifiedValueHandlerException - something goes wrong during value storingCopyright © 2017 SAP SE. All Rights Reserved.