Class PresetMembershipEditor

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

    public class PresetMembershipEditor
    extends PresetEditorBase<pl.edu.icm.unity.types.registration.GroupSelection>
    Editor of a preset GroupSelection.
    Author:
    Krzysztof Benedyczak
    • Field Summary

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

        msg
    • Constructor Summary

      Constructors 
      Constructor Description
      PresetMembershipEditor​(pl.edu.icm.unity.MessageSource msg, java.util.List<pl.edu.icm.unity.types.basic.Group> allGroups, java.util.List<pl.edu.icm.unity.types.registration.GroupRegistrationParam> formParams)  
    • Constructor Detail

      • PresetMembershipEditor

        public PresetMembershipEditor​(pl.edu.icm.unity.MessageSource msg,
                                      java.util.List<pl.edu.icm.unity.types.basic.Group> allGroups,
                                      java.util.List<pl.edu.icm.unity.types.registration.GroupRegistrationParam> formParams)
    • Method Detail

      • getValueInternal

        protected java.util.Optional<pl.edu.icm.unity.types.registration.GroupSelection> getValueInternal()
                                                                                                   throws pl.edu.icm.unity.webui.common.FormValidationException
        Specified by:
        getValueInternal in class PresetEditorBase<pl.edu.icm.unity.types.registration.GroupSelection>
        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.registration.GroupSelection> value,
                                                                      int position)
        Specified by:
        getEditorComponentsInternal in class PresetEditorBase<pl.edu.icm.unity.types.registration.GroupSelection>
        Returns:
        the components of the editor