org.activemath.webapp.view.tools
Class MBaseTool
java.lang.Object
org.activemath.webapp.view.tools.MBaseTool
public class MBaseTool
- extends Object
View tool for accessing ContentManager and MBase.
- Version:
- $$Revision: 1.3 $$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static Category log
MBaseTool
public MBaseTool(Map model)
throws MBaseException
- Throws:
MBaseException
getContentManager
public ContentManager getContentManager()
getCollections
public Collection getCollections()
getItem
public Item getItem(String id)
- Return a content item
- Parameters:
id - of item
- Returns:
- instantiated Item, or
null.
getDependsOn
public Collection getDependsOn(String id)
- Get "depends-on" dependencies for an item.
- Returns:
- collection of DependencyBeans, or
null.
getRelatedTo
public Collection getRelatedTo(String id)
- Get "related-to" dependencies for an item.
- Returns:
- collection of DependencyBeans, or
null.
getSupportsFuzzySearch
public boolean getSupportsFuzzySearch()