@Override @Deprecated public void addRoleToUser(final String roleName, final String username, final Map<String, String> options) throws RemoteException, UserNotFoundException, RoleNotFoundException { getAPI(options).addRoleToUser(roleName, username); }
@Override @Deprecated public void setUserRoles(final String username, final Set<String> roleNames, final Map<String, String> options) throws RemoteException, UserNotFoundException, RoleNotFoundException { getAPI(options).setUserRoles(username, roleNames); }
@Override @Deprecated public void removeRole(final String name, final Map<String, String> options) throws RemoteException, RoleNotFoundException { getAPI(options).removeRole(name); }
@Override public ProfileMetadata addProfileMetadata(final String name, final Map<String, String> options) throws RemoteException, MetadataAlreadyExistsException { return getAPI(options).addProfileMetadata(name); }
@Override public Role findRoleByName(final String name, final Map<String, String> options) throws RemoteException, RoleNotFoundException { return getAPI(options).findRoleByName(name); }
@Override public User findUserByUserName(final String username, final Map<String, String> options) throws RemoteException, UserNotFoundException { return getAPI(options).findUserByUserName(username); }
@Override public List<User> getAllUsersInRoleAndGroup(final String roleUUID, final String groupUUID, final Map<String, String> options) throws RemoteException, RoleNotFoundException, GroupNotFoundException { return getAPI(options).getAllUsersInRoleAndGroup(roleUUID, groupUUID); }
@Override public Group getGroupByUUID(final String groupUUID, final Map<String, String> options) throws RemoteException, GroupNotFoundException { return getAPI(options).getGroupByUUID(groupUUID); }
@Override public List<User> getUsersInGroup(final String groupUUID, final int fromIndex, final int numberOfUsers, final Map<String, String> options) throws RemoteException, GroupNotFoundException { return getAPI(options).getUsersInGroup(groupUUID, fromIndex, numberOfUsers); }
@Override public List<User> getUsersInRole(final String roleUUID, final int fromIndex, final int numberOfUsers, final Map<String, String> options) throws RemoteException, RoleNotFoundException { return getAPI(options).getUsersInRole(roleUUID, fromIndex, numberOfUsers); }
@Override public void removeRoleByUUID(final String roleUUID, final Map<String, String> options) throws RemoteException, RoleNotFoundException { getAPI(options).removeRoleByUUID(roleUUID); }
@Override public Role updateRoleByUUID(final String roleUUID, final String name, final String label, final String description, final Map<String, String> options) throws RemoteException, RoleNotFoundException, RoleAlreadyExistsException { return getAPI(options).updateRoleByUUID(roleUUID, name, label, description); }
@Override public User updateUserByUUID(final String userUUID, final String username, final String firstName, final String lastName, final String title, final String jobTitle, final String managerUserUUID, final Map<String, String> profileMetadata, final Map<String, String> options) throws RemoteException, UserNotFoundException, UserAlreadyExistsException, MetadataNotFoundException { return getAPI(options).updateUserByUUID(userUUID, username, firstName, lastName, title, jobTitle, managerUserUUID, profileMetadata); }
@Override public Role importRole(final String uuid, final String name, final String label, final String description, final Map<String, String> options) throws RemoteException, RoleAlreadyExistsException { return getAPI(options).importRole(uuid, name, label, description); }
@Override @Deprecated public Set<User> getUsers(final Map<String, String> options) throws RemoteException { return getAPI(options).getUsers(); }
@Override public Group addGroup(final String name, final String label, final String description, final String parentGroupUUID, final Map<String, String> options) throws RemoteException, GroupAlreadyExistsException, GroupNotFoundException { return getAPI(options).addGroup(name, label, description, parentGroupUUID); }
@Override public ProfileMetadata findProfileMetadataByName(final String metadataName, final Map<String, String> options) throws RemoteException, MetadataNotFoundException { return getAPI(options).findProfileMetadataByName(metadataName); }
@Override public List<Group> getChildrenGroupsByUUID(final String groupUUID, final Map<String, String> options) throws RemoteException { return getAPI(options).getChildrenGroupsByUUID(groupUUID); }
@Override public List<Group> getChildrenGroups(final String groupUUID, final int fromIndex, final int numberOfGroups, final GroupCriterion pagingCriterion, final Map<String, String> options) throws GroupNotFoundException, RemoteException { return getAPI(options).getChildrenGroups(groupUUID, fromIndex, numberOfGroups, pagingCriterion); }
@Override public Membership getMembershipForRoleAndGroup(final String roleUUID, final String groupUUID, final Map<String, String> options) throws RemoteException, RoleNotFoundException, GroupNotFoundException { return getAPI(options).getMembershipForRoleAndGroup(roleUUID, groupUUID); }