@Path(value="/config")
public interface IConfig
| Modifier and Type | Field and Description |
|---|---|
static String |
ADD_KV_SERVICE |
static String |
ADD_KV_TEMPLATE |
static String |
BATCH_ACTION
batch mode
|
static String |
DELETE_KV_PAIR |
static String |
DELETE_SERVICE |
static String |
DELETE_TEMPLATE |
static String |
EDIT_KV_PAIR |
static String |
RESERVED_GLOBAL
GLOBAL
|
static String |
ROOT
the root
|
static String |
SAVE_KV_PAIR |
| Modifier and Type | Method and Description |
|---|---|
RenderedView |
addConfigView() |
RenderedView |
addConfigView(String template) |
RenderedView |
addConfigView(String template,
String service) |
AjaxAnswer |
batchMod(String batch) |
RenderedView |
batchModView() |
AjaxAnswer |
deleteConfig(String id) |
RenderedView |
deleteConfigView(String id) |
AjaxAnswer |
deleteService(String template,
String service) |
RenderedView |
deleteServiceView(String template,
String service) |
AjaxAnswer |
deleteTemplate(String template) |
RenderedView |
deleteTemplateView(String template) |
RenderedView |
editConfigView(String id) |
AjaxAnswer |
save(String oldId,
String template,
String service,
String key,
String value) |
RenderedView |
view(String viewtype) |
static final String ROOT
static final String RESERVED_GLOBAL
static final String EDIT_KV_PAIR
static final String DELETE_KV_PAIR
static final String DELETE_SERVICE
static final String DELETE_TEMPLATE
static final String ADD_KV_TEMPLATE
static final String ADD_KV_SERVICE
static final String SAVE_KV_PAIR
static final String BATCH_ACTION
@Path(value="/") RenderedView view(String viewtype)
viewtype - the viewtype@Path(value="/{id}/delete")
RenderedView deleteConfigView(String id)
id - the config id@Path(value="/template/{template}/delete")
RenderedView deleteTemplateView(String template)
template - the template name@Path(value="/template/{template}/service/{service}/delete")
RenderedView deleteServiceView(String template,
String service)
template - the template nameservice - the service name@Path(value="/{id}/edit")
RenderedView editConfigView(String id)
id - the config id@Path(value="/add") RenderedView addConfigView()
@Path(value="/{template}/add")
RenderedView addConfigView(String template)
template - the template name@Path(value="/{template}/{service}/add")
RenderedView addConfigView(String template,
String service)
template - the template nameservice - the service@Path(value="/batchmod") RenderedView batchModView()
@Path(value="/{id}/save")
AjaxAnswer save(String oldId,
String template,
String service,
String key,
String value)
throws FormErrorException
oldId - the id of the old config, may be 0 if a new config is createdtemplate - the template nameservice - the servic namekey - the keyvalue - the valueFormErrorException - on form errors@Path(value="/{id}/delete")
AjaxAnswer deleteConfig(String id)
id - the config id@Path(value="/template/{template}/delete")
AjaxAnswer deleteTemplate(String template)
template - the template name@Path(value="/template/{template}/service/{service}/delete")
AjaxAnswer deleteService(String template,
String service)
template - the template nameservice - the service name@Path(value="/batchmod") AjaxAnswer batchMod(String batch)
batch - the batch stringCopyright © 2014 Cinovo AG. All Rights Reserved.