Class WidgetParamObjectValueHandler

    • Constructor Detail

      • WidgetParamObjectValueHandler

        public WidgetParamObjectValueHandler()
    • Method Detail

      • loadValues

        public void loadValues​(ObjectValueContainer valueContainer,
                               ObjectType type,
                               java.lang.Object source,
                               java.util.Set<PropertyDescriptor> descriptors,
                               java.util.Set<java.lang.String> languageIsoCodes)
                        throws ValueHandlerException
        Description copied from interface: ObjectValueHandler
        Loads values of given descriptors and in given languages. Only object values this value handler is responsible for are loaded!
        Specified by:
        loadValues in interface ObjectValueHandler
        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

        public void updateValues​(ObjectValueContainer container,
                                 java.util.Set<java.lang.String> languageIsoCodes)
                          throws ValueHandlerException
        Description copied from interface: ObjectValueHandler
        Updates values of the given value container in given languages. Only object values this value handler is responsible for are updated!
        Specified by:
        updateValues in interface ObjectValueHandler
        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

        public void updateValues​(ObjectValueContainer container,
                                 java.util.Set<java.lang.String> languageIsoCodes,
                                 java.util.Set<PropertyDescriptor> descriptors)
                          throws ValueHandlerException
        Description copied from interface: ObjectValueHandler
        Updates values of given descriptors and in given languages. Only object values this value handler is responsible for are updated!
        Specified by:
        updateValues in interface ObjectValueHandler
        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
      • setModelService

        public void setModelService​(ModelService modelService)
        Parameters:
        modelService - the modelService to set
      • setCockpitTypeService

        public void setCockpitTypeService​(TypeService cockpitTypeService)
        Parameters:
        cockpitTypeService - the cockpitTypeService to set