public class DataGateUserTemplate
extends java.lang.Object
Represents a template for DataGate users operations.
| Constructor and Description |
|---|
DataGateUserTemplate(DataGateClient dataGateClient)
Instantiates a new
DataGateUserTemplate. |
| Modifier and Type | Method and Description |
|---|---|
void |
createRemoteUser(UserAccount userAccount)
Create a new user in the server.
|
void |
deleteRemoteUser(java.lang.String username)
Deletes a remote user by username.
|
UserAccount |
getUserAccount(java.lang.String username)
Gets user account details by username.
|
void |
updateRemoteUser(UserAccount userAccount)
Updates an existing remote user.
|
public DataGateUserTemplate(DataGateClient dataGateClient)
Instantiates a new DataGateUserTemplate.
dataGateClient - the DataGateClientpublic UserAccount getUserAccount(java.lang.String username)
Gets user account details by username.
username - the usernamepublic void createRemoteUser(UserAccount userAccount)
Create a new user in the server.
userAccount - the user account detailspublic void updateRemoteUser(UserAccount userAccount)
Updates an existing remote user.
userAccount - the user account detailspublic void deleteRemoteUser(java.lang.String username)
Deletes a remote user by username.
username - the username