Class HtmlSearchResultTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.silverpeas.core.web.util.viewgenerator.html.result.HtmlSearchResultTag
-
- All Implemented Interfaces:
Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class HtmlSearchResultTag extends javax.servlet.jsp.tagext.TagSupport
Tag to display result search element (GlobalSilverResult) object. Add extra information from publication if needed- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
RESULT_TEMPLATE_ALL
protected static String
RESULT_TEMPLATE_NONE
-
Constructor Summary
Constructors Constructor Description HtmlSearchResultTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doStartTag()
boolean
getExportEnabled()
GlobalSilverResult
getGsr()
Integer
getSortValue()
String
getUserId()
Get user identifier.void
setExportEnabled(boolean exportEnabled)
void
setGsr(GlobalSilverResult gsr)
void
setResources(MultiSilverpeasBundle resources)
void
setSortValue(Integer sortValue)
void
setUserId(String userId)
Set user idenfier.
-
-
-
Field Detail
-
RESULT_TEMPLATE_ALL
protected static final String RESULT_TEMPLATE_ALL
- See Also:
- Constant Field Values
-
RESULT_TEMPLATE_NONE
protected static final String RESULT_TEMPLATE_NONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classjavax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
-
getUserId
public String getUserId()
Get user identifier.- Returns:
- the user identifier.
-
setUserId
public void setUserId(String userId)
Set user idenfier.- Parameters:
userId
- the user identifier.
-
getGsr
public GlobalSilverResult getGsr()
- Returns:
- the global silver result
-
setGsr
public void setGsr(GlobalSilverResult gsr)
- Parameters:
gsr
- the GlobalSilverResult to set
-
getSortValue
public Integer getSortValue()
- Returns:
- the sortValue
-
setSortValue
public void setSortValue(Integer sortValue)
- Parameters:
sortValue
- the sortValue to set
-
getExportEnabled
public boolean getExportEnabled()
- Returns:
- the exportEnabled
-
setExportEnabled
public void setExportEnabled(boolean exportEnabled)
- Parameters:
exportEnabled
- the exportEnabled to set
-
setResources
public void setResources(MultiSilverpeasBundle resources)
-
-