package org.openecomp.vid.mso.rest; import org.openecomp.vid.mso.RestObject; /** * Created by pickjonathan on 26/06/2017. */ public interface RestInterface { /** * Inits the rest client. */ public void 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 */ public void Get (T t, String sourceId, String path, RestObject restObject ) throws Exception; /** * 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 */ public void Delete(T t, RequestDetails r, String sourceID, String path, RestObject restObject) throws Exception; /** * 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 */ public void Post(T t, RequestDetails r, String sourceID, String path, RestObject restObject) throws Exception; /** * 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 */ public void Put(T t, org.openecomp.vid.changeManagement.RequestDetailsWrapper r, String sourceID, String path, RestObject restObject) throws Exception; /*** * Log request. * * @param r the r */ public void logRequest ( RequestDetails r ); /*** * Log request. * * @param r the r */ public void logRequest(org.openecomp.vid.changeManagement.RequestDetails r); }