Class DocumentWithMetadata

java.lang.Object
org.exoplatform.commons.search.domain.Document
org.exoplatform.social.core.search.DocumentWithMetadata

public class DocumentWithMetadata extends org.exoplatform.commons.search.domain.Document
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.json.simple.JSONObject
     
    org.json.simple.JSONObject
    toJsonObject(MetadataItem metadataItem)
     

    Methods inherited from class org.exoplatform.commons.search.domain.Document

    addField, addField, addListField, getFields, getId, getLastUpdatedDate, getListFields, getPermissions, getSites, getTags, getUrl, setFields, setId, setLastUpdatedDate, setListFields, setPermissions, setPermissions, setSites, setTags, setUrl, toJSON

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DocumentWithMetadata

      public DocumentWithMetadata()
  • Method Details

    • toJsonObject

      public org.json.simple.JSONObject toJsonObject()
      Overrides:
      toJsonObject in class org.exoplatform.commons.search.domain.Document
    • toJsonObject

      public org.json.simple.JSONObject toJsonObject(MetadataItem metadataItem)