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

import gov.nih.nci.cabig.caaers.domain.ResearchStaff;
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="ResearchStaffMigratorServiceIntf",targetNamespace="http://researchstaff.schema.integration.caaers.cabig.nci.nih.gov")
public interface ResearchStaffMigratorService {
	//public void createStudy(@WebParam(name="Study") gov.nih.nci.cabig.caaers.webservice.Study xmlStudy);
	
	@WebMethod
	public void saveResearchStaff(@WebParam(name="Staff") gov.nih.nci.cabig.caaers.integration.schema.researchstaff.Staff staff) throws RemoteException;
	
	public List<DomainObjectImportOutcome<ResearchStaff>> getImportableResearchStaff();
	
	public List<DomainObjectImportOutcome<ResearchStaff>> getNonImportableResearchStaff();
	
	//public void deleteResearchStaff(Staff staff) throws RemoteException;
}

@@ -86,16 +86,91 @@
 hStaff;%0A
+import gov.nih.nci.cabig.caaers.integration.schema.common.ServiceResponse;%0A
 import g
@@ -681,20 +681,31 @@
 %09public 
-void
+ServiceResponse
  saveRes

return ServiceResponse