Package org.ctan.site.domain.catalogue
Class License
java.lang.Object
org.ctan.site.domain.AbstractEntity
org.ctan.site.domain.catalogue.License
- All Implemented Interfaces:
Searchable
The class
License contains additional infos for the licenses.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe methodindexPathprovides means to retrieve the directory containing the index files.toMap()The methodtoMapprovides means to get the instance as an immutable Map.voidupdateIndex(IndexingSession session) 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, toString, wait, wait, waitMethods inherited from interface org.ctan.site.services.search.base.Searchable
getId
-
Constructor Details
-
License
public License()
-
-
Method Details
-
indexPath
The methodindexPathprovides means to retrieve the directory containing the index files.- Specified by:
indexPathin interfaceSearchable- Returns:
- the index directory
- See Also:
-
toMap
The methodtoMapprovides means to get the instance as an immutable Map.- Returns:
- the Map
-
updateIndex
public void updateIndex(IndexingSession session) 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 session- Throws:
org.apache.lucene.index.CorruptIndexException- in case of an errorIOException- in case of an I/O error- See Also:
-