Interface WorkbenchPreferenceScopeResolutionStrategies

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.uberfire.preferences.shared.impl.PreferenceScopeResolutionStrategyInfo getSpaceInfoFor​(String scopeKey)  
      org.uberfire.preferences.shared.impl.PreferenceScopeResolutionStrategyInfo getUserInfoFor​(String scopeType, String scopeKey)
      Returns a scope resolution strategy with the scopes (in that order): scope (parameter) by user, user and global.
    • Method Detail

      • getUserInfoFor

        org.uberfire.preferences.shared.impl.PreferenceScopeResolutionStrategyInfo getUserInfoFor​(String scopeType,
                                                                                                  String scopeKey)
        Returns a scope resolution strategy with the scopes (in that order): scope (parameter) by user, user and global.
        Parameters:
        scopeType - The first scope type in the resolution order (e.g. project).
        scopeKey - The first scope key in the resolution order (e.g. my-project-name).
        Returns:
        The scope resolution strategy info based on the passed parameters.
      • getSpaceInfoFor

        org.uberfire.preferences.shared.impl.PreferenceScopeResolutionStrategyInfo getSpaceInfoFor​(String scopeKey)