Class DefaultWorkbenchPreferenceScopeResolutionStrategies
- java.lang.Object
-
- org.guvnor.common.services.shared.preferences.DefaultWorkbenchPreferenceScopeResolutionStrategies
-
- All Implemented Interfaces:
WorkbenchPreferenceScopeResolutionStrategies
public class DefaultWorkbenchPreferenceScopeResolutionStrategies extends Object implements WorkbenchPreferenceScopeResolutionStrategies
-
-
Constructor Summary
Constructors Constructor Description DefaultWorkbenchPreferenceScopeResolutionStrategies()DefaultWorkbenchPreferenceScopeResolutionStrategies(org.uberfire.preferences.shared.PreferenceScopeResolutionStrategy preferenceScopeResolutionStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.uberfire.preferences.shared.impl.PreferenceScopeResolutionStrategyInfogetSpaceInfoFor(String scopeKey)org.uberfire.preferences.shared.impl.PreferenceScopeResolutionStrategyInfogetUserInfoFor(String scopeType, String scopeKey)Returns a scope resolution strategy with the scopes (in that order): scope (parameter) by user, user and global.
-
-
-
Constructor Detail
-
DefaultWorkbenchPreferenceScopeResolutionStrategies
public DefaultWorkbenchPreferenceScopeResolutionStrategies()
-
DefaultWorkbenchPreferenceScopeResolutionStrategies
public DefaultWorkbenchPreferenceScopeResolutionStrategies(org.uberfire.preferences.shared.PreferenceScopeResolutionStrategy preferenceScopeResolutionStrategy)
-
-
Method Detail
-
getUserInfoFor
public org.uberfire.preferences.shared.impl.PreferenceScopeResolutionStrategyInfo getUserInfoFor(String scopeType, String scopeKey)
Description copied from interface:WorkbenchPreferenceScopeResolutionStrategiesReturns a scope resolution strategy with the scopes (in that order): scope (parameter) by user, user and global.- Specified by:
getUserInfoForin interfaceWorkbenchPreferenceScopeResolutionStrategies- 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
public org.uberfire.preferences.shared.impl.PreferenceScopeResolutionStrategyInfo getSpaceInfoFor(String scopeKey)
- Specified by:
getSpaceInfoForin interfaceWorkbenchPreferenceScopeResolutionStrategies
-
-