Class PortablePreferenceMockBeanGeneratedImpl

    • Constructor Detail

      • PortablePreferenceMockBeanGeneratedImpl

        @Inject
        public PortablePreferenceMockBeanGeneratedImpl​(PreferenceBeanStore store)
    • Method Detail

      • load

        public void load​(org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)
        Description copied from interface: BasePreference
        Loads the preference content recursively through its properties.
        Specified by:
        load in interface BasePreference<PortablePreferenceMock>
        Parameters:
        errorCallback - Error callback that returns the exception that occurred (if any).
      • load

        public void load​(org.uberfire.mvp.ParameterizedCommand<PortablePreferenceMock> successCallback,
                         org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)
        Description copied from interface: BasePreference
        Loads the preference content recursively through its properties.
        Specified by:
        load in interface BasePreference<PortablePreferenceMock>
        Parameters:
        successCallback - Success callback that returns the loaded preference.
        errorCallback - Error callback that returns the exception that occurred (if any).
      • load

        public void load​(PreferenceScopeResolutionStrategyInfo customScopeResolutionStrategy,
                         org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)
        Description copied from interface: BasePreference
        Loads the preference content recursively through its properties.
        Specified by:
        load in interface BasePreference<PortablePreferenceMock>
        Parameters:
        customScopeResolutionStrategy - Custom preference scope resolution strategy to be used.
        errorCallback - Error callback that returns the exception that occurred (if any).
      • load

        public void load​(PreferenceScopeResolutionStrategyInfo customScopeResolutionStrategy,
                         org.uberfire.mvp.ParameterizedCommand<PortablePreferenceMock> successCallback,
                         org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)
        Description copied from interface: BasePreference
        Loads the preference content recursively through its properties.
        Specified by:
        load in interface BasePreference<PortablePreferenceMock>
        Parameters:
        customScopeResolutionStrategy - Custom preference scope resolution strategy to be used.
        successCallback - Success callback that returns the loaded preference.
        errorCallback - Error callback that returns the exception that occurred (if any).
      • save

        public void save​(org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)
        Description copied from interface: BasePreference
        Saves the preference content recursively through its properties.
        Specified by:
        save in interface BasePreference<PortablePreferenceMock>
        Parameters:
        errorCallback - Error callback that returns the exception that occurred (if any).
      • save

        public void save​(org.uberfire.mvp.Command successCallback,
                         org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)
        Description copied from interface: BasePreference
        Saves the preference content recursively through its properties.
        Specified by:
        save in interface BasePreference<PortablePreferenceMock>
        Parameters:
        successCallback - Success callback that indicates that the preference was saved.
        errorCallback - Error callback that returns the exception that occurred (if any).
      • save

        public void save​(PreferenceScopeResolutionStrategyInfo customScopeResolutionStrategy,
                         org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)
        Description copied from interface: BasePreference
        Saves the preference content recursively through its properties.
        Specified by:
        save in interface BasePreference<PortablePreferenceMock>
        Parameters:
        customScopeResolutionStrategy - Custom preference scope resolution strategy to be used.
        errorCallback - Error callback that returns the exception that occurred (if any).
      • save

        public void save​(PreferenceScopeResolutionStrategyInfo customScopeResolutionStrategy,
                         org.uberfire.mvp.Command successCallback,
                         org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)
        Description copied from interface: BasePreference
        Saves the preference content recursively through its properties.
        Specified by:
        save in interface BasePreference<PortablePreferenceMock>
        Parameters:
        customScopeResolutionStrategy - Custom preference scope resolution strategy to be used.
        successCallback - Success callback that indicates that the preference was saved.
        errorCallback - Error callback that returns the exception that occurred (if any).