public class WorkbenchPreferenceScopeTypes extends Object implements org.uberfire.preferences.shared.PreferenceScopeTypes
PreferenceScopeTypes. To override it, just provide a default
CDI bean that implements PreferenceScopeTypes.| Modifier and Type | Class and Description |
|---|---|
protected static interface |
WorkbenchPreferenceScopeTypes.DefaultKey |
| Modifier | Constructor and Description |
|---|---|
protected |
WorkbenchPreferenceScopeTypes() |
|
WorkbenchPreferenceScopeTypes(org.uberfire.preferences.shared.UsernameProvider usernameProvider) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultKeyFor(String type) |
protected boolean |
isEmpty(String str) |
boolean |
typeRequiresKey(String type) |
protected void |
validateType(String type) |
protected WorkbenchPreferenceScopeTypes()
@Inject public WorkbenchPreferenceScopeTypes(org.uberfire.preferences.shared.UsernameProvider usernameProvider)
public boolean typeRequiresKey(String type) throws org.uberfire.preferences.shared.impl.exception.InvalidPreferenceScopeException
typeRequiresKey in interface org.uberfire.preferences.shared.PreferenceScopeTypesorg.uberfire.preferences.shared.impl.exception.InvalidPreferenceScopeExceptionpublic String getDefaultKeyFor(String type) throws org.uberfire.preferences.shared.impl.exception.InvalidPreferenceScopeException
getDefaultKeyFor in interface org.uberfire.preferences.shared.PreferenceScopeTypesorg.uberfire.preferences.shared.impl.exception.InvalidPreferenceScopeExceptionprotected void validateType(String type) throws org.uberfire.preferences.shared.impl.exception.InvalidPreferenceScopeException
org.uberfire.preferences.shared.impl.exception.InvalidPreferenceScopeExceptionprotected boolean isEmpty(String str)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.