Example usage for com.liferay.portal.kernel.model UserGroupRoleSoap toSoapModels

List of usage examples for com.liferay.portal.kernel.model UserGroupRoleSoap toSoapModels

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.model UserGroupRoleSoap toSoapModels.

Prototype

public static UserGroupRoleSoap[] toSoapModels(List<UserGroupRole> models) 

Source Link

Usage

From source file:eu.gerhards.liferay.services.angular.service.http.AngularRoleServiceSoap.java

License:Open Source License

public static UserGroupRoleSoap[] checkUserGroupRoles(long userId, java.util.List<UserGroupRole> userGroupRoles)
        throws RemoteException {
    try {/*from   w w  w.  j  ava 2 s . c o  m*/
        java.util.List<UserGroupRole> returnValue = AngularRoleServiceUtil.checkUserGroupRoles(userId,
                userGroupRoles);

        return UserGroupRoleSoap.toSoapModels(returnValue);
    } catch (Exception e) {
        _log.error(e, e);

        throw new RemoteException(e.getMessage());
    }
}