Class SearchItem


  • public class SearchItem
    extends java.lang.Object
    Search Item
    • Constructor Summary

      Constructors 
      Constructor Description
      SearchItem​(org.apache.lucene.document.Document document)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDate()
      Returns the LastModifiedDate
      java.lang.String getDocPortletId()
      Returns the DocPortletId
      java.lang.String getId()
      Returns the Id
      java.lang.String getMetadata()
      Returns the meta data
      java.lang.String getRole()
      Return the role of the document
      java.lang.String getState()
      Return the state of the document
      java.lang.String getSummary()
      Returns the Summary
      java.lang.String getTitle()
      Returns the Title
      java.lang.String getType()
      Returns the Type
      java.lang.String getUrl()
      Returns the Url
      void setDate​(java.lang.String strLastModifiedDate)
      Sets the LastModifiedDate
      void setDocPortletId​(java.lang.String strDocPortletId)
      Sets the DocPortletId
      void setId​(java.lang.String strId)
      Sets the Id
      void setMetadata​(java.lang.String strMetadata)
      Sets the meta data
      void setRole​(java.lang.String role)
      Sets the role of the document
      void setState​(java.lang.String state)
      Sets the state of the document
      void setSummary​(java.lang.String strSummary)
      Sets the Summary
      void setTitle​(java.lang.String strTitle)
      Sets the Title
      void setType​(java.lang.String strType)
      Sets the Type
      void setUrl​(java.lang.String strUrl)
      Sets the Url
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SearchItem

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

      • getId

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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