com.facetmap
Class CompoundHeadingFacet.Util

java.lang.Object
  extended by com.facetmap.CompoundHeadingFacet.Util
Enclosing interface:
CompoundHeadingFacet

public static class CompoundHeadingFacet.Util
extends java.lang.Object


Constructor Summary
CompoundHeadingFacet.Util()
           
 
Method Summary
static CompoundHeading getCompoundHeadingFromIds(CompoundHeadingFacet facet, java.util.Collection headingIds)
           
static java.util.List getSelectedTagIds(CompoundHeading heading)
           
static CompoundHeading union(CompoundHeadingFacet facet, CompoundHeading first, CompoundHeading second)
          Return the CompoundHeading that contains all the headings in each of the two input CompoundHeadings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundHeadingFacet.Util

public CompoundHeadingFacet.Util()
Method Detail

getCompoundHeadingFromIds

public static CompoundHeading getCompoundHeadingFromIds(CompoundHeadingFacet facet,
                                                        java.util.Collection headingIds)
                                                 throws UnknownReferenceException
Throws:
UnknownReferenceException

getSelectedTagIds

public static java.util.List getSelectedTagIds(CompoundHeading heading)
Parameters:
heading - a TagGroupHeading containing some selected tags
Returns:
a List of String IDs of those tags, in the same order

union

public static CompoundHeading union(CompoundHeadingFacet facet,
                                    CompoundHeading first,
                                    CompoundHeading second)
Return the CompoundHeading that contains all the headings in each of the two input CompoundHeadings. Order of the headings is maintained.