Class PresetAttributeEditor
- java.lang.Object
-
- io.imunity.webconsole.signupAndEnquiry.invitations.PresetEditorBase<pl.edu.icm.unity.types.basic.Attribute>
-
- io.imunity.webconsole.signupAndEnquiry.invitations.PresetAttributeEditor
-
- 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.Attribute>>
public class PresetAttributeEditor extends PresetEditorBase<pl.edu.icm.unity.types.basic.Attribute>
Editor of a prefilled invitationAttribute.- Author:
- Krzysztof Benedyczak
-
-
Field Summary
-
Fields inherited from class io.imunity.webconsole.signupAndEnquiry.invitations.PresetEditorBase
msg
-
-
Constructor Summary
Constructors Constructor Description PresetAttributeEditor(pl.edu.icm.unity.MessageSource msg, java.util.List<pl.edu.icm.unity.types.registration.AttributeRegistrationParam> formParams, pl.edu.icm.unity.webui.common.attributes.AttributeHandlerRegistry attrHandlersRegistry, java.util.Map<java.lang.String,pl.edu.icm.unity.types.basic.AttributeType> attrTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.vaadin.ui.ComponentgetEditorComponentsInternal(pl.edu.icm.unity.types.registration.invite.PrefilledEntry<pl.edu.icm.unity.types.basic.Attribute> value, int position)protected java.util.Optional<pl.edu.icm.unity.types.basic.Attribute>getValueInternal()voidsetEditedComponentPosition(int position)-
Methods inherited from class io.imunity.webconsole.signupAndEnquiry.invitations.PresetEditorBase
getEditorComponent, getValue
-
-
-
-
Constructor Detail
-
PresetAttributeEditor
public PresetAttributeEditor(pl.edu.icm.unity.MessageSource msg, java.util.List<pl.edu.icm.unity.types.registration.AttributeRegistrationParam> formParams, pl.edu.icm.unity.webui.common.attributes.AttributeHandlerRegistry attrHandlersRegistry, java.util.Map<java.lang.String,pl.edu.icm.unity.types.basic.AttributeType> attrTypes)
-
-
Method Detail
-
getValueInternal
protected java.util.Optional<pl.edu.icm.unity.types.basic.Attribute> getValueInternal() throws pl.edu.icm.unity.webui.common.FormValidationException- Specified by:
getValueInternalin classPresetEditorBase<pl.edu.icm.unity.types.basic.Attribute>- 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.Attribute> value, int position)- Specified by:
getEditorComponentsInternalin classPresetEditorBase<pl.edu.icm.unity.types.basic.Attribute>- Returns:
- the components of the editor
-
-