Package org.ctan.site.domain.site
Class GuestBook
java.lang.Object
org.ctan.site.domain.AbstractEntity
org.ctan.site.domain.site.GuestBook
- All Implemented Interfaces:
Searchable
This domain class represents an entry in the guest book.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe methodgetIndexTypeprovides means to name the indexType.The methodindexPathprovides means to retrieve the URL under which the entity is indexed.toMap()The methodtoMapprovides means to get the instance as an immutable Map.toString()toUrl()This methodtoUrlreturns the URL for the search index.voidupdateIndex(IndexingSession session, String locale) The methodupdateIndexprovides means to update the entity in the search index.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ctan.site.services.search.base.Searchable
getId
-
Constructor Details
-
GuestBook
public GuestBook()
-
-
Method Details
-
getIndexType
The methodgetIndexTypeprovides means to name the indexType.- Returns:
- the index type
-
indexPath
The methodindexPathprovides means to retrieve the URL under which the entity is indexed.- Specified by:
indexPathin interfaceSearchable- Returns:
- the URL
- See Also:
-
toMap
The methodtoMapprovides means to get the instance as an immutable Map.- Returns:
- the Map
-
toString
-
toUrl
This methodtoUrlreturns the URL for the search index.- Returns:
- the URL
-
updateIndex
public void updateIndex(IndexingSession session, String locale) throws org.apache.lucene.index.CorruptIndexException, IOException The methodupdateIndexprovides means to update the entity in the search index.- Specified by:
updateIndexin interfaceSearchable- Parameters:
session- the sessionlocale- the two-letter locale name- Throws:
org.apache.lucene.index.CorruptIndexException- in case of an errorIOException- in case of an I/O error- See Also:
-