Interface SecurityServiceAsync
-
public interface SecurityServiceAsync
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addUserToGroup(long groupId, long userId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
void
applyRights(GUIMenu menu, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
void
changePassword(Long requestorUserId, long userId, String oldPassword, String newPassword, boolean notify, com.google.gwt.user.client.rpc.AsyncCallback<Integer> callback)
void
deleteGroup(long groupId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
void
deleteUser(long userId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
void
getGroup(long groupId, com.google.gwt.user.client.rpc.AsyncCallback<GUIGroup> callback)
void
getMenu(long id, com.google.gwt.user.client.rpc.AsyncCallback<GUIMenu> callback)
void
getSession(String locale, com.google.gwt.user.client.rpc.AsyncCallback<GUISession> callback)
void
getUser(long userId, com.google.gwt.user.client.rpc.AsyncCallback<GUIUser> callback)
void
kill(String sid, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
void
loadBlockedEntities(com.google.gwt.user.client.rpc.AsyncCallback<GUISequence[]> callback)
void
loadSettings(com.google.gwt.user.client.rpc.AsyncCallback<GUISecuritySettings> callback)
void
logout(com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
void
removeBlockedEntities(long[] id, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
void
removeFromGroup(long groupId, long[] docIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
void
saveGroup(GUIGroup group, com.google.gwt.user.client.rpc.AsyncCallback<GUIGroup> callback)
void
saveProfile(GUIUser user, com.google.gwt.user.client.rpc.AsyncCallback<GUIUser> callback)
void
saveSettings(GUISecuritySettings settings, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
void
saveUser(GUIUser user, GUIInfo info, com.google.gwt.user.client.rpc.AsyncCallback<GUIUser> callback)
void
searchUsers(String username, String groupId, com.google.gwt.user.client.rpc.AsyncCallback<GUIUser[]> callback)
-
-
-
Method Detail
-
logout
void logout(com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
changePassword
void changePassword(Long requestorUserId, long userId, String oldPassword, String newPassword, boolean notify, com.google.gwt.user.client.rpc.AsyncCallback<Integer> callback)
-
deleteUser
void deleteUser(long userId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
saveUser
void saveUser(GUIUser user, GUIInfo info, com.google.gwt.user.client.rpc.AsyncCallback<GUIUser> callback)
-
getUser
void getUser(long userId, com.google.gwt.user.client.rpc.AsyncCallback<GUIUser> callback)
-
getGroup
void getGroup(long groupId, com.google.gwt.user.client.rpc.AsyncCallback<GUIGroup> callback)
-
deleteGroup
void deleteGroup(long groupId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
saveGroup
void saveGroup(GUIGroup group, com.google.gwt.user.client.rpc.AsyncCallback<GUIGroup> callback)
-
removeFromGroup
void removeFromGroup(long groupId, long[] docIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
addUserToGroup
void addUserToGroup(long groupId, long userId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
loadSettings
void loadSettings(com.google.gwt.user.client.rpc.AsyncCallback<GUISecuritySettings> callback)
-
saveSettings
void saveSettings(GUISecuritySettings settings, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
-
saveProfile
void saveProfile(GUIUser user, com.google.gwt.user.client.rpc.AsyncCallback<GUIUser> callback)
-
applyRights
void applyRights(GUIMenu menu, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
getMenu
void getMenu(long id, com.google.gwt.user.client.rpc.AsyncCallback<GUIMenu> callback)
-
searchUsers
void searchUsers(String username, String groupId, com.google.gwt.user.client.rpc.AsyncCallback<GUIUser[]> callback)
-
getSession
void getSession(String locale, com.google.gwt.user.client.rpc.AsyncCallback<GUISession> callback)
-
loadBlockedEntities
void loadBlockedEntities(com.google.gwt.user.client.rpc.AsyncCallback<GUISequence[]> callback)
-
removeBlockedEntities
void removeBlockedEntities(long[] id, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
-