info.magnolia.module.forum.admin
Class ForumTree

java.lang.Object
  extended by info.magnolia.cms.gui.control.ControlImpl
      extended by info.magnolia.cms.gui.control.Tree
          extended by info.magnolia.module.forum.admin.ForumTree
All Implemented Interfaces:
info.magnolia.cms.gui.control.Control

public class ForumTree
extends info.magnolia.cms.gui.control.Tree

Forum tree for admin view.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Field Summary
 
Fields inherited from class info.magnolia.cms.gui.control.Tree
ACTION_ACTIVATE, ACTION_COPY, ACTION_DEACTIVATE, ACTION_MOVE, DEFAULT_ICON, DEFAULT_ICON_CONTENT, DEFAULT_ICON_CONTENTNODE, DEFAULT_ICON_DELETED, DEFAULT_ICON_NODEDATA, DOCROOT, ICONDOCROOT, ITEM_TYPE_NODEDATA, PASTETYPE_ABOVE, PASTETYPE_BELOW, PASTETYPE_LAST, PASTETYPE_SUB
 
Fields inherited from class info.magnolia.cms.gui.control.ControlImpl
BUTTONSTATE_DISABLED, BUTTONSTATE_MOUSEDOWN, BUTTONSTATE_MOUSEOVER, BUTTONSTATE_NORMAL, BUTTONSTATE_PUSHED, BUTTONTYPE_CHECKBOX, BUTTONTYPE_PUSHBUTTON, BUTTONTYPE_RADIO, CSSCLASS_CONTROLBAR, CSSCLASS_CONTROLBARSMALL, CSSCLASS_CONTROLBUTTON, CSSCLASS_CONTROLBUTTONSMALL, ENCODING_NO, ENCRYPTION_HASH_BCRYPT, ENCRYPTION_HASH_SHA, ENCRYPTION_NO, ENCRYPTION_NO_ENCODING_BASE64, RICHEDIT_FCK, RICHEDIT_KUPU, RICHEDIT_NONE, VALUETYPE_MULTIPLE, VALUETYPE_SINGLE
 
Constructor Summary
ForumTree(String name, String repository)
           
 
Method Summary
protected  String canModerate(info.magnolia.cms.core.Content node)
           
 String getHtmlFooter()
           
 String getRootModerationAllowed()
           
protected  void onGetHtmlOfSingleItem(StringBuffer html, info.magnolia.cms.core.Content parentNode, String itemType, Object item, String idPre)
           
 
Methods inherited from class info.magnolia.cms.gui.control.Tree
addColumn, addFunctionBarItem, addFunctionBarItemFromContextMenu, addIcon, addItemType, addItemType, addItemType, addItemType, addItemType, addMenuItem, addSeparator, collectRenderedItems, createNode, createNode, getColumnResizer, getColumns, getColumns, getDrawShifter, getFunctionBar, getHeight, getHierarchyManager, getHtml, getHtmlBranch, getHtmlChildren, getHtmlChildrenOfOneType, getHtmlHeader, getHtmlOfSingleItem, getIcon, getIcon, getIconContentNode, getIconNodeData, getIconOndblclick, getIconPage, getIndentionWidth, getItemTypes, getJavascriptTree, getMenu, getPaddingLeft, getPath, getPathCurrent, getPathOpen, getPathSelected, getRepository, getRootPath, getShifterCollapse, getShifterEmpty, getShifterExpand, getSnippetMode, getSortComparator, getUniqueLabel, hasSub, isBrowseMode, populateTemplateParameters, saveNodeData, saveNodeDataType, setBrowseMode, setColumnResizer, setColums, setDrawShifter, setFunctionBar, setHeight, setIcon, setIconContentNode, setIconNodeData, setIconOndblclick, setIconPage, setIndentionWidth, setJavascriptTree, setMenu, setPathCurrent, setPathOpen, setPathSelected, setRepository, setRootPath, setShifterCollapse, setShifterEmpty, setShifterExpand, setSnippetMode, setSortComparator, showNode
 
Methods inherited from class info.magnolia.cms.gui.control.ControlImpl
escapeHTML, getCssClass, getCssStyles, getCssStyles, getCssStyles, getEncoding, getEvents, getHtmlCssClass, getHtmlCssStyles, getHtmlEvents, getHtmlId, getHtmlInter, getHtmlInter, getHtmlPost, getHtmlPost, getHtmlPre, getHtmlPre, getHtmlSaveInfo, getId, getIsRichEditValue, getLabel, getName, getNodeCollectionName, getNodeCollectionName, getNodeName, getNodeName, getRequest, getSaveInfo, getType, getValue, getValues, getValueType, getWebsiteNode, println, setCssClass, setCssStyles, setCssStyles, setEncoding, setEvent, setEvent, setEvents, setHtmlInter, setHtmlPost, setHtmlPre, setId, setIsRichEditValue, setLabel, setName, setNodeCollectionName, setNodeName, setPath, setRequest, setSaveInfo, setType, setType, setValue, setValues, setValueType, setWebsiteNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForumTree

public ForumTree(String name,
                 String repository)
Method Detail

getHtmlFooter

public String getHtmlFooter()
Overrides:
getHtmlFooter in class info.magnolia.cms.gui.control.Tree

onGetHtmlOfSingleItem

protected void onGetHtmlOfSingleItem(StringBuffer html,
                                     info.magnolia.cms.core.Content parentNode,
                                     String itemType,
                                     Object item,
                                     String idPre)
Overrides:
onGetHtmlOfSingleItem in class info.magnolia.cms.gui.control.Tree

getRootModerationAllowed

public String getRootModerationAllowed()
                                throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

canModerate

protected String canModerate(info.magnolia.cms.core.Content node)


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.