com.stratelia.silverpeas.pdcPeas.model
Class GlobalSilverResult
java.lang.Object
com.silverpeas.util.i18n.AbstractI18NBean<GlobalSilverContentI18N>
com.stratelia.silverpeas.contentManager.GlobalSilverContent
com.stratelia.silverpeas.pdcPeas.model.GlobalSilverResult
- All Implemented Interfaces:
- I18NBean<GlobalSilverContentI18N>, Serializable
public class GlobalSilverResult
- extends GlobalSilverContent
- implements Serializable
This class allows the result jsp page of the global search to show all features (name,
description, location)
- See Also:
- Serialized Form
Methods inherited from class com.stratelia.silverpeas.contentManager.GlobalSilverContent |
getCreationDate, getCreatorFirstName, getCreatorLastName, getDate, getIconUrl, getId, getInstanceId, getLocation, getRawScore, getScore, getSortableXMLFormFields, getSpaceId, getThumbnailURL, getTitle, getType, getURL, getUserId, init, setCreationDate, setIconUrl, setLocation, setScore, setSortableXMLFormFields, setSpaceId, setThumbnailURL, setTitle, setType, setURL |
Methods inherited from class com.silverpeas.util.i18n.AbstractI18NBean |
addTranslation, getClonedTranslations, getDescription, getDescription, getLanguage, getLanguages, getLanguageToDisplay, getName, getName, getNextTranslation, getTranslation, getTranslationId, getTranslations, isRemoveTranslation, setDescription, setLanguage, setName, setRemoveTranslation, setTranslationId, setTranslations, setTranslations, setTranslations |
GlobalSilverResult
public GlobalSilverResult(GlobalSilverContent gsc)
GlobalSilverResult
public GlobalSilverResult(MatchingIndexEntry mie)
getEmbeddedFileIds
public List<String> getEmbeddedFileIds()
- Returns:
- the embeddedFileIds
getIndexEntry
public MatchingIndexEntry getIndexEntry()
getTitleLink
public String getTitleLink()
setTitleLink
public void setTitleLink(String link)
getDownloadLink
public String getDownloadLink()
setDownloadLink
public void setDownloadLink(String link)
setCreatorName
public void setCreatorName(String creatorName)
getCreatorName
public String getCreatorName()
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
setFormFieldsForFacets
public void setFormFieldsForFacets(Map<String,String> formFieldsForFacets)
getFormFieldsForFacets
public Map<String,String> getFormFieldsForFacets()
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()
getAttachmentFilename
public String getAttachmentFilename()
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)
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2016 Silverpeas. All Rights Reserved.