|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.client.doc.WrappedDocumentsModel
public class WrappedDocumentsModel
Delegates DocumentsModel to a wrapped DocumentsModel but replaced the DocSetID.
Field Summary | |
---|---|
private DocSetID |
id
|
private DocumentsModel |
model
|
Fields inherited from interface anl.aida.client.doc.DocumentsModel |
---|
NO_ID |
Constructor Summary | |
---|---|
WrappedDocumentsModel(DocSetID id,
DocumentsModel model)
|
Method Summary | |
---|---|
DocSets |
createDocumentSets(int setSize)
Creates a DocSets with each set of the specified size. |
java.lang.String |
getDescription()
Gets the description of the documents contained by this model. |
DocSetID |
getID()
Gets the DocumentSetID for this model. |
java.lang.String[] |
getKeywords(java.lang.String docPath)
Gets keywords for the document with the specified path. |
org.apache.lucene.search.Filter |
getSearchFilter()
Gets a lucene filter appropriate for filtering a lucene search. |
void |
setDescription(java.lang.String description)
Sets the description of the documents contained by this model. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private DocumentsModel model
private DocSetID id
Constructor Detail |
---|
public WrappedDocumentsModel(DocSetID id, DocumentsModel model)
Method Detail |
---|
public DocSetID getID()
getID
in interface DocumentsModel
public void setDescription(java.lang.String description)
setDescription
in interface DocumentsModel
description
- the descriptionpublic java.lang.String getDescription()
getDescription
in interface DocumentsModel
public java.lang.String[] getKeywords(java.lang.String docPath)
getKeywords
in interface DocumentsModel
docPath
- the path of the document to get keywords for
public DocSets createDocumentSets(int setSize)
createDocumentSets
in interface DocumentsModel
setSize
- the set size.
public org.apache.lucene.search.Filter getSearchFilter()
getSearchFilter
in interface DocumentsModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |