@ApplicationScoped public class PreferenceScopeTypesMock extends Object implements org.uberfire.preferences.shared.PreferenceScopeTypes
Constructor and Description |
---|
PreferenceScopeTypesMock() |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultKeyFor(String type) |
boolean |
typeRequiresKey(String type) |
public boolean typeRequiresKey(String type) throws org.uberfire.preferences.shared.impl.exception.InvalidPreferenceScopeException
typeRequiresKey
in interface org.uberfire.preferences.shared.PreferenceScopeTypes
org.uberfire.preferences.shared.impl.exception.InvalidPreferenceScopeException
public String getDefaultKeyFor(String type) throws org.uberfire.preferences.shared.impl.exception.InvalidPreferenceScopeException
getDefaultKeyFor
in interface org.uberfire.preferences.shared.PreferenceScopeTypes
org.uberfire.preferences.shared.impl.exception.InvalidPreferenceScopeException
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.