|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.index.reader.DocReader
org.dlese.dpc.index.reader.FileIndexingServiceDocReader
org.dlese.dpc.index.reader.XMLDocReader
org.dlese.dpc.index.reader.NewsOppsDocReader
public class NewsOppsDocReader
A bean for accessing the data stored in a Lucene Document that was
indexed from a DLESE news and opportunities metadata record. The index writer that is responsible for
creating this type of Lucene Document is a NewsOppsFileIndexingWriter.
NewsOppsFileIndexingWriter,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.dlese.dpc.index.reader.XMLDocReader |
|---|
XMLDocReader.VocabUiLabelsCollection |
| Field Summary |
|---|
| Fields inherited from class org.dlese.dpc.index.reader.XMLDocReader |
|---|
metadataVocab, recordDataService, repositoryManager |
| Fields inherited from class org.dlese.dpc.index.reader.DocReader |
|---|
conf, doc, resultDoc, score |
| Constructor Summary | |
|---|---|
NewsOppsDocReader()
Constructor for the NewsOppsDocReader object |
|
NewsOppsDocReader(org.apache.lucene.document.Document doc,
SimpleLuceneIndex index)
Constructor that may be used programatically to wrap a reader around a Lucene Document created by a DleseCollectionFileIndexingWriter. |
|
| Method Summary | |
|---|---|
String[] |
getAnnouncements()
Gets the announcements attribute of the NewsOppsDocReader object |
String |
getAnnouncementUrl()
Gets the announcement Url. |
Date |
getApplyByDate()
Gets the applyByDate attribute of the NewsOppsDocReader object |
Date |
getArchiveDate()
Gets the archiveDate attribute of the NewsOppsDocReader object |
String[] |
getAudiences()
Gets the audiences attribute of the NewsOppsDocReader object |
String[] |
getCityStates()
Gets an array of city state strings for display. |
String |
getDescription()
Gets the description of the new-opps item. |
String[] |
getDiversities()
Gets the diversities attribute of the NewsOppsDocReader object |
Date |
getDueDate()
Gets the dueDate attribute of the NewsOppsDocReader object |
Date |
getEventStartDate()
Gets the eventStartDate attribute of the NewsOppsDocReader object |
Date |
getEventStopDate()
Gets the eventStopDate attribute of the NewsOppsDocReader object |
String[] |
getKeywords()
Gets the keywords attribute of the NewsOppsDocReader object |
String[] |
getLocations()
Gets the locations, which are two character state or country codes, for example 'CO'. |
Date |
getPostDate()
Gets the postDate attribute of the NewsOppsDocReader object |
String |
getReaderType()
Gets the String 'NewsOppsDocReader,' which is the key that describes this reader type. |
Date |
getRecordCreationtDate()
Gets the recordCreationtDate attribute of the NewsOppsDocReader object |
String[] |
getSponsors()
Gets the sponsors attribute of the NewsOppsDocReader object |
String |
getTitle()
Gets the title of the new-opps item. |
String[] |
getTopics()
Gets the topics attribute of the NewsOppsDocReader object |
String |
getUrl()
The primary URL, which for news opps is the same as getAnnouncementUrl(). |
| Methods inherited from class org.dlese.dpc.index.reader.FileIndexingServiceDocReader |
|---|
fileExists, getDateFileWasIndexed, getDateFileWasIndexedString, getDateStamp, getDeleted, getDocDir, getDocsourceEncoded, getDoctype, getFile, getFileExists, getFileName, getFullContent, getFullContentEncodedAs, getLastModified, getLastModifiedAsUTC, getLastModifiedString, isDeleted, setDebug |
| Methods inherited from class org.dlese.dpc.index.reader.DocReader |
|---|
doInit, getAttribute, getDocMap, getDocument, getIndex, getLazyDocMap, getQuery, getRepositoryManager, getScore, setDoc |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NewsOppsDocReader()
public NewsOppsDocReader(org.apache.lucene.document.Document doc,
SimpleLuceneIndex index)
Document created by a DleseCollectionFileIndexingWriter.
doc - A Lucene Document created by a DleseCollectionFileIndexingWriter.index - The index being used| Method Detail |
|---|
public String getReaderType()
getReaderType in class XMLDocReaderpublic String getTitle()
getTitle in class XMLDocReaderpublic String getDescription()
getDescription in class XMLDocReaderpublic String getAnnouncementUrl()
getUrl().
public String getUrl()
getAnnouncementUrl().
getUrl in class XMLDocReadergetAnnouncementUrl()public String[] getAnnouncements()
public String[] getTopics()
public String[] getKeywords()
public String[] getAudiences()
public String[] getDiversities()
public String[] getLocations()
public String[] getCityStates()
public String[] getSponsors()
public Date getEventStartDate()
public Date getEventStopDate()
public Date getArchiveDate()
public Date getPostDate()
public Date getRecordCreationtDate()
public Date getDueDate()
public Date getApplyByDate()
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||