com.stratelia.silverpeas.pdcPeas.model
Class GlobalSilverResult

java.lang.Object
  extended by com.silverpeas.util.i18n.AbstractI18NBean<GlobalSilverContentI18N>
      extended by com.stratelia.silverpeas.contentManager.GlobalSilverContent
          extended by 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

Constructor Summary
GlobalSilverResult(GlobalSilverContent gsc)
           
GlobalSilverResult(MatchingIndexEntry mie)
           
 
Method Summary
 boolean equals(Object other)
           
 String getAttachmentFilename()
           
 String getAttachmentId()
           
 String getAttachmentLanguage()
           
 String getCreatorName()
           
 String getDownloadLink()
           
 List<String> getEmbeddedFileIds()
           
 String getExternalUrl()
           
 Map<String,String> getFormFieldsForFacets()
           
 int getHits()
           
 MatchingIndexEntry getIndexEntry()
           
 int getResultId()
           
 String getTitleLink()
           
 int hashCode()
           
 boolean isAttachment()
           
 boolean isDownloadAllowedForReaders()
           
 boolean isExportable()
           
 boolean isHasRead()
          indicates if a entry has been read
 boolean isPreviewable()
           
 boolean isSelected()
           
 boolean isUserAllowedToDownloadFile()
           
 boolean isVersioned()
           
 boolean isViewable()
           
 void setCreatorName(String creatorName)
           
 void setDownloadAllowedForReaders(boolean isDownloadAllowedForReaders)
           
 void setDownloadLink(String link)
           
 void setExportable(boolean exportable)
           
 void setExternalUrl(String externalUrl)
           
 void setFormFieldsForFacets(Map<String,String> formFieldsForFacets)
           
 void setHasRead(boolean hasRead)
           
 void setHits(int hits)
           
 void setPreviewable(boolean previewable)
           
 void setResultId(int resultId)
           
 void setSelected(boolean selected)
           
 void setTitleLink(String link)
           
 void setUserAllowedToDownloadFile(boolean userAllowedToDownloadFile)
           
 void setVersioned(boolean versioned)
           
 void setViewable(boolean viewable)
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalSilverResult

public GlobalSilverResult(GlobalSilverContent gsc)

GlobalSilverResult

public GlobalSilverResult(MatchingIndexEntry mie)
Method Detail

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.