class PreferenceBeanStoreClientImpl implements PreferenceBeanStore {

    @Override
    public <U extends BasePreference<U>, T extends BasePreferencePortable<U>> void load(final T emptyPortablePreference,
                                                                                        final ParameterizedCommand<T> successCallback,
                                                                                        final ParameterizedCommand<Throwable> errorCallback) {
        // loads the default value, without a backend it won't consult the preference storage
        successCallback.execute((T) emptyPortablePreference.defaultValue((U) emptyPortablePreference));
    }

}