import { Preference } from '../../../protocol/preference/preference' ; import { ServerWrapper } from '../server/serverwrapper' ; export class PreferenceSaver { private server_ : ServerWrapper ; constructor ( server ) { this . server_ = server ; } save ( preference ) { this . server_ . setPreference ( preference ) ; } }