Class GlobalSilverResult

  • All Implemented Interfaces:
    Serializable

    public class GlobalSilverResult
    extends Object
    implements Serializable
    This class allows the result jsp page of the global search to show all features (name, description, location)
    See Also:
    Serialized Form
    • Constructor Detail

      • GlobalSilverResult

        public GlobalSilverResult​(SearchResult result)
    • Method Detail

      • getId

        public String getId()
      • getInstanceId

        public String getInstanceId()
      • getType

        public String getType()
      • isLinked

        public boolean isLinked()
      • getLinkedResourceId

        public String getLinkedResourceId()
      • getCreatorId

        public String getCreatorId()
      • isExternalResult

        public boolean isExternalResult()
      • getAttachmentFilename

        public String getAttachmentFilename()
      • getFormFieldsForFacets

        public Map<String,​String> getFormFieldsForFacets()
      • getServerName

        public String getServerName()
      • getTitleLink

        public String getTitleLink()
      • setTitleLink

        public void setTitleLink​(String link)
      • getDownloadLink

        public String getDownloadLink()
      • setDownloadLink

        public void setDownloadLink​(String link)
      • getCreatorName

        public String getCreatorName()
      • getLocation

        public String getLocation()
      • setLocation

        public void setLocation​(String location)
      • isExportable

        public boolean isExportable()
      • setExportable

        public void setExportable​(boolean exportable)
      • isSelected

        public boolean isSelected()
      • setSelected

        public void setSelected​(boolean selected)
      • isHasRead

        public boolean isHasRead()
        indicates if a entry has been read
        Returns:
        the hasRead
      • setHasRead

        public void setHasRead​(boolean hasRead)
        Parameters:
        hasRead - the hasRead to set
      • getResultId

        public int getResultId()
      • setResultId

        public void setResultId​(int resultId)
      • setHits

        public void setHits​(int hits)
      • getHits

        public int getHits()
      • getExternalUrl

        public String getExternalUrl()
        Returns:
        the externalUrl
      • setExternalUrl

        public void setExternalUrl​(String externalUrl)
        Parameters:
        externalUrl - the externalUrl to set
      • setViewable

        public void setViewable​(boolean viewable)
      • isViewable

        public boolean isViewable()
      • setPreviewable

        public void setPreviewable​(boolean previewable)
      • isPreviewable

        public boolean isPreviewable()
      • getAttachmentId

        public String getAttachmentId()
      • getAttachmentLanguage

        public String getAttachmentLanguage()
      • setVersioned

        public void setVersioned​(boolean versioned)
      • isVersioned

        public boolean isVersioned()
      • isAttachment

        public boolean isAttachment()
      • isUserAllowedToDownloadFile

        public boolean isUserAllowedToDownloadFile()
      • setUserAllowedToDownloadFile

        public void setUserAllowedToDownloadFile​(boolean userAllowedToDownloadFile)
      • isDownloadAllowedForReaders

        public boolean isDownloadAllowedForReaders()
      • setDownloadAllowedForReaders

        public void setDownloadAllowedForReaders​(boolean isDownloadAllowedForReaders)
      • setName

        public void setName​(String name)
      • getName

        public String getName()
      • getDescription

        public String getDescription()
      • getDescription

        public String getDescription​(String lang)
      • getThumbnailURL

        public String getThumbnailURL()
      • setThumbnailURL

        public void setThumbnailURL​(String url)
      • getScore

        public float getScore()
      • getCreationDate

        public LocalDate getCreationDate()
      • getLastUpdateDate

        public LocalDate getLastUpdateDate()
      • getSpaceId

        public String getSpaceId()
      • isAlias

        public boolean isAlias()
      • isNew

        public boolean isNew()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object