Class PresetEditorBase<T>
- java.lang.Object
-
- io.imunity.webconsole.signupAndEnquiry.invitations.PresetEditorBase<T>
-
- All Implemented Interfaces:
pl.edu.icm.unity.webui.common.ListOfEmbeddedElementsStub.Editor<pl.edu.icm.unity.types.registration.invite.PrefilledEntry<T>>
- Direct Known Subclasses:
PresetAttributeEditor,PresetIdentityEditor,PresetMembershipEditor
public abstract class PresetEditorBase<T> extends java.lang.Object implements pl.edu.icm.unity.webui.common.ListOfEmbeddedElementsStub.Editor<pl.edu.icm.unity.types.registration.invite.PrefilledEntry<T>>Base class for editors of prefilled entries- Author:
- Krzysztof Benedyczak
-
-
Field Summary
Fields Modifier and Type Field Description protected pl.edu.icm.unity.MessageSourcemsg
-
Constructor Summary
Constructors Constructor Description PresetEditorBase(pl.edu.icm.unity.MessageSource msg)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description pl.edu.icm.unity.webui.common.ComponentsContainergetEditorComponent(pl.edu.icm.unity.types.registration.invite.PrefilledEntry<T> value, int position)protected abstract com.vaadin.ui.ComponentgetEditorComponentsInternal(pl.edu.icm.unity.types.registration.invite.PrefilledEntry<T> value, int position)pl.edu.icm.unity.types.registration.invite.PrefilledEntry<T>getValue()protected abstract java.util.Optional<T>getValueInternal()
-
-
-
Method Detail
-
getEditorComponent
public pl.edu.icm.unity.webui.common.ComponentsContainer getEditorComponent(pl.edu.icm.unity.types.registration.invite.PrefilledEntry<T> value, int position)
- Specified by:
getEditorComponentin interfacepl.edu.icm.unity.webui.common.ListOfEmbeddedElementsStub.Editor<T>
-
getValueInternal
protected abstract java.util.Optional<T> getValueInternal() throws pl.edu.icm.unity.webui.common.FormValidationException
- Returns:
- the edited value
- Throws:
pl.edu.icm.unity.webui.common.FormValidationException
-
getEditorComponentsInternal
protected abstract com.vaadin.ui.Component getEditorComponentsInternal(pl.edu.icm.unity.types.registration.invite.PrefilledEntry<T> value, int position)
- Returns:
- the components of the editor
-
getValue
public pl.edu.icm.unity.types.registration.invite.PrefilledEntry<T> getValue() throws pl.edu.icm.unity.webui.common.FormValidationException
- Specified by:
getValuein interfacepl.edu.icm.unity.webui.common.ListOfEmbeddedElementsStub.Editor<T>- Throws:
pl.edu.icm.unity.webui.common.FormValidationException
-
-