public class RoleManagementProxy extends java.lang.Object implements RoleManagement
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
_endpoint |
private RoleManagement |
roleManagement |
Constructor and Description |
---|
RoleManagementProxy() |
RoleManagementProxy(java.lang.String endpoint) |
Modifier and Type | Method and Description |
---|---|
private void |
_initRoleManagementProxy() |
java.lang.Integer |
createRole(Role role) |
void |
deleteRole(java.lang.Integer roleId) |
void |
deleteRoles(int[] roleIds) |
Role[] |
findAllRoles() |
Role |
findRoleById(java.lang.Integer roleId) |
Role[] |
findRoleByIds(int[] roleIds) |
Role[] |
findRolesByProject(java.lang.Integer projectId) |
Role[] |
findRolesByProjectAndParticipant(java.lang.Integer projectId,
java.lang.Integer participantId) |
java.lang.String |
getEndpoint() |
RoleManagement |
getRoleManagement() |
void |
setEndpoint(java.lang.String endpoint) |
void |
updateRole(Role role) |
private java.lang.String _endpoint
private RoleManagement roleManagement
public RoleManagementProxy()
public RoleManagementProxy(java.lang.String endpoint)
private void _initRoleManagementProxy()
public java.lang.String getEndpoint()
public void setEndpoint(java.lang.String endpoint)
public RoleManagement getRoleManagement()
public java.lang.Integer createRole(Role role) throws IOException, java.rmi.RemoteException
createRole
in interface RoleManagement
IOException
java.rmi.RemoteException
public void deleteRole(java.lang.Integer roleId) throws IOException, java.rmi.RemoteException
deleteRole
in interface RoleManagement
IOException
java.rmi.RemoteException
public void deleteRoles(int[] roleIds) throws IOException, java.rmi.RemoteException
deleteRoles
in interface RoleManagement
IOException
java.rmi.RemoteException
public Role[] findAllRoles() throws IOException, java.rmi.RemoteException
findAllRoles
in interface RoleManagement
IOException
java.rmi.RemoteException
public Role findRoleById(java.lang.Integer roleId) throws IOException, java.rmi.RemoteException
findRoleById
in interface RoleManagement
IOException
java.rmi.RemoteException
public Role[] findRoleByIds(int[] roleIds) throws IOException, java.rmi.RemoteException
findRoleByIds
in interface RoleManagement
IOException
java.rmi.RemoteException
public Role[] findRolesByProject(java.lang.Integer projectId) throws IOException, java.rmi.RemoteException
findRolesByProject
in interface RoleManagement
IOException
java.rmi.RemoteException
public Role[] findRolesByProjectAndParticipant(java.lang.Integer projectId, java.lang.Integer participantId) throws IOException, java.rmi.RemoteException
findRolesByProjectAndParticipant
in interface RoleManagement
IOException
java.rmi.RemoteException
public void updateRole(Role role) throws IOException, java.rmi.RemoteException
updateRole
in interface RoleManagement
IOException
java.rmi.RemoteException