| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.AbstractIndexManager
com.jalios.jcms.CategoryIndexManager
public class CategoryIndexManager
| Field Summary | 
|---|
| Fields inherited from class com.jalios.jcms.AbstractIndexManager | 
|---|
channel | 
| Method Summary | |
|---|---|
 boolean | 
addAllContent(Category cat,
              Content content)
Adds the given content to the all content set of the given category.  | 
 boolean | 
addAllPublication(Category cat,
                  Publication pub)
Adds the given publication to the all publication set of the given category.  | 
 boolean | 
addChild(Category cat,
         Category child)
Adds the given child to the given Category.  | 
 boolean | 
addContent(Category cat,
           Content content)
Adds the given content to the content set of the given category.  | 
 boolean | 
addPublication(Category cat,
               Publication pub)
Adds the given publication to the publication set of the given category.  | 
 void | 
clearChildrenSet(Category cat)
Clears the children set associated to the given Category.  | 
 Set<Content> | 
getAllContentSet(Category cat)
Returns the all content set associated to the given category.  | 
 Set<Publication> | 
getAllPublicationSet(Category cat)
Returns the all publication set associated to the given category.  | 
 Set<Category> | 
getChildrenSet(Category cat)
Returns the children set associated to the given Category.  | 
 Set<Content> | 
getContentSet(Category cat)
Returns the content set associated to the given category.  | 
static CategoryIndexManager | 
getInstance()
 | 
 Set<Publication> | 
getPublicationSet(Category cat)
Returns the publication set associated to the given category.  | 
 boolean | 
removeAllContent(Category cat,
                 Content content)
Removes the given content for the given category.  | 
 boolean | 
removeAllPublication(Category cat,
                     Publication pub)
Removes the given publication for the given category.  | 
 boolean | 
removeChild(Category cat,
            Category child)
Removes the given child for the given Category.  | 
 boolean | 
removeContent(Category cat,
              Content content)
Removes the given content for the given category.  | 
 boolean | 
removePublication(Category cat,
                  Publication pub)
Removes the given publication for the given category.  | 
 void | 
setAllContentSet(Category cat,
                 Set<Content> set)
Set the all content set associated to the given Category.  | 
 void | 
setAllPublicationSet(Category cat,
                     Set<Publication> set)
Set the all publication set associated to the given Category.  | 
 void | 
setChildrenSet(Category cat,
               Set<Category> set)
Set the children set associated to the given Category.  | 
| Methods inherited from class com.jalios.jcms.AbstractIndexManager | 
|---|
addIndexWithSet, clearIndex, getIndexWithMap, getIndexWithMap, getIndexWithSet, isUndefinedIndexWithSet, putIndexWithMap, removeIndexWithMap, removeIndexWithSet, setIndexWithSet | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static CategoryIndexManager getInstance()
public Set<Category> getChildrenSet(Category cat)
cat - the Category
public void setChildrenSet(Category cat,
                           Set<Category> set)
set - the setpublic void clearChildrenSet(Category cat)
cat - the Category
public boolean addChild(Category cat,
                        Category child)
cat - Category with which this child must be added.child - the child category
public boolean removeChild(Category cat,
                           Category child)
cat - Category with which this content must be removed.child - child category to be removed from this set, if present.
public Set<Publication> getPublicationSet(Category cat)
cat - the category
public boolean addPublication(Category cat,
                              Publication pub)
cat - category with which this publication must be added.pub - publication to be added to this set.
public boolean removePublication(Category cat,
                                 Publication pub)
cat - category with which this publication must be removed.pub - publication to be removed from this set, if present.
public Set<Publication> getAllPublicationSet(Category cat)
cat - the category
public void setAllPublicationSet(Category cat,
                                 Set<Publication> set)
set - the set
public boolean addAllPublication(Category cat,
                                 Publication pub)
cat - category with which this publication must be added.pub - publication to be added to this set.
public boolean removeAllPublication(Category cat,
                                    Publication pub)
cat - category with which this publication must be removed.pub - publication to be removed from this set, if present.
public Set<Content> getContentSet(Category cat)
cat - the category
public boolean addContent(Category cat,
                          Content content)
cat - ember with which this content must be added.content - content to be added to this set.
public boolean removeContent(Category cat,
                             Content content)
cat - category with which this content must be removed.content - content to be removed from this set, if present.
public Set<Content> getAllContentSet(Category cat)
cat - the category
public void setAllContentSet(Category cat,
                             Set<Content> set)
set - the set
public boolean addAllContent(Category cat,
                             Content content)
cat - ember with which this content must be added.content - content to be added to this set.
public boolean removeAllContent(Category cat,
                                Content content)
cat - category with which this content must be removed.content - content to be removed from this set, if present.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||