com.stratelia.silverpeas.contentManager
Class GlobalSilverContent

java.lang.Object
  extended by com.silverpeas.util.i18n.AbstractI18NBean<GlobalSilverContentI18N>
      extended by com.stratelia.silverpeas.contentManager.GlobalSilverContent
All Implemented Interfaces:
I18NBean<GlobalSilverContentI18N>, Serializable
Direct Known Subclasses:
GlobalSilverResult

public class GlobalSilverContent
extends AbstractI18NBean<GlobalSilverContentI18N>
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
GlobalSilverContent(MatchingIndexEntry mie)
           
GlobalSilverContent(SilverContentInterface sci, String location)
           
GlobalSilverContent(SilverContentInterface sci, String location, String creatorFirstName, String creatorLastName)
           
GlobalSilverContent(String name, String desc, String id, String spaceId, String instanceId, String date, String userId)
           
 
Method Summary
 String getCreationDate()
           
 String getCreatorFirstName()
           
 String getCreatorLastName()
           
 String getDate()
           
 String getIconUrl()
           
 String getId()
           
 String getInstanceId()
           
 String getLocation()
           
 float getRawScore()
           
 String getScore()
           
 Map<String,String> getSortableXMLFormFields()
          gets the list of Sortable fields if the content is a form XML
 String getSpaceId()
           
 String getThumbnailURL()
           
 String getTitle()
           
 String getType()
           
 String getURL()
           
 String getUserId()
           
 void init(String name, String desc, String url, String location, String id, String instanceId, String date, String icon, String userId)
           
 void setCreationDate(String creationDate)
           
 void setIconUrl(String iconURL)
           
 void setLocation(String location)
           
 void setScore(float score)
           
 void setSortableXMLFormFields(Map<String,String> sortableXMLFormFields)
          Sets the Sortable fields if the content is a form XML
 void setSpaceId(String spaceId)
           
 void setThumbnailURL(String thumbnailURL)
           
 void setTitle(String title)
           
 void setType(String type)
           
 void setURL(String url)
           
 
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalSilverContent

public GlobalSilverContent(String name,
                           String desc,
                           String id,
                           String spaceId,
                           String instanceId,
                           String date,
                           String userId)

GlobalSilverContent

public GlobalSilverContent(MatchingIndexEntry mie)

GlobalSilverContent

public GlobalSilverContent(SilverContentInterface sci,
                           String location)

GlobalSilverContent

public GlobalSilverContent(SilverContentInterface sci,
                           String location,
                           String creatorFirstName,
                           String creatorLastName)
Method Detail

init

public void init(String name,
                 String desc,
                 String url,
                 String location,
                 String id,
                 String instanceId,
                 String date,
                 String icon,
                 String userId)

getURL

public String getURL()

getLocation

public String getLocation()

getId

public String getId()

getInstanceId

public String getInstanceId()

getSpaceId

public String getSpaceId()

setSpaceId

public void setSpaceId(String spaceId)

getTitle

public String getTitle()

getDate

public String getDate()

getIconUrl

public String getIconUrl()

setIconUrl

public void setIconUrl(String iconURL)

getUserId

public String getUserId()

getCreatorFirstName

public String getCreatorFirstName()

getCreatorLastName

public String getCreatorLastName()

setScore

public void setScore(float score)

getRawScore

public float getRawScore()

getScore

public String getScore()

setType

public void setType(String type)

getType

public String getType()

setURL

public void setURL(String url)

setLocation

public void setLocation(String location)

getCreationDate

public String getCreationDate()

setCreationDate

public void setCreationDate(String creationDate)

setTitle

public void setTitle(String title)

getThumbnailURL

public String getThumbnailURL()

setThumbnailURL

public void setThumbnailURL(String thumbnailURL)

getSortableXMLFormFields

public Map<String,String> getSortableXMLFormFields()
gets the list of Sortable fields if the content is a form XML

Returns:
the sortableXMLFormFields

setSortableXMLFormFields

public void setSortableXMLFormFields(Map<String,String> sortableXMLFormFields)
Sets the Sortable fields if the content is a form XML

Parameters:
sortableXMLFormFields - the sortableXMLFormFields to set


Copyright © 2016 Silverpeas. All Rights Reserved.