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

org.jresearch.gavka.rest.api.GavkaConnectionService Maven / Gradle / Ivy

There is a newer version: 1.0.65
Show newest version
package org.jresearch.gavka.rest.api;

import java.util.List;

import javax.annotation.Nonnull;

import org.jresearch.gavka.domain.Connection;
import org.jresearch.gavka.domain.ConnectionCheck;
import org.jresearch.gavka.domain.ConnectionParameters;

public interface GavkaConnectionService extends GavkaBaseService {

	/** Service id */
	String SRV_PATH = "/connection"; //$NON-NLS-1$
	/** {@link #get()} method id */
	String M_R_GET = "/get"; //$NON-NLS-1$
	/** {@link #save(Connection)} method id */
	String M_P_SAVE = "/save"; //$NON-NLS-1$
	/** {@link #remove(String)} method id */
	String M_P_REMOVE = "/remove"; //$NON-NLS-1$
	/** {@link #check(ConnectionParameters)} method id */
	String M_P_CHECK = "/check"; //$NON-NLS-1$

	@Nonnull
	List get();

	@Nonnull
	Connection save(@Nonnull Connection connection);

	boolean remove(@Nonnull String connectionId);

	@Nonnull
	ConnectionCheck check(@Nonnull ConnectionParameters connectionParameters);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy