Class ThumbnailImageURL
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.searchindex.documentBuilding.ThumbnailImageURL
-
- All Implemented Interfaces:
DocumentModifier,ContextModelsUser
public class ThumbnailImageURL extends Object implements DocumentModifier, ContextModelsUser
-
-
Constructor Summary
Constructors Constructor Description ThumbnailImageURL()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddThumbnailExistence(Individual ind, SearchInputDocument doc)Adds if the individual has a thumbnail image or not.voidmodifyDocument(Individual individual, SearchInputDocument doc)Use the rules contained within this class to modify this search document, according to the characteristics of this individual.protected StringrunQueryForThumbnailLocation(Individual individual)voidsetContextModels(ContextModelAccess models)voidshutdown()Called to inform the DocumentModifier that the system is shutting down.StringtoString()
-
-
-
Method Detail
-
setContextModels
public void setContextModels(ContextModelAccess models)
- Specified by:
setContextModelsin interfaceContextModelsUser
-
modifyDocument
public void modifyDocument(Individual individual, SearchInputDocument doc)
Description copied from interface:DocumentModifierUse the rules contained within this class to modify this search document, according to the characteristics of this individual.- Specified by:
modifyDocumentin interfaceDocumentModifier- Parameters:
individual- The individual that is being indexed. Will not be null.doc- The document as it stands so far. Will not be null.
-
addThumbnailExistence
protected void addThumbnailExistence(Individual ind, SearchInputDocument doc)
Adds if the individual has a thumbnail image or not.
-
runQueryForThumbnailLocation
protected String runQueryForThumbnailLocation(Individual individual)
-
shutdown
public void shutdown()
Description copied from interface:DocumentModifierCalled to inform the DocumentModifier that the system is shutting down.- Specified by:
shutdownin interfaceDocumentModifier
-
-