public interface RoleManagement
extends java.rmi.Remote
Modifier and Type | Method and Description |
---|---|
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) |
void |
updateRole(Role role) |
java.lang.Integer createRole(Role role) throws IOException, java.rmi.RemoteException
IOException
java.rmi.RemoteException
void deleteRole(java.lang.Integer roleId) throws IOException, java.rmi.RemoteException
IOException
java.rmi.RemoteException
void deleteRoles(int[] roleIds) throws IOException, java.rmi.RemoteException
IOException
java.rmi.RemoteException
Role[] findAllRoles() throws IOException, java.rmi.RemoteException
IOException
java.rmi.RemoteException
Role findRoleById(java.lang.Integer roleId) throws IOException, java.rmi.RemoteException
IOException
java.rmi.RemoteException
Role[] findRoleByIds(int[] roleIds) throws IOException, java.rmi.RemoteException
IOException
java.rmi.RemoteException
Role[] findRolesByProject(java.lang.Integer projectId) throws IOException, java.rmi.RemoteException
IOException
java.rmi.RemoteException
Role[] findRolesByProjectAndParticipant(java.lang.Integer projectId, java.lang.Integer participantId) throws IOException, java.rmi.RemoteException
IOException
java.rmi.RemoteException
void updateRole(Role role) throws IOException, java.rmi.RemoteException
IOException
java.rmi.RemoteException