com.liferay.client.soap.portal.service.http
Interface RoleServiceSoap
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- Portal_RoleServiceSoapBindingImpl, Portal_RoleServiceSoapBindingStub
public interface RoleServiceSoap
- extends java.rmi.Remote
Method Summary |
RoleSoap |
addRole(java.lang.String name,
java.lang.String description,
int type)
|
void |
addUserRoles(long userId,
long[] roleIds)
|
void |
deleteRole(long roleId)
|
RoleSoap |
getGroupRole(long companyId,
long groupId)
|
RoleSoap[] |
getGroupRoles(long groupId)
|
RoleSoap |
getRole(long roleId)
|
RoleSoap |
getRole(long companyId,
java.lang.String name)
|
RoleSoap[] |
getUserGroupRoles(long userId,
long groupId)
|
RoleSoap[] |
getUserRelatedRoles(long userId,
GroupSoap[] groups)
|
RoleSoap[] |
getUserRoles(long userId)
|
boolean |
hasUserRole(long userId,
long companyId,
java.lang.String name,
boolean inherited)
|
boolean |
hasUserRoles(long userId,
long companyId,
java.lang.String[] names,
boolean inherited)
|
void |
unsetUserRoles(long userId,
long[] roleIds)
|
getRole
RoleSoap getRole(long roleId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getRole
RoleSoap getRole(long companyId,
java.lang.String name)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
addRole
RoleSoap addRole(java.lang.String name,
java.lang.String description,
int type)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
addUserRoles
void addUserRoles(long userId,
long[] roleIds)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
deleteRole
void deleteRole(long roleId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getGroupRole
RoleSoap getGroupRole(long companyId,
long groupId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getGroupRoles
RoleSoap[] getGroupRoles(long groupId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getUserGroupRoles
RoleSoap[] getUserGroupRoles(long userId,
long groupId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getUserRelatedRoles
RoleSoap[] getUserRelatedRoles(long userId,
GroupSoap[] groups)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getUserRoles
RoleSoap[] getUserRoles(long userId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
hasUserRole
boolean hasUserRole(long userId,
long companyId,
java.lang.String name,
boolean inherited)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
hasUserRoles
boolean hasUserRoles(long userId,
long companyId,
java.lang.String[] names,
boolean inherited)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
unsetUserRoles
void unsetUserRoles(long userId,
long[] roleIds)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException