org.gcube.portlets.admin.rolesmanagementportlet.gwt.client.interfaces
Interface RolesManagementService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
- RolesManagementServlet
public interface RolesManagementService
- extends com.google.gwt.user.client.rpc.RemoteService
A RemoteService interface for the RolesManagement service following GWT RPC design
- Author:
- Panagiota Koltsida, NKUA
getAvailableRoles
ArrayList<RoleInfo> getAvailableRoles()
throws RolesRetrievalException,
CurrentGroupRetrievalException
- Throws:
RolesRetrievalException
CurrentGroupRetrievalException
listAllowedRoles
ArrayList<RoleInfo> listAllowedRoles()
throws CurrentGroupRetrievalException,
RetrieveAllowedRolesException
- Throws:
CurrentGroupRetrievalException
RetrieveAllowedRolesException
deleteRoles
Boolean deleteRoles(ArrayList<String> roleNames)
createNewRole
Boolean createNewRole(String roleName,
String roleDesc)
throws RoleCreationException
- Throws:
RoleCreationException
updateRole
Boolean updateRole(String roleName,
String newRoleName,
String newRoleDescription)
throws RoleUpdateException,
RolesRetrievalException,
CurrentGroupRetrievalException
- Throws:
RoleUpdateException
RolesRetrievalException
CurrentGroupRetrievalException
sendEmailWithErrorToSupport
void sendEmailWithErrorToSupport(Throwable caught)
Copyright © 2013. All Rights Reserved.