Class BrowseIndexRest

All Implemented Interfaces:
Serializable, RestModel

@LinkRest(name="items",method="listBrowseItems") @LinkRest(name="entries",method="listBrowseEntries") public class BrowseIndexRest extends BaseObjectRest<String>
The Browse Index REST Resource
Author:
Andrea Bollini (andrea.bollini at 4science.it)
See Also:
  • Field Details

  • Constructor Details

    • BrowseIndexRest

      public BrowseIndexRest()
  • Method Details

    • getCategory

      public String getCategory()
      Specified by:
      getCategory in class RestAddressableModel
    • getType

      public String getType()
    • getTypePlural

      public String getTypePlural()
    • getMetadataList

      public List<String> getMetadataList()
    • setMetadataList

      public void setMetadataList(List<String> metadataList)
    • getDataType

      public String getDataType()
    • setDataType

      public void setDataType(String dataType)
    • getOrder

      public String getOrder()
    • setOrder

      public void setOrder(String order)
    • getSortOptions

      public List<BrowseIndexRest.SortOption> getSortOptions()
    • setSortOptions

      public void setSortOptions(List<BrowseIndexRest.SortOption> sortOptions)
    • setBrowseType

      public void setBrowseType(String browseType)
      - valueList => if the browse index has two levels, the 1st level shows the list of entries like author names, subjects, types, etc. the second level is the actual list of items linked to a specific entry - flatBrowse if the browse index has one level: the full list of items - hierarchicalBrowse if the browse index should display the vocabulary tree. The 1st level shows the tree. The second level is the actual list of items linked to a specific entry
    • getBrowseType

      public String getBrowseType()
    • setFacetType

      public void setFacetType(String facetType)
    • getFacetType

      public String getFacetType()
    • setVocabulary

      public void setVocabulary(String vocabulary)
    • getVocabulary

      public String getVocabulary()
    • getController

      public Class getController()
      Specified by:
      getController in class RestAddressableModel