@Path(value="/tags")
public interface IFileTags
| Modifier and Type | Field and Description |
|---|---|
static String |
ADD_TAG |
static String |
DELETE_TAG |
static String |
ROOT
the root
|
static String |
TAGED_FILE |
| Modifier and Type | Method and Description |
|---|---|
AjaxAnswer |
deleteTag(Long fileid,
Long tagid) |
RenderedView |
deleteTagView(Long fileid,
Long tagid) |
RenderedView |
newTagView(Long fileid) |
AjaxAnswer |
saveNewTag(Long fileid,
String name,
String type) |
AjaxAnswer |
saveTaggedFile(Long fileid,
Long[] tags) |
RenderedView |
viewFilesTags(Long fileid) |
static final String ROOT
static final String DELETE_TAG
static final String ADD_TAG
static final String TAGED_FILE
@Path(value="/{id}")
RenderedView viewFilesTags(Long fileid)
fileid - the file id@Path(value="/{id}/new")
RenderedView newTagView(Long fileid)
fileid - the file id@Path(value="/{id}/{tagid}/delete")
RenderedView deleteTagView(Long fileid,
Long tagid)
fileid - the file idtagid - the tag id@Path(value="/{id}")
AjaxAnswer saveTaggedFile(Long fileid,
Long[] tags)
throws FormErrorException
fileid - the file idtags - the tagsFormErrorException - on form errors@Path(value="/{id}/new")
AjaxAnswer saveNewTag(Long fileid,
String name,
String type)
throws FormErrorException
fileid - the file idname - the tag nametype - the tag typeFormErrorException - on form errors@Path(value="/{id}/{tagid}/delete")
AjaxAnswer deleteTag(Long fileid,
Long tagid)
throws FormErrorException
fileid - the file idtagid - the tag idFormErrorException - on form errorsCopyright © 2014 Cinovo AG. All Rights Reserved.