public class WarehouseUser extends Object
| Constructor and Description |
|---|
WarehouseUser(String role,
String profile,
String login)
Creates a new instance with given parameters.
|
WarehouseUser(String role,
String profile,
String login,
Map<String,String> links) |
| Modifier and Type | Method and Description |
|---|---|
static WarehouseUser |
createWithlogin(String login,
WarehouseUserRole role)
|
static WarehouseUser |
createWithProfile(Account profile,
WarehouseUserRole role)
|
static WarehouseUser |
createWithProfileUri(String profileUri,
WarehouseUserRole role)
|
String |
getId() |
Map<String,String> |
getLinks() |
String |
getLogin() |
String |
getProfile() |
String |
getRole() |
String |
getUri() |
String |
toString() |
public static final String URI
public WarehouseUser(String role, String profile, String login)
Only one of the parameters profile and login must be provided.
role - role of the user in ADSprofile - profileId (/gdc/account/profile/{id}) of the userlogin - login of the userpublic static WarehouseUser createWithProfileUri(String profileUri, WarehouseUserRole role)
public static WarehouseUser createWithProfile(Account profile, WarehouseUserRole role)
public static WarehouseUser createWithlogin(String login, WarehouseUserRole role)
public String getRole()
public String getProfile()
public String getLogin()
public String getId()
public String getUri()
Copyright © 2019. All rights reserved.