public class ScopeDefaultConfigController extends BasicController
This can be shown to a user as a source of inspiration when writing a custom scope or user config.
Modifier and Type | Field and Description |
---|---|
static String |
PERMISSION_VIEW_SCOPE_DEFAULT_CONFIG
Describes the permission required to view the default scope config.
|
defaultRoute
Constructor and Description |
---|
ScopeDefaultConfigController() |
Modifier and Type | Method and Description |
---|---|
void |
config(WebContext ctx,
String name)
Shows the default scope config for the given config file.
|
void |
defaultConfig(WebContext ctx)
Shows the default scope config for the first of the known default config file.
|
assertNotNull, assertPermission, fail, getUser, hasPermission, onError, showDeletedMessage, showSavedMessage
public static final String PERMISSION_VIEW_SCOPE_DEFAULT_CONFIG
public void defaultConfig(WebContext ctx)
ctx
- the current requestpublic void config(WebContext ctx, String name)
ctx
- the current requestname
- the name of the config fileCopyright © 2018. All rights reserved.