org.gcube.portlets.admin.rolesmanagementportlet.gwt.client.interfaces
Interface RolesManagementServiceAsync


public interface RolesManagementServiceAsync

An asynchronous interface for the RolesManagement service following GWT RPC design

Author:
Panagiota Koltsida, NKUA

Method Summary
 void createNewRole(String roleName, String roleDesc, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
           
 void deleteRoles(ArrayList<String> roleNames, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
           
 void getAvailableRoles(com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<RoleInfo>> callback)
           
 void listAllowedRoles(com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<RoleInfo>> callback)
           
 void sendEmailWithErrorToSupport(Throwable caught, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
           
 void updateRole(String roleName, String newRoleName, String newRoleDescription, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
           
 

Method Detail

getAvailableRoles

void getAvailableRoles(com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<RoleInfo>> callback)

deleteRoles

void deleteRoles(ArrayList<String> roleNames,
                 com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)

createNewRole

void createNewRole(String roleName,
                   String roleDesc,
                   com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)

listAllowedRoles

void listAllowedRoles(com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<RoleInfo>> callback)

sendEmailWithErrorToSupport

void sendEmailWithErrorToSupport(Throwable caught,
                                 com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)

updateRole

void updateRole(String roleName,
                String newRoleName,
                String newRoleDescription,
                com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)


Copyright © 2013. All Rights Reserved.