UsersServiceImpl

public class UsersServiceImpl extends BaseApiService<Directory>
implements Service

Nested Class Summary

class UsersServiceImpl.Builder Builder for creating an instance of UsersServiceImpl  

Public Method Summary

static UsersServiceImpl
fromConfiguration(CredentialFactory credentialFactory)
Creates an instance of UsersServiceImpl from connector configuration.
ListenableFuture<User>
getUserMapping(String userId)
Gets User from Google Admin SDK API.
Iterable<User>
listUsers(String schemaName)
Lists all Users using Google Admin SDK API.
ListenableFuture<User>
updateUserMapping(String userId, String schemaName, String attributeName, Optional<String> value)
Updates User's custom schema attributes using Google Admin SDK API.

Inherited Method Summary

Public Methods

public static UsersServiceImpl fromConfiguration (CredentialFactory credentialFactory)

Creates an instance of UsersServiceImpl from connector configuration.

Parameters
credentialFactory
Throws
GeneralSecurityException
IOException

public ListenableFuture<User> getUserMapping (String userId)

Gets User from Google Admin SDK API.

Parameters
userId
Throws
IOException

public Iterable<User> listUsers (String schemaName)

Lists all Users using Google Admin SDK API.

Parameters
schemaName
Throws
IOException

public ListenableFuture<User> updateUserMapping (String userId, String schemaName, String attributeName, Optional<String> value)

Updates User's custom schema attributes using Google Admin SDK API.

Parameters
userId
schemaName
attributeName
value
Throws
IOException

Skicka feedback om ...