com.threerings.admin.web.gwt
Interface ConfigService

All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
All Known Implementing Classes:
ConfigServlet

public interface ConfigService
extends com.google.gwt.user.client.rpc.RemoteService

Defines remote services available to admins.


Nested Class Summary
static class ConfigService.ConfigurationRecord
          The runtime configuration of a single ConfigObject.
static class ConfigService.ConfigurationResult
          The current runtime configuration of a server, a collection of ConfigService.ConfigurationRecord objects indexed by key.
 
Method Summary
 ConfigService.ConfigurationResult getConfiguration()
          Retrieve all the runtime configuration held by the server and return it in a format that is digestible by GWT.
 ConfigService.ConfigurationRecord updateConfiguration(String key, ConfigField[] updates)
          Submit a collection of updated fields to the server for application to its runtime configuration.
 

Method Detail

getConfiguration

ConfigService.ConfigurationResult getConfiguration()
                                                   throws ServiceException
Retrieve all the runtime configuration held by the server and return it in a format that is digestible by GWT.

Throws:
ServiceException

updateConfiguration

ConfigService.ConfigurationRecord updateConfiguration(String key,
                                                      ConfigField[] updates)
                                                      throws ServiceException
Submit a collection of updated fields to the server for application to its runtime configuration. A new snapshot of the configuration state is returned for sanity checking purposes.

Throws:
ServiceException