2022-02-15 21:19:29 +01:00
|
|
|
package org.gcube.gcat.api.interfaces;
|
|
|
|
|
|
|
|
import javax.xml.ws.WebServiceException;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
|
|
*/
|
|
|
|
public interface Configuration<C,D> {
|
|
|
|
|
|
|
|
public static final String CONFIGURATION = "configuration";
|
|
|
|
|
|
|
|
public static final String CURRENT_CONTEXT_PATH_PARAMETER = "CURRENT_CONTEXT";
|
|
|
|
|
|
|
|
public C create(String json) throws WebServiceException;
|
|
|
|
|
2022-02-21 13:17:02 +01:00
|
|
|
public C read() throws WebServiceException ;
|
|
|
|
|
|
|
|
public C update(String json) throws WebServiceException;
|
2022-02-15 21:19:29 +01:00
|
|
|
|
2022-02-21 13:17:02 +01:00
|
|
|
public C patch(String json) throws WebServiceException;
|
2022-02-15 21:19:29 +01:00
|
|
|
|
|
|
|
public D delete() throws WebServiceException;
|
|
|
|
|
|
|
|
public D purge() throws WebServiceException;
|
|
|
|
|
|
|
|
}
|