Class SearchItem


  • public class SearchItem
    extends Object
    Search Item
    • Constructor Detail

      • SearchItem

        public SearchItem​(org.apache.lucene.document.Document document)
        Constructor
        Parameters:
        document - The document retrieved by the search
    • Method Detail

      • getId

        public String getId()
        Returns the Id
        Returns:
        The Id
      • setId

        public void setId​(String strId)
        Sets the Id
        Parameters:
        strId - The Id
      • getDocPortletId

        public String getDocPortletId()
        Returns the DocPortletId
        Returns:
        The DocPortletId
      • setDocPortletId

        public void setDocPortletId​(String strDocPortletId)
        Sets the DocPortletId
        Parameters:
        strDocPortletId - The DocPortletId
      • getTitle

        public String getTitle()
        Returns the Title
        Returns:
        The Title
      • setTitle

        public void setTitle​(String strTitle)
        Sets the Title
        Parameters:
        strTitle - The Title
      • getSummary

        public String getSummary()
        Returns the Summary
        Returns:
        The Summary
      • setSummary

        public void setSummary​(String strSummary)
        Sets the Summary
        Parameters:
        strSummary - The Summary
      • getMetadata

        public String getMetadata()
        Returns the meta data
        Returns:
        The meta data
      • setMetadata

        public void setMetadata​(String strMetadata)
        Sets the meta data
        Parameters:
        strMetadata - The meta data
      • getUrl

        public String getUrl()
        Returns the Url
        Returns:
        The Url
      • setUrl

        public void setUrl​(String strUrl)
        Sets the Url
        Parameters:
        strUrl - The Url
      • getDate

        public String getDate()
        Returns the LastModifiedDate
        Returns:
        The LastModifiedDate
      • setDate

        public void setDate​(String strLastModifiedDate)
        Sets the LastModifiedDate
        Parameters:
        strLastModifiedDate - The LastModifiedDate
      • getType

        public String getType()
        Returns the Type
        Returns:
        The Type
      • setType

        public void setType​(String strType)
        Sets the Type
        Parameters:
        strType - The Type
      • getRole

        public String getRole()
        Return the role of the document
        Returns:
        the role of the document
      • setRole

        public void setRole​(String role)
        Sets the role of the document
        Parameters:
        role - the role of the document
      • getState

        public String getState()
        Return the state of the document
        Returns:
        the state of the document
      • setState

        public void setState​(String state)
        Sets the state of the document
        Parameters:
        state - of the document