public GetCommunicationResponse getCommunication(GetCommunication request, BpelDAOConnection conn) throws Exception { GetCommunicationResponse response = GetCommunicationResponse.Factory.newInstance(); for (Long iid : request.getIidList()) { response.addNewRestoreInstance().set(getCommunication(iid, conn)); } return response; }
/** * Sets the "getCommunicationResponse" element */ public void setGetCommunicationResponse(org.apache.ode.bpel.pmapi.GetCommunicationResponse getCommunicationResponse) { synchronized (monitor()) { check_orphaned(); org.apache.ode.bpel.pmapi.GetCommunicationResponse target = null; target = (org.apache.ode.bpel.pmapi.GetCommunicationResponse)get_store().find_element_user(GETCOMMUNICATIONRESPONSE$0, 0); if (target == null) { target = (org.apache.ode.bpel.pmapi.GetCommunicationResponse)get_store().add_element_user(GETCOMMUNICATIONRESPONSE$0); } target.set(getCommunicationResponse); } }