19 package org.turro.alliance.client.model;
21 import org.turro.alliance.service.AxConstants;
22 import org.turro.json.Jsons;
23 import org.turro.server.db.entities.AxMemberPreferences;
24 import org.turro.ws.WsServer;
25 import org.turro.ws.service.member.Servers;
39 if(!Jsons.isEmpty(response)) {
42 this.preferences =
null;
55 Servers.getData(server,
AxConstants.SAVE_PREFERENCES, Jsons.read(preferences.
toJson()));
PreferencesAdapter(WsServer server)
AxMemberPreferences getPreferences()
static final String MEMBER_PREFERENCES
static AxMemberPreferences fromJson(JsonValue value)