Account API: Add methods to set account active/inactive

Change-Id: I6d533683b221d066d682ba31faa9168f775b3893
This commit is contained in:
David Pursehouse
2016-09-02 17:26:25 +09:00
parent 3e70067321
commit 86cdf1b494
3 changed files with 56 additions and 0 deletions

View File

@@ -34,6 +34,9 @@ import java.util.SortedSet;
public interface AccountApi {
AccountInfo get() throws RestApiException;
boolean getActive() throws RestApiException;
void setActive(boolean active) throws RestApiException;
String getAvatarUrl(int size) throws RestApiException;
GeneralPreferencesInfo getPreferences() throws RestApiException;
@@ -84,6 +87,16 @@ public interface AccountApi {
throw new NotImplementedException();
}
@Override
public boolean getActive() throws RestApiException {
throw new NotImplementedException();
}
@Override
public void setActive(boolean active) throws RestApiException {
throw new NotImplementedException();
}
@Override
public String getAvatarUrl(int size) throws RestApiException {
throw new NotImplementedException();