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<GUIValue> callback)
void
deleteGroup(long groupId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
void
deleteMenu(long menuId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
void
deleteTrustedDevices(String[] deviceIds, 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, String locale, com.google.gwt.user.client.rpc.AsyncCallback<GUIMenu> callback)
void
getMenus(long parentId, String locale, boolean enabledOnly, 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
isTrustedDevice(String device, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> 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
replicateUsersSettings(long masterUserId, Long[] userIds, boolean gui, boolean groups, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
void
resetAvatar(long userId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
void
saveAvatar(long userId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
void
saveGroup(GUIGroup group, com.google.gwt.user.client.rpc.AsyncCallback<GUIGroup> callback)
void
saveInterfaceSettings(GUIUser user, com.google.gwt.user.client.rpc.AsyncCallback<GUIUser> callback)
void
saveMenu(GUIMenu menu, String locale, com.google.gwt.user.client.rpc.AsyncCallback<GUIMenu> callback)
void
saveMenus(GUIMenu[] menus, String locale, com.google.gwt.user.client.rpc.AsyncCallback<Void> 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)
void
syncGeolocationDB(String key, com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
void
trustDevice(com.google.gwt.user.client.rpc.AsyncCallback<String> 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<GUIValue> 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)
-
saveAvatar
void saveAvatar(long userId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
applyRights
void applyRights(GUIMenu menu, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
getMenu
void getMenu(long id, String locale, 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)
-
saveInterfaceSettings
void saveInterfaceSettings(GUIUser user, com.google.gwt.user.client.rpc.AsyncCallback<GUIUser> callback)
-
replicateUsersSettings
void replicateUsersSettings(long masterUserId, Long[] userIds, boolean gui, boolean groups, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
deleteMenu
void deleteMenu(long menuId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
getMenus
void getMenus(long parentId, String locale, boolean enabledOnly, com.google.gwt.user.client.rpc.AsyncCallback<GUIMenu[]> callback)
-
saveMenus
void saveMenus(GUIMenu[] menus, String locale, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
saveMenu
void saveMenu(GUIMenu menu, String locale, com.google.gwt.user.client.rpc.AsyncCallback<GUIMenu> callback)
-
trustDevice
void trustDevice(com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
-
isTrustedDevice
void isTrustedDevice(String device, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
-
deleteTrustedDevices
void deleteTrustedDevices(String[] deviceIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
syncGeolocationDB
void syncGeolocationDB(String key, com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
-
resetAvatar
void resetAvatar(long userId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
-