public class RolesManagementServlet extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements RolesManagementService
| Constructor and Description |
|---|
RolesManagementServlet()
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
createNewRole(String roleName,
String roleDesc)
Creates a role with the given name
|
Boolean |
deleteRoles(ArrayList<String> roleNames)
Deletes all the given roles
|
ArrayList<RoleInfo> |
getAvailableRoles()
Returns the available roles of the current VO/VRE
|
ArrayList<RoleInfo> |
listAllowedRoles()
Lists the allowed roles that can be created for the current VO/VRE
|
void |
sendEmailWithErrorToSupport(Throwable caught) |
Boolean |
updateRole(String roleName,
String newRoleName,
String newRoleDescription) |
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic ArrayList<RoleInfo> listAllowedRoles() throws CurrentGroupRetrievalException, RetrieveAllowedRolesException
listAllowedRoles in interface RolesManagementServiceCurrentGroupRetrievalExceptionRetrieveAllowedRolesExceptionpublic ArrayList<RoleInfo> getAvailableRoles() throws RolesRetrievalException, CurrentGroupRetrievalException
getAvailableRoles in interface RolesManagementServiceRolesRetrievalExceptionCurrentGroupRetrievalExceptionpublic Boolean deleteRoles(ArrayList<String> roleNames)
deleteRoles in interface RolesManagementServiceroleNames - The names of roles to be deletedpublic Boolean createNewRole(String roleName, String roleDesc) throws RoleCreationException
createNewRole in interface RolesManagementServiceroleName - The name of the role to be createdRoleCreationExceptionpublic Boolean updateRole(String roleName, String newRoleName, String newRoleDescription) throws RoleUpdateException, RolesRetrievalException, CurrentGroupRetrievalException
updateRole in interface RolesManagementServiceRoleUpdateExceptionRolesRetrievalExceptionCurrentGroupRetrievalExceptionpublic void sendEmailWithErrorToSupport(Throwable caught)
sendEmailWithErrorToSupport in interface RolesManagementServiceCopyright © 2014. All Rights Reserved.