com.solidstategroup.cms
Class Tags

java.lang.Object
  extended by com.solidstategroup.cms.Tags

public class Tags
extends java.lang.Object


Constructor Summary
Tags()
           
 
Method Summary
static java.util.Vector getAllChildren(int thisRootTagId)
           
static java.util.Vector getAllChildren(int thisRootTagId, javax.swing.tree.DefaultTreeModel tree)
           
static java.util.Vector getAllDescendants(int rootTagId)
           
static java.util.Vector getAllDescendants(int rootTagId, javax.swing.tree.DefaultTreeModel tree)
           
static java.util.Vector getAllSiblings(int thisRootTagId)
           
static java.util.Vector getAllSiblings(int thisRootTagId, javax.swing.tree.DefaultTreeModel tree)
           
static java.util.Vector getAllSiblings(java.lang.String articleGroup)
           
static java.util.Vector getAllSiblings(java.lang.String tag, javax.swing.tree.DefaultTreeModel tree)
           
static java.util.Vector getAllTags(javax.swing.tree.DefaultTreeModel tree)
           
static Tag getParentTag(int childTagId)
           
static Tag getParentTag(int childTagId, javax.swing.tree.DefaultTreeModel tree)
           
static Tag getParentTag(java.lang.String tagDescription)
           
static Tag getParentTag(java.lang.String tagDescription, javax.swing.tree.DefaultTreeModel tree)
           
static java.util.Vector getPathToRoot(int tagId)
           
static java.util.Vector getPathToRoot(int tagId, javax.swing.tree.DefaultTreeModel tree)
           
static javax.swing.tree.DefaultTreeModel getPreviewTags()
           
static Tag getTag(int rootTagId)
           
static Tag getTag(int rootTagId, javax.swing.tree.DefaultTreeModel tree)
           
static Tag getTag(java.lang.String tagDescription)
           
static Tag getTag(java.lang.String tagDescription, javax.swing.tree.DefaultTreeModel tree)
           
static Tag getTagCaseInsensitive(java.lang.String tagDescription)
           
static Tag getTagCaseInsensitive(java.lang.String tagDescription, javax.swing.tree.DefaultTreeModel tree)
           
static javax.swing.tree.DefaultTreeModel getTags()
           
static Tag getTagWithTagId(int tagId)
           
static Tag getTagWithTagId(int tagId, javax.swing.tree.DefaultTreeModel tree)
           
static void populateTags()
           
static void populateTagsPreview()
           
static javax.swing.tree.DefaultMutableTreeNode searchTreeForTag(int thisRootTagId)
           
static javax.swing.tree.DefaultMutableTreeNode searchTreeForTag(int thisRootTagId, javax.swing.tree.DefaultTreeModel tree)
           
static javax.swing.tree.DefaultMutableTreeNode searchTreeForTagWithTagId(int thisTagId)
           
static javax.swing.tree.DefaultMutableTreeNode searchTreeForTagWithTagId(int thisTagId, javax.swing.tree.DefaultTreeModel tree)
           
static void setPreviewTags(javax.swing.tree.DefaultTreeModel previewTags)
           
static void setTags(javax.swing.tree.DefaultTreeModel tags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tags

public Tags()
Method Detail

populateTags

public static void populateTags()

populateTagsPreview

public static void populateTagsPreview()

getTag

public static Tag getTag(int rootTagId)

getTag

public static Tag getTag(int rootTagId,
                         javax.swing.tree.DefaultTreeModel tree)

searchTreeForTag

public static javax.swing.tree.DefaultMutableTreeNode searchTreeForTag(int thisRootTagId)

searchTreeForTag

public static javax.swing.tree.DefaultMutableTreeNode searchTreeForTag(int thisRootTagId,
                                                                       javax.swing.tree.DefaultTreeModel tree)

searchTreeForTagWithTagId

public static javax.swing.tree.DefaultMutableTreeNode searchTreeForTagWithTagId(int thisTagId)

searchTreeForTagWithTagId

public static javax.swing.tree.DefaultMutableTreeNode searchTreeForTagWithTagId(int thisTagId,
                                                                                javax.swing.tree.DefaultTreeModel tree)

getPathToRoot

public static java.util.Vector getPathToRoot(int tagId)

getPathToRoot

public static java.util.Vector getPathToRoot(int tagId,
                                             javax.swing.tree.DefaultTreeModel tree)

getAllChildren

public static java.util.Vector getAllChildren(int thisRootTagId)

getAllChildren

public static java.util.Vector getAllChildren(int thisRootTagId,
                                              javax.swing.tree.DefaultTreeModel tree)

getAllTags

public static java.util.Vector getAllTags(javax.swing.tree.DefaultTreeModel tree)

getAllSiblings

public static java.util.Vector getAllSiblings(int thisRootTagId)

getAllSiblings

public static java.util.Vector getAllSiblings(int thisRootTagId,
                                              javax.swing.tree.DefaultTreeModel tree)

getAllSiblings

public static java.util.Vector getAllSiblings(java.lang.String articleGroup)

getAllSiblings

public static java.util.Vector getAllSiblings(java.lang.String tag,
                                              javax.swing.tree.DefaultTreeModel tree)

getTag

public static Tag getTag(java.lang.String tagDescription)

getTagCaseInsensitive

public static Tag getTagCaseInsensitive(java.lang.String tagDescription)

getTag

public static Tag getTag(java.lang.String tagDescription,
                         javax.swing.tree.DefaultTreeModel tree)

getTagCaseInsensitive

public static Tag getTagCaseInsensitive(java.lang.String tagDescription,
                                        javax.swing.tree.DefaultTreeModel tree)

getAllDescendants

public static java.util.Vector getAllDescendants(int rootTagId)

getAllDescendants

public static java.util.Vector getAllDescendants(int rootTagId,
                                                 javax.swing.tree.DefaultTreeModel tree)

getTagWithTagId

public static Tag getTagWithTagId(int tagId)

getTagWithTagId

public static Tag getTagWithTagId(int tagId,
                                  javax.swing.tree.DefaultTreeModel tree)

getParentTag

public static Tag getParentTag(int childTagId)

getParentTag

public static Tag getParentTag(int childTagId,
                               javax.swing.tree.DefaultTreeModel tree)

getParentTag

public static Tag getParentTag(java.lang.String tagDescription)

getParentTag

public static Tag getParentTag(java.lang.String tagDescription,
                               javax.swing.tree.DefaultTreeModel tree)

getTags

public static javax.swing.tree.DefaultTreeModel getTags()

setTags

public static void setTags(javax.swing.tree.DefaultTreeModel tags)

getPreviewTags

public static javax.swing.tree.DefaultTreeModel getPreviewTags()

setPreviewTags

public static void setPreviewTags(javax.swing.tree.DefaultTreeModel previewTags)