List of usage examples for com.liferay.portal.kernel.model OrganizationSoap toSoapModels
public static OrganizationSoap[] toSoapModels(List<Organization> models)
From source file:eu.gerhards.liferay.services.angular.service.http.AngularUserServiceSoap.java
License:Open Source License
public static OrganizationSoap[] getUserOrganizations(long userId) throws RemoteException { try {//from w ww. j a v a 2s . c o m java.util.List<Organization> returnValue = AngularUserServiceUtil.getUserOrganizations(userId); return OrganizationSoap.toSoapModels(returnValue); } catch (Exception e) { _log.error(e, e); throw new RemoteException(e.getMessage()); } }