Package org.dlese.dpc.schemedit.dcs
Class DcsDataDocReader
java.lang.Object
org.dlese.dpc.index.reader.DocReader
org.dlese.dpc.index.reader.FileIndexingServiceDocReader
org.dlese.dpc.index.reader.XMLDocReader
org.dlese.dpc.schemedit.dcs.DcsDataDocReader
- All Implemented Interfaces:
Serializable
Reader to extract DcsData (aka "workflow status") information from a LuceneDoc
created by
DcsDataFileIndexingPlugin.- Author:
- Jonathan Ostwald
- See Also:
-
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 -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for the DcsDataDocReader objectDcsDataDocReader(org.apache.lucene.document.Document doc, SimpleLuceneIndex index) Constructor that may be used programatically to wrap a reader around a LuceneDocumentcreated by aDleseCollectionFileIndexingWriter. -
Method Summary
Modifier and TypeMethodDescriptionGets the isValid attribute of the DcsDataDocReader objectGets the title of the new-opps item.Gets the eventStartDate attribute of the DcsDataDocReader objectGets the String 'DcsDataDocReader,' which is the key that describes this reader type.Gets the status attribute of the DcsDataDocReader objectGets the description of the new-opps item.Methods inherited from class org.dlese.dpc.index.reader.XMLDocReader
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, getDescription, 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, getTitle, getUiLabelFromVocabId, getUiLabelFromVocabName, getUiLabelsFromVocabIds, getUrl, getValidationReport, getValueId, getVideoAnnosInProgress, getW3CXmlDoc, getWhatsNewDate, getWhatsNewDateDate, getWhatsNewType, getXml, getXmlDoc, getXmlFormat, getXmlLocalized, getXmlStripped, hasAnnotations, hasCompletedAnno, hasCompletedAnnoOfType, hasInProgressAnno, hasInProgressAnnoOfFormat, init, isValid, prtln, prtlnErr, setMetadataVocabAudience, setMetadataVocabLanguage, setRequestedXmlFormatMethods 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, setDebugMethods inherited from class org.dlese.dpc.index.reader.DocReader
doInit, getAttribute, getDocMap, getDocument, getIndex, getLazyDocMap, getQuery, getRepositoryManager, getScore, setDoc
-
Constructor Details
-
DcsDataDocReader
public DcsDataDocReader()Constructor for the DcsDataDocReader object -
DcsDataDocReader
Constructor that may be used programatically to wrap a reader around a LuceneDocumentcreated by aDleseCollectionFileIndexingWriter.- Parameters:
doc- A LuceneDocumentcreated by aDleseCollectionFileIndexingWriter.index- The index being used
-
-
Method Details
-
getReaderType
Gets the String 'DcsDataDocReader,' which is the key that describes this reader type. This may be used in (Struts) beans to determine which type of reader is available for a given search result and thus what data is available for display in the UI. The reader type determines which getter methods are available.- Overrides:
getReaderTypein classXMLDocReader- Returns:
- The String 'DcsDataDocReader'.
-
getLastEditor
Gets the title of the new-opps item.- Returns:
- The title
-
hasNdrSyncError
-
getNdrHandle
-
getStatus
Gets the status attribute of the DcsDataDocReader object- Returns:
- The status value
-
getStatusNote
Gets the description of the new-opps item.- Returns:
- The description
-
getIsValid
Gets the isValid attribute of the DcsDataDocReader object- Returns:
- The isValid value
-
getIsFinalStatus
-
getLastTouchDate
Gets the eventStartDate attribute of the DcsDataDocReader object- Returns:
- The eventStartDate value
-
getRecordCreationDate
-
getRecordCreator
-