@Path(value="/ssh")
public interface ISSHKey
| Modifier and Type | Field and Description |
|---|---|
static String |
ADD_KEY_ACTION |
static String |
ADD_TEMPLATE_ACTION |
static String |
DELETE_KEY_ACTION |
static String |
EDIT_KEY_ACTION |
static String |
REMOVE_TEMPLATE_ACTION |
static String |
ROOT
the root
|
static String |
SAVE_KEY_ACTION |
| Modifier and Type | Method and Description |
|---|---|
AjaxAnswer |
addKey(String template,
String[] keys) |
RenderedView |
addKeyView(String template) |
AjaxAnswer |
addTemplate(String owner,
String[] templates) |
RenderedView |
addTemplateView(String owner) |
RenderedView |
addView() |
AjaxAnswer |
delete(String owner) |
AjaxAnswer |
deleteTemplate(String owner,
String tname) |
RenderedView |
deleteTemplateView(String owner,
String tname) |
RenderedView |
deleteView(String owner) |
RenderedView |
editView(String owner) |
AjaxAnswer |
save(String oldOwner,
String owner,
String key,
String[] templates) |
RenderedView |
view(String viewtype) |
static final String ROOT
static final String ADD_TEMPLATE_ACTION
static final String ADD_KEY_ACTION
static final String REMOVE_TEMPLATE_ACTION
static final String DELETE_KEY_ACTION
static final String SAVE_KEY_ACTION
static final String EDIT_KEY_ACTION
@Path(value="/") RenderedView view(String viewtype)
viewtype - the viewtype@Path(value="/add") RenderedView addView()
@Path(value="/{name}/template/add")
RenderedView addTemplateView(String owner)
owner - the owner@Path(value="/{template}/key/add")
RenderedView addKeyView(String template)
template - the template name@Path(value="/{name}/template/{template}/delete")
RenderedView deleteTemplateView(String owner,
String tname)
owner - the ownertname - the template name@Path(value="/{name}/delete")
RenderedView deleteView(String owner)
owner - the owner@Path(value="/{name}/edit")
RenderedView editView(String owner)
owner - the owner@Path(value="/{name}/save")
AjaxAnswer save(String oldOwner,
String owner,
String key,
String[] templates)
throws FormErrorException
oldOwner - the old owner nameowner - the new owner namekey - the ssh keytemplates - associated tempalte namesFormErrorException - one form errors@Path(value="/{name}/template/add")
AjaxAnswer addTemplate(String owner,
String[] templates)
owner - the ownertemplates - the template names@Path(value="/{template}/key/add")
AjaxAnswer addKey(String template,
String[] keys)
template - the template namekeys - the keys@Path(value="/{name}/template/{template}/delete")
AjaxAnswer deleteTemplate(String owner,
String tname)
owner - the ownertname - the template name@Path(value="/{name}/delete")
AjaxAnswer delete(String owner)
owner - the ownerCopyright © 2014 Cinovo AG. All Rights Reserved.