org.gcube.portlets.admin.usersmanagementportlet.gwt.client.interfaces
Interface UsersManagementService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
- UsersManagementServlet
public interface UsersManagementService
- extends com.google.gwt.user.client.rpc.RemoteService
A RemoteService interface for the UsersManagement service following GWT RPC design
- Author:
- Panagiota Koltsida, NKUA
getAvailableRolesByCurrentGroup
String[] getAvailableRolesByCurrentGroup()
getAllRegisteredUsers
ArrayList<UserInfo> getAllRegisteredUsers()
getRegisteredUsersForaVO
ArrayList<UserInfo> getRegisteredUsersForaVO()
removeUsersFromVO
Boolean removeUsersFromVO(String[] users)
throws CurrentGroupRetrievalException,
RolesRetrievalException,
UserRemovalFailureException,
UserInfoRetrievalException
- Throws:
CurrentGroupRetrievalException
RolesRetrievalException
UserRemovalFailureException
UserInfoRetrievalException
denyRequests
Boolean denyRequests(String[] users)
throws CurrentGroupRetrievalException,
RolesRetrievalException,
UserRemovalFailureException,
UserInfoRetrievalException
- Throws:
CurrentGroupRetrievalException
RolesRetrievalException
UserRemovalFailureException
UserInfoRetrievalException
updateUserRoles
String updateUserRoles(String username,
String[][] rolesAndValues)
getUnregisteredUsersForVO
ArrayList<UserInfo> getUnregisteredUsersForVO()
addUsersToVO
Boolean addUsersToVO(ArrayList<String> users)
throws RolesRetrievalException,
UserInfoRetrievalException,
CurrentGroupRetrievalException,
GroupAssignmentException
- Throws:
RolesRetrievalException
UserInfoRetrievalException
CurrentGroupRetrievalException
GroupAssignmentException
getUsersRequests
ArrayList<UserInfo> getUsersRequests()
throws PendingUsersRetrievalException
- Throws:
PendingUsersRetrievalException
addNewUsersToVO
Boolean addNewUsersToVO(ArrayList<String> users)
throws CurrentGroupRetrievalException
- Throws:
CurrentGroupRetrievalException
sendEmailToRegisteredUsers
void sendEmailToRegisteredUsers(String subject,
String body)
throws CurrentGroupRetrievalException,
RegisteredUsersRetrievalException,
UserInfoRetrievalException
- Throws:
CurrentGroupRetrievalException
RegisteredUsersRetrievalException
UserInfoRetrievalException
getNumberOfUserThatReceiveNots
Integer getNumberOfUserThatReceiveNots()
throws RegisteredUsersRetrievalException
- Throws:
RegisteredUsersRetrievalException
sendEmailWithErrorToSupport
void sendEmailWithErrorToSupport(Throwable caught)
Copyright © 2013. All Rights Reserved.