public class NewsOppsDocReader extends XMLDocReader
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 FormXMLDocReader.VocabUiLabelsCollection
metadataVocab, recordDataService, repositoryManager
Constructor and Description |
---|
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 . |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAnnouncements()
Gets the announcements attribute of the NewsOppsDocReader object
|
java.lang.String |
getAnnouncementUrl()
Gets the announcement Url.
|
java.util.Date |
getApplyByDate()
Gets the applyByDate attribute of the NewsOppsDocReader object
|
java.util.Date |
getArchiveDate()
Gets the archiveDate attribute of the NewsOppsDocReader object
|
java.lang.String[] |
getAudiences()
Gets the audiences attribute of the NewsOppsDocReader object
|
java.lang.String[] |
getCityStates()
Gets an array of city state strings for display.
|
java.lang.String |
getDescription()
Gets the description of the new-opps item.
|
java.lang.String[] |
getDiversities()
Gets the diversities attribute of the NewsOppsDocReader object
|
java.util.Date |
getDueDate()
Gets the dueDate attribute of the NewsOppsDocReader object
|
java.util.Date |
getEventStartDate()
Gets the eventStartDate attribute of the NewsOppsDocReader object
|
java.util.Date |
getEventStopDate()
Gets the eventStopDate attribute of the NewsOppsDocReader object
|
java.lang.String[] |
getKeywords()
Gets the keywords attribute of the NewsOppsDocReader object
|
java.lang.String[] |
getLocations()
Gets the locations, which are two character state or country codes, for example 'CO'.
|
java.util.Date |
getPostDate()
Gets the postDate attribute of the NewsOppsDocReader object
|
java.lang.String |
getReaderType()
Gets the String 'NewsOppsDocReader,' which is the key that describes this reader type.
|
java.util.Date |
getRecordCreationtDate()
Gets the recordCreationtDate attribute of the NewsOppsDocReader object
|
java.lang.String[] |
getSponsors()
Gets the sponsors attribute of the NewsOppsDocReader object
|
java.lang.String |
getTitle()
Gets the title of the new-opps item.
|
java.lang.String[] |
getTopics()
Gets the topics attribute of the NewsOppsDocReader object
|
java.lang.String |
getUrl()
The primary URL, which for news opps is the same as
getAnnouncementUrl() . |
getAllIds, getAnnoCollectionKeys, getAnnoFormats, getAnnoPathways, getAnnoRatings, getAnnoStatus, getAnnotationResultDocs, getAnnoTypes, getAssignedByIdRelatedRecordsMap, getAssignedByUrlRelatedRecordsMap, getAssignedRelatedIdsOfType, getAssignedRelatedUrlsOfType, getAssignedRelationshipByIdTypes, getAssignedRelationshipByUrlTypes, getAssignedRelationshipsForItemsMap, getAssociatedIds, getAudioAnnosInProgress, getAvailableFormats, getAverageAnnoRating, getAverageAnnoRatingFloat, getCanDissiminateFormat, getCollection, getCollectionKey, getCollectionKeys, getCollectionLabel, getCollections, getCompletedAdvice, getCompletedAnnoCollectionKeys, getCompletedAnnos, getCompletedAnnosOfType, getCompletedAnnotation, getCompletedAverageScores, getCompletedBias, getCompletedChallengingSituations, getCompletedChange, getCompletedComment, getCompletedEditorSummaries, getCompletedEducationalStandard, getCompletedExample, getCompletedExplanation, getCompletedQuestion, getCompletedReviews, getCompletedSeeAlso, getCompletedTeachingTips, getDocsource, getFieldId, getGraphicalAnnosInProgress, getHasAssignedRelations, getHasCompletedAnno, getHasInProgressAnno, getHasRelations, getId, getIdEncoded, getIdsOfRecordsWithAssignedRelationships, getIndexedContent, getInProgressAnnosOfFormat, getIsMyCollectionDisabled, getIsMyCollectionEnabled, getMetadataPrefix, getMetadataVocab, getMetadataVocabAudience, getMetadataVocabLanguage, getMultiDoc, getMyCollectionDoc, getMyCollectionsRecordId, getNativeFormat, getNsdlDublinCoreXml, getNumAnnoRatings, getNumAnnoRatingsInt, getNumAudioAnnosInProgress, getNumCompletedAnnos, getNumGraphicalAnnosInProgress, getNumInProgressAnnos, getNumTextAnnosInProgress, getNumVideoAnnosInProgress, getOaiDatestamp, getOaiDublinCoreXml, getOaiLastModifiedString, getOaiSets, getRelatedIdsOfType, getRelatedRecordsMap, getRelationshipTypes, getRequestedXml, getRequestedXmlFormat, getSet, getSets, getSetString, getTextAnnosInProgress, getUiLabelFromVocabId, getUiLabelFromVocabName, getUiLabelsFromVocabIds, getValidationReport, getValueId, getVideoAnnosInProgress, getW3CXmlDoc, getWhatsNewDate, getWhatsNewDateDate, getWhatsNewType, getXml, getXmlDoc, getXmlFormat, getXmlLocalized, getXmlStripped, hasAnnotations, hasCompletedAnno, hasCompletedAnnoOfType, hasInProgressAnno, hasInProgressAnnoOfFormat, init, isValid, prtln, prtlnErr, setMetadataVocabAudience, setMetadataVocabLanguage, setRequestedXmlFormat
fileExists, getDateFileWasIndexed, getDateFileWasIndexedString, getDateStamp, getDeleted, getDocDir, getDocsourceEncoded, getDoctype, getFile, getFileExists, getFileName, getFullContent, getFullContentEncodedAs, getLastModified, getLastModifiedAsUTC, getLastModifiedString, isDeleted, setDebug
doInit, getAttribute, getDocMap, getDocument, getIndex, getLazyDocMap, getQuery, getRepositoryManager, getScore, setDoc
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 usedpublic java.lang.String getReaderType()
getReaderType
in class XMLDocReader
public java.lang.String getTitle()
getTitle
in class XMLDocReader
public java.lang.String getDescription()
getDescription
in class XMLDocReader
public java.lang.String getAnnouncementUrl()
getUrl()
.public java.lang.String getUrl()
getAnnouncementUrl()
.getUrl
in class XMLDocReader
getAnnouncementUrl()
public java.lang.String[] getAnnouncements()
public java.lang.String[] getTopics()
public java.lang.String[] getKeywords()
public java.lang.String[] getAudiences()
public java.lang.String[] getDiversities()
public java.lang.String[] getLocations()
public java.lang.String[] getCityStates()
public java.lang.String[] getSponsors()
public java.util.Date getEventStartDate()
public java.util.Date getEventStopDate()
public java.util.Date getArchiveDate()
public java.util.Date getPostDate()
public java.util.Date getRecordCreationtDate()
public java.util.Date getDueDate()
public java.util.Date getApplyByDate()