public class AccountService extends AbstractService
AbstractService.OutputStreamResponseExtractormapper, noopRequestCallback, restTemplate, WAIT_BEFORE_RETRY_IN_MILLIS| Constructor and Description |
|---|
AccountService(org.springframework.web.client.RestTemplate restTemplate)
Constructs service for GoodData account management.
|
| Modifier and Type | Method and Description |
|---|---|
Account |
getCurrent()
Gets current account of logged user.
|
void |
logout()
Performs user logout.
|
extractDatapublic AccountService(org.springframework.web.client.RestTemplate restTemplate)
restTemplate - RESTful HTTP Spring templatepublic Account getCurrent()
GoodDataException - when current account can't be accessed.public void logout()
GoodDataException - when logout failed.Copyright © 2014. All Rights Reserved.