package org.onap.vid.mso.rest; import org.onap.vid.mso.RestObject; import javax.ws.rs.core.MultivaluedHashMap; /** * Created by pickjonathan on 26/06/2017. */ public interface RestInterface { /** * Inits the rest client. */ MultivaluedHashMap initMsoClient(); /** * Gets the. * * @param the generic type * @param t the t * @param sourceId the source id * @param path the path * @param restObject the rest object * @throws Exception the exception */ void Get (T t, String sourceId, String path, RestObject restObject ); /** * Delete. * * @param the generic type * @param t the t * @param r the r * @param sourceID the source ID * @param path the path * @param restObject the rest object * @throws Exception the exception */ void Delete(T t, Object r, String sourceID, String path, RestObject restObject); /** * Post. * * @param the generic type * @param t the t * @param r the r * @param sourceID the source ID * @param path the path * @param restObject the rest object * @throws Exception the exception */ void Post(T t, Object r, String sourceID, String path, RestObject restObject); /** * Put. * * @param the generic type * @param t the t * @param r the r * @param sourceID the source ID * @param path the path * @param restObject the rest object * @throws Exception the exception */ void Put(T t, org.onap.vid.changeManagement.RequestDetailsWrapper r, String sourceID, String path, RestObject restObject); }