use of com.netsuite.webservices.v2016_2.platform.messages.GetListResponse in project components by Talend.
the class NetSuitePortTypeMockAdapterImpl method getList.
public GetListResponse getList(GetListRequest parameters) throws InvalidSessionFault, ExceededUsageLimitFault, UnexpectedErrorFault, ExceededRequestLimitFault, ExceededRequestSizeFault, InvalidCredentialsFault, InsufficientPermissionFault, ExceededRecordCountFault {
GetListResponse response = null;
if (port != null) {
response = port.getList(parameters);
}
if (response == null) {
response = new GetListResponse();
ReadResponseList readResponseList = new ReadResponseList();
readResponseList.setStatus(createSuccessStatus());
response.setReadResponseList(readResponseList);
}
return response;
}
Aggregations