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
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
changeStatus
(long userId, boolean enabled, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
cloneWorkTimes
(long srcUserId, long[] userIds, 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
(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<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<GUISequence[]> callback) void
loadSettings
(com.google.gwt.user.client.rpc.AsyncCallback<GUISecuritySettings> callback) void
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
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
(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)
-
Method Details
-
logout
-
changePassword
-
deleteUser
-
saveUser
-
getUser
-
getGroup
-
deleteGroup
-
saveGroup
-
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
-
saveSettings
void saveSettings(GUISecuritySettings settings, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback) -
kill
-
saveProfile
-
saveAvatar
-
applyRights
-
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
void cloneWorkTimes(long srcUserId, long[] userIds, long[] groupIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) -
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)
-