Class License

java.lang.Object
org.ctan.site.domain.AbstractEntity
org.ctan.site.domain.catalogue.License
All Implemented Interfaces:
Searchable

@Entity public class License extends AbstractEntity implements Searchable
The class License contains additional infos for the licenses.
  • Constructor Details

    • License

      public License()
  • Method Details

    • indexPath

      public String indexPath()
      The method indexPath provides means to retrieve the directory containing the index files.
      Specified by:
      indexPath in interface Searchable
      Returns:
      the index directory
      See Also:
    • toMap

      public com.google.common.collect.ImmutableMap<String,Object> toMap()
      The method toMap provides 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 method updateIndex provides means to update the entity in the search index.
      Specified by:
      updateIndex in interface Searchable
      Parameters:
      session - the session
      Throws:
      org.apache.lucene.index.CorruptIndexException - in case of an error
      IOException - in case of an I/O error
      See Also: