Interface ObjectValueHandler

    • Method Detail

      • loadValues

        void loadValues​(ObjectValueContainer valueContainer,
                        ObjectType type,
                        java.lang.Object source,
                        java.util.Set<PropertyDescriptor> descriptors,
                        java.util.Set<java.lang.String> languageIsoCodes)
                 throws ValueHandlerException
        Loads values of given descriptors and in given languages. Only object values this value handler is responsible for are loaded!
        Parameters:
        valueContainer - container of all values
        type - type of the object
        source - the object itself
        descriptors - descriptors which should be loaded
        languageIsoCodes - languages in which the localized values should be loaded
        Throws:
        ValueHandlerException - if something goes wrong during value loading
      • updateValues

        void updateValues​(ObjectValueContainer container,
                          java.util.Set<java.lang.String> languageIsoCodes)
                   throws ValueHandlerException
        Updates values of the given value container in given languages. Only object values this value handler is responsible for are updated!
        Parameters:
        container - container of all values
        languageIsoCodes - languages in which the localized values should be loaded
        Throws:
        ValueHandlerException - if something goes wrong during value loading
      • updateValues

        void updateValues​(ObjectValueContainer container,
                          java.util.Set<java.lang.String> languageIsoCodes,
                          java.util.Set<PropertyDescriptor> descriptors)
                   throws ValueHandlerException
        Updates values of given descriptors and in given languages. Only object values this value handler is responsible for are updated!
        Parameters:
        container - container of all values
        languageIsoCodes - languages in which the localized values should be loaded
        descriptors - descriptors which should be updated
        Throws:
        ValueHandlerException - if something goes wrong during value loading
      • storeValues

        void storeValues​(ObjectValueContainer container)
                  throws ValueHandlerException
        Stores values of the given value container. Only object values this value handler is responsible for are stored!
        Parameters:
        container - container of all values
        Throws:
        ValueHandlerException - something goes wrong during value storing
      • storeValues

        void storeValues​(ObjectValueContainer container,
                         boolean forceWrite)
                  throws ValueHandlerException
        Stores values of the given value container. Only object values this value handler is responsible for are stored!
        Parameters:
        container - container of all values
        forceWrite - store values even if they are not marked as modified
        Throws:
        ValueHandlerException - something goes wrong during value storing