package gov.nih.nci.cabig.caaers.api;

import gov.nih.nci.cabig.caaers.domain.Investigator;
import gov.nih.nci.cabig.caaers.service.DomainObjectImportOutcome;

import java.rmi.RemoteException;
import java.util.List;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

@WebService(name="InvestigatorMigratorServiceIntf",targetNamespace="http://investigator.schema.integration.caaers.cabig.nci.nih.gov")

public interface InvestigatorMigratorService {
	
	@WebMethod
	public void saveInvestigator(@WebParam(name="Staff") gov.nih.nci.cabig.caaers.integration.schema.investigator.Staff staff) throws RemoteException;
	
	public List<DomainObjectImportOutcome<Investigator>> getImportableInvestigators();
	
	public List<DomainObjectImportOutcome<Investigator>> getNonImportableInvestigators();

	//public List<InvestigatorType> getNonImportableInvestigators();
	
	//public void deleteInvestigator(Staff staff) throws RemoteException;
}

@@ -85,16 +85,91 @@
 igator;%0A
+import gov.nih.nci.cabig.caaers.integration.schema.common.ServiceResponse;%0A
 import g
@@ -574,20 +574,31 @@
 %09public 
-void
+ServiceResponse
  saveInv

return ServiceResponse