1   /**
2    * RoleServiceSoap.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
6    */
7   
8   package com.liferay.client.soap.portal.service.http;
9   
10  public interface RoleServiceSoap extends java.rmi.Remote {
11      public com.liferay.client.soap.portal.model.RoleSoap getRole(long roleId) throws java.rmi.RemoteException;
12      public com.liferay.client.soap.portal.model.RoleSoap getRole(long companyId, java.lang.String name) throws java.rmi.RemoteException;
13      public com.liferay.client.soap.portal.model.RoleSoap addRole(java.lang.String name, java.lang.String description, int type) throws java.rmi.RemoteException;
14      public void addUserRoles(long userId, long[] roleIds) throws java.rmi.RemoteException;
15      public void deleteRole(long roleId) throws java.rmi.RemoteException;
16      public com.liferay.client.soap.portal.model.RoleSoap getGroupRole(long companyId, long groupId) throws java.rmi.RemoteException;
17      public com.liferay.client.soap.portal.model.RoleSoap[] getGroupRoles(long groupId) throws java.rmi.RemoteException;
18      public com.liferay.client.soap.portal.model.RoleSoap[] getUserGroupRoles(long userId, long groupId) throws java.rmi.RemoteException;
19      public com.liferay.client.soap.portal.model.RoleSoap[] getUserRelatedRoles(long userId, com.liferay.client.soap.portal.model.GroupSoap[] groups) throws java.rmi.RemoteException;
20      public com.liferay.client.soap.portal.model.RoleSoap[] getUserRoles(long userId) throws java.rmi.RemoteException;
21      public boolean hasUserRole(long userId, long companyId, java.lang.String name, boolean inherited) throws java.rmi.RemoteException;
22      public boolean hasUserRoles(long userId, long companyId, java.lang.String[] names, boolean inherited) throws java.rmi.RemoteException;
23      public void unsetUserRoles(long userId, long[] roleIds) throws java.rmi.RemoteException;
24  }
25