|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.index.reader.DocReader org.dlese.dpc.index.reader.FileIndexingServiceDocReader org.dlese.dpc.index.reader.XMLDocReader org.dlese.dpc.index.reader.DleseCollectionDocReader
public class DleseCollectionDocReader
A bean for accessing the data stored in a Lucene Document
that was
indexed from a DLESE collection-level metadata record. The index writer that is responsible for creating
this type of Lucene Document
is a DleseCollectionFileIndexingWriter
.
DleseCollectionFileIndexingWriter
,
Serialized FormNested Class Summary | |
---|---|
static interface |
DleseCollectionDocReader.Contributor
A bean that holds information about a DLESE contributor. |
class |
DleseCollectionDocReader.OrganizationContributor
A bean that holds information about a DLESE contributor that is an organization. |
class |
DleseCollectionDocReader.PersonContributor
A bean that holds information about a DLESE contributor that is a person. |
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 | |
---|---|
DleseCollectionDocReader()
Constructor for the DleseCollectionDocReader object |
|
DleseCollectionDocReader(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 | |
---|---|
Date |
getAccessionDateDate()
Gets the accession date of this collection, or null if this collection is currently not accessioned. |
String |
getAccessionStatus()
Gets the most recent accession status of the collection. |
String |
getAdditionalMetadata()
Gets the additional metadata for this collection that was indicated in org.dlese.dpc.repository.RepositoryManager.putRecord when the collection was created, or null. |
String |
getCollectionsString()
Gets the collection this record is part of, as a string. |
String |
getCollectionUrl()
Gets the collection URL or empty String if none is supplied. |
DleseCollectionDocReader.Contributor |
getContact()
Gets the contact contributor bean with that contains methods for accessing contributor information (Not implemented). |
String |
getCost()
Gets the collection's cost. |
String |
getDescription()
Gets the description of the collection. |
String |
getFormatOfRecords()
Gets the format of the records in this collection, for example 'adn'. |
String |
getFullTitle()
Gets the full title of the collection from the XML record. |
String[] |
getGradeRanges()
Gets the GradeRanges associated with this collection, encoded by the vocab manager if it's available. |
boolean |
getIsEnabled()
Determines whether this collection is currently enabled for viewing. |
String |
getKey()
Gets the collection key used to identify the items in the collection this record refers to. |
String[] |
getKeywords()
Gets the keywords as an array of Strings. |
String |
getKeywordsDisplay()
Gets the keywords a comma separated list terminated with a period suitable for display to users. |
String |
getLocationOfFiles()
Gets the location of the files for this collection on the server. |
String |
getNumFiles()
Gets the number of files for this collection. |
String |
getNumIndexed()
Gets the number of items indexed for this collection. |
String |
getNumIndexingErrors()
Gets the number of indexing errors that were found for this collection. |
String |
getPartOfDRC()
Gets part of DRC status [true or false]. |
String |
getReaderType()
Gets the String 'DleseCollectionDocReader,' which is the key that describes this reader type. |
DleseCollectionDocReader.Contributor |
getResponsibleParty()
Gets the responsibleParty contributor bean with that contains methods for accessing contributor information. |
String |
getReviewProcess()
Gets the collection's review process statement. |
String |
getReviewProcessUrl()
Gets the URL to the collection's review process statement. |
String |
getScopeUrl()
Gets the url to the collection's scope statement. |
String |
getShortTitle()
Gets the short title of the collection directly from the XML record. |
String[] |
getSubjects()
Gets the subjects associated with this collection, encoded by the vocab manager if it's available. |
String |
getTitle()
Gets the title of the collection, for example 'DLESE Community Collection (DCC)', as indicated by the the vocab manager. |
boolean |
isPartOfDRC()
Gets part of DRC status [true or false]. |
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 DleseCollectionDocReader()
public DleseCollectionDocReader(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 usedMethod Detail |
---|
public String getReaderType()
getReaderType
in class XMLDocReader
public String getAdditionalMetadata()
org.dlese.dpc.repository.RepositoryManager.putRecord
when the collection was created, or null.
public boolean getIsEnabled()
public String getTitle()
getShortTitle()
.
getTitle
in class XMLDocReader
public String getFullTitle()
public String getShortTitle()
public String getDescription()
getDescription
in class XMLDocReader
public String getFormatOfRecords()
public String getKey()
public String getAccessionStatus()
public Date getAccessionDateDate()
public String getPartOfDRC()
public boolean isPartOfDRC()
public String getCollectionUrl()
public String getScopeUrl()
public String getReviewProcessUrl()
public String getReviewProcess()
public String getCost()
public String getCollectionsString()
public String[] getGradeRanges()
public String[] getSubjects()
public String[] getKeywords()
public String getKeywordsDisplay()
public String getLocationOfFiles()
public String getNumFiles()
public String getNumIndexed()
public String getNumIndexingErrors()
public DleseCollectionDocReader.Contributor getContact()
public DleseCollectionDocReader.Contributor getResponsibleParty()
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |