Interface IResultColumnInfo
public interface IResultColumnInfo
Wrapper around the metadata about a column in the search results
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canWrap()
Return whether the column should allow wrappingReturn the wm_table compatible expression that will return the sortkey for the columngetTitle()
Return the wm_table compatible expression that will return the title for the columngetValue()
Deprecated.getValue
(IPortletBean searchContextPortletBean, IPortletBean searchResultPortletBean) Return the wm_table compatible expression that will return the value for the columngetWidth()
Return the wm_table compatible expression that will return the width for the column
-
Method Details
-
getTitle
String getTitle()Return the wm_table compatible expression that will return the title for the column- Returns:
- title expression
-
getSortKey
String getSortKey()Return the wm_table compatible expression that will return the sortkey for the column- Returns:
- sortkey expression
-
getValue
Deprecated.Return the wm_table compatible expression that will return the value for the column- Returns:
- value expression
-
getValue
String getValue(IPortletBean searchContextPortletBean, IPortletBean searchResultPortletBean) throws PortalException Return the wm_table compatible expression that will return the value for the column- Parameters:
searchContextPortletBean
- the search context portlet bean instancesearchResultPortletBean
- the search result portlet bean instance- Returns:
- value expression
- Throws:
PortalException
-
getWidth
String getWidth()Return the wm_table compatible expression that will return the width for the column- Returns:
- width expression
-
canWrap
boolean canWrap()Return whether the column should allow wrapping- Returns:
- true if wrapping is allowed, false otherwise
-
getValue(IPortletBean searchContextPortletBean, IPortletBean searchResultPortletBean)
instead