Interface SecurityServiceAsync
public interface SecurityServiceAsync
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addUserToGroup
(long groupId, long userId, 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
changeStatus
(long userId, boolean enabled, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
cloneWorkTimes
(long srcUserId, List<Long> userIds, List<Long> groupIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> 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
(List<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
generatePassword
(com.google.gwt.user.client.rpc.AsyncCallback<String> callback) void
generatePassword2
(int length, int uppercaseChars, int lowercaseChars, int digits, int specialChars, int maxSequenceSize, int maxOccurrences, com.google.gwt.user.client.rpc.AsyncCallback<String> callback) void
void
void
getMenus
(long parentId, String locale, boolean enabledOnly, com.google.gwt.user.client.rpc.AsyncCallback<List<GUIMenu>> callback) void
getSession
(String locale, String sid, com.google.gwt.user.client.rpc.AsyncCallback<GUISession> callback) void
void
isTrustedDevice
(String device, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback) void
void
loadBlockedEntities
(com.google.gwt.user.client.rpc.AsyncCallback<List<GUISequence>> callback) void
loadSettings
(com.google.gwt.user.client.rpc.AsyncCallback<GUISecuritySettings> callback) void
void
removeBlockedEntities
(List<Long> id, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
removeFromGroup
(long groupId, List<Long> docIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
replicateUsersSettings
(long masterUserId, List<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
void
saveAvatar
(long userId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
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
(List<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<List<GUIUser>> callback) void
syncGeolocationDB
(String key, com.google.gwt.user.client.rpc.AsyncCallback<String> callback) void
trustDevice
(String label, com.google.gwt.user.client.rpc.AsyncCallback<String> callback) void
updateDeviceLabel
(long deviceId, String label, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
validatePassword
(String password, int length, int uppercaseChars, int lowercaseChars, int digits, int specialChars, int maxSequenceSize, int maxOccurrences, com.google.gwt.user.client.rpc.AsyncCallback<List<String>> callback)
-
Method Details
-
logout
-
changePassword
-
deleteUser
-
saveUser
-
getUser
-
getGroup
-
deleteGroup
-
saveGroup
-
removeFromGroup
-
addUserToGroup
void addUserToGroup(long groupId, long userId, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) -
loadSettings
-
saveSettings
void saveSettings(GUISecuritySettings settings, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback) -
kill
-
saveProfile
-
saveAvatar
-
saveACL
-
getMenu
-
searchUsers
-
getSession
void getSession(String locale, String sid, com.google.gwt.user.client.rpc.AsyncCallback<GUISession> callback) -
loadBlockedEntities
-
removeBlockedEntities
-
saveInterfaceSettings
-
replicateUsersSettings
-
deleteMenu
-
getMenus
-
saveMenus
-
saveMenu
-
trustDevice
-
isTrustedDevice
-
deleteTrustedDevices
-
syncGeolocationDB
-
resetAvatar
-
cloneWorkTimes
-
changeStatus
void changeStatus(long userId, boolean enabled, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) -
updateDeviceLabel
-
generatePassword
-
generatePassword2
void generatePassword2(int length, int uppercaseChars, int lowercaseChars, int digits, int specialChars, int maxSequenceSize, int maxOccurrences, com.google.gwt.user.client.rpc.AsyncCallback<String> callback) -
validatePassword
-