All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.imunity.vaadin.endpoint.common.api.RegistrationFormsService Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2021 Bixbit - Krzysztof Benedyczak. All rights reserved.
 * See LICENCE.txt file for licensing information.
 */

package io.imunity.vaadin.endpoint.common.api;

import com.vaadin.flow.component.Component;
import io.imunity.vaadin.endpoint.common.EndpointRegistrationConfiguration;
import pl.edu.icm.unity.base.exceptions.EngineException;
import pl.edu.icm.unity.base.registration.RegistrationContext;
import pl.edu.icm.unity.base.registration.RegistrationForm;

import java.util.List;

public interface RegistrationFormsService
{
	void configure(EndpointRegistrationConfiguration registrationConfiguration);
	boolean isRegistrationEnabled() throws EngineException;
	List getDisplayedForms() throws EngineException;
	Component createRegistrationView(RegistrationForm form, RegistrationContext.TriggeringMode mode, Runnable customCancelHandler, Runnable completedRegistrationHandler,
	                                 Runnable gotoSignInRedirector);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy