Interface SecurityServiceAsync


public interface SecurityServiceAsync
  • Method Details

    • 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, List<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)
    • kill

      void kill(String sid, com.google.gwt.user.client.rpc.AsyncCallback<Void> 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)
    • saveACL

      void saveACL(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<List<GUIUser>> callback)
    • getSession

      void getSession(String locale, String sid, com.google.gwt.user.client.rpc.AsyncCallback<GUISession> callback)
    • loadBlockedEntities

      void loadBlockedEntities(com.google.gwt.user.client.rpc.AsyncCallback<List<GUISequence>> callback)
    • removeBlockedEntities

      void removeBlockedEntities(List<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, List<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<List<GUIMenu>> callback)
    • saveMenus

      void saveMenus(List<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(String label, 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(List<Long> 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)
    • cloneWorkTimes

      void cloneWorkTimes(long srcUserId, List<Long> userIds, List<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

      void updateDeviceLabel(long deviceId, String label, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
    • generatePassword

      void generatePassword(com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
    • 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

      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)