Class PresetIdentityEditor

  • All Implemented Interfaces:
    pl.edu.icm.unity.webui.common.ListOfEmbeddedElementsStub.Editor<pl.edu.icm.unity.types.registration.invite.PrefilledEntry<pl.edu.icm.unity.types.basic.IdentityParam>>

    public class PresetIdentityEditor
    extends PresetEditorBase<pl.edu.icm.unity.types.basic.IdentityParam>
    Editor of a prefilled invitation IdentityParam.
    Author:
    Krzysztof Benedyczak
    • Field Summary

      • Fields inherited from class io.imunity.webconsole.signupAndEnquiry.invitations.PresetEditorBase

        msg
    • Constructor Summary

      Constructors 
      Constructor Description
      PresetIdentityEditor​(pl.edu.icm.unity.webui.common.identities.IdentityEditorRegistry identityEditorRegistry, java.util.List<pl.edu.icm.unity.types.registration.IdentityRegistrationParam> formParameters, pl.edu.icm.unity.MessageSource msg)  
    • Constructor Detail

      • PresetIdentityEditor

        public PresetIdentityEditor​(pl.edu.icm.unity.webui.common.identities.IdentityEditorRegistry identityEditorRegistry,
                                    java.util.List<pl.edu.icm.unity.types.registration.IdentityRegistrationParam> formParameters,
                                    pl.edu.icm.unity.MessageSource msg)
    • Method Detail

      • getValueInternal

        protected java.util.Optional<pl.edu.icm.unity.types.basic.IdentityParam> getValueInternal()
                                                                                           throws pl.edu.icm.unity.webui.common.FormValidationException
        Specified by:
        getValueInternal in class PresetEditorBase<pl.edu.icm.unity.types.basic.IdentityParam>
        Returns:
        the edited value
        Throws:
        pl.edu.icm.unity.webui.common.FormValidationException
      • setEditedComponentPosition

        public void setEditedComponentPosition​(int position)
      • getEditorComponentsInternal

        protected com.vaadin.ui.Component getEditorComponentsInternal​(pl.edu.icm.unity.types.registration.invite.PrefilledEntry<pl.edu.icm.unity.types.basic.IdentityParam> value,
                                                                      int position)
        Specified by:
        getEditorComponentsInternal in class PresetEditorBase<pl.edu.icm.unity.types.basic.IdentityParam>
        Returns:
        the components of the editor