|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.mmapps.modules.lucenesearch.SourceTable
Represents a Table (aka Builder) in MMBase and it's fields and relations
| Constructor Summary | |
SourceTable()
|
|
| Method Summary | |
void |
addField(DataField field)
Add a field from this table |
void |
addRelated(DataRelation relation)
Add a related table |
protected void |
collectAll(org.mmbase.bridge.Cloud cloud,
IndexHelper writer)
Collect all nodes in the table this object represents |
void |
collectOne(org.mmbase.bridge.Node node,
IndexHelper writer)
Collect and index a single MMBase Node |
java.util.Collection |
getAllFields()
|
java.util.List |
getFields()
|
java.lang.String |
getName()
Get's the name of the MMBase builder/table this object represents |
java.util.List |
getRelated()
|
void |
setName(java.lang.String newName)
Set's the name of the MMBase builder/table this object represents |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SourceTable()
| Method Detail |
protected void collectAll(org.mmbase.bridge.Cloud cloud,
IndexHelper writer)
cloud - MMBase cloud to use for indexingwriter - Lucene document writer
public void collectOne(org.mmbase.bridge.Node node,
IndexHelper writer)
node - MMBase node to indexwriter - Lucene writer to use for indexing this nodepublic void setName(java.lang.String newName)
newName - Name of the builder/tablepublic java.lang.String getName()
public void addField(DataField field)
field - Field object representing information about the fieldpublic java.util.List getFields()
public java.util.Collection getAllFields()
public void addRelated(DataRelation relation)
relation - DataRelation object holding the information on the related tablepublic java.util.List getRelated()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||