Class DcsDataDocReader

All Implemented Interfaces:
Serializable

public class DcsDataDocReader extends XMLDocReader
Reader to extract DcsData (aka "workflow status") information from a LuceneDoc created by DcsDataFileIndexingPlugin.
Author:
Jonathan Ostwald
See Also:
  • Constructor Details

    • DcsDataDocReader

      public DcsDataDocReader()
      Constructor for the DcsDataDocReader object
    • DcsDataDocReader

      public DcsDataDocReader(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.
      Parameters:
      doc - A Lucene Document created by a DleseCollectionFileIndexingWriter.
      index - The index being used
  • Method Details

    • getReaderType

      public String 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:
      getReaderType in class XMLDocReader
      Returns:
      The String 'DcsDataDocReader'.
    • getLastEditor

      public String getLastEditor()
      Gets the title of the new-opps item.
      Returns:
      The title
    • hasNdrSyncError

      public String hasNdrSyncError()
    • getNdrHandle

      public String getNdrHandle()
    • getStatus

      public String getStatus()
      Gets the status attribute of the DcsDataDocReader object
      Returns:
      The status value
    • getStatusNote

      public String getStatusNote()
      Gets the description of the new-opps item.
      Returns:
      The description
    • getIsValid

      public String getIsValid()
      Gets the isValid attribute of the DcsDataDocReader object
      Returns:
      The isValid value
    • getIsFinalStatus

      public String getIsFinalStatus()
    • getLastTouchDate

      public Date getLastTouchDate()
      Gets the eventStartDate attribute of the DcsDataDocReader object
      Returns:
      The eventStartDate value
    • getRecordCreationDate

      public Date getRecordCreationDate()
    • getRecordCreator

      public String getRecordCreator()