com.liferay.client.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,
int type)
|
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,
java.lang.Object[] 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)
|
RoleSoap |
updateRole(long roleId,
java.lang.String name)
|
getRole
public RoleSoap getRole(long companyId,
java.lang.String name)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getRole
public RoleSoap getRole(long roleId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
hasUserRole
public boolean hasUserRole(long userId,
long companyId,
java.lang.String name,
boolean inherited)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getGroupRole
public RoleSoap getGroupRole(long companyId,
long groupId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
deleteRole
public void deleteRole(long roleId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
addRole
public RoleSoap addRole(java.lang.String name,
int type)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getGroupRoles
public RoleSoap[] getGroupRoles(long groupId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getUserRoles
public RoleSoap[] getUserRoles(long userId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getUserGroupRoles
public RoleSoap[] getUserGroupRoles(long userId,
long groupId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getUserRelatedRoles
public RoleSoap[] getUserRelatedRoles(long userId,
java.lang.Object[] groups)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
hasUserRoles
public boolean hasUserRoles(long userId,
long companyId,
java.lang.String[] names,
boolean inherited)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
updateRole
public RoleSoap updateRole(long roleId,
java.lang.String name)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException