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