public class FileTagsImpl extends AWebPage implements IFileTags
| Modifier and Type | Field and Description |
|---|---|
protected IFileDAO |
dFiles |
protected IFileTagsDAO |
dTags |
dServerOptions, mc, navRegistryADD_TAG, DELETE_TAG, ROOT, TAGED_FILE| Constructor and Description |
|---|
FileTagsImpl() |
| Modifier and Type | Method and Description |
|---|---|
AjaxAnswer |
deleteTag(Long fileid,
Long tagid) |
RenderedView |
deleteTagView(Long fileid,
Long tagid) |
protected String |
getNavElementName() |
protected String |
getTemplateFolder() |
protected void |
init() |
RenderedView |
newTagView(Long fileid) |
AjaxAnswer |
saveNewTag(Long fileid,
String name,
String type) |
AjaxAnswer |
saveTaggedFile(Long fileid,
Long[] tags) |
RenderedView |
viewFilesTags(Long fileid) |
addBreadCrumb, addFilter, addSidebarElement, addSidebarElement, addSidebarElements, addTopAction, addViewType, assertNotEmpty, auditFormat, checkForEmpty, clearFilter, clearViewType, createError, createModal, createView, createView, getCurrentFilter, getCurrentViewType, getSidebarType, hasError, pollError, removeSidebarElement, setMessageContext, sortMap, sortNamedList@Autowired protected IFileDAO dFiles
@Autowired protected IFileTagsDAO dTags
protected String getTemplateFolder()
getTemplateFolder in class AWebPageprotected String getNavElementName()
getNavElementName in class AWebPage@Transactional public RenderedView viewFilesTags(Long fileid)
viewFilesTags in interface IFileTagsfileid - the file id@Transactional public RenderedView newTagView(Long fileid)
newTagView in interface IFileTagsfileid - the file id@Transactional public RenderedView deleteTagView(Long fileid, Long tagid)
deleteTagView in interface IFileTagsfileid - the file idtagid - the tag id@Transactional public AjaxAnswer saveTaggedFile(Long fileid, Long[] tags) throws FormErrorException
saveTaggedFile in interface IFileTagsfileid - the file idtags - the tagsFormErrorException - on form errors@Transactional public AjaxAnswer saveNewTag(Long fileid, String name, String type) throws FormErrorException
saveNewTag in interface IFileTagsfileid - the file idname - the tag nametype - the tag typeFormErrorException - on form errors@Transactional public AjaxAnswer deleteTag(Long fileid, Long tagid) throws FormErrorException
deleteTag in interface IFileTagsfileid - the file idtagid - the tag idFormErrorException - on form errorsCopyright © 2014 Cinovo AG. All Rights Reserved.