Package org.opencms.jsp.search.result
Interface I_CmsSearchResourceBean
-
- All Known Implementing Classes:
CmsSearchResourceBean
public interface I_CmsSearchResourceBean
Interface for a single search result, as wrapped JSP EL friendly.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.util.Date>
getDateFields()
Returns the map from field names to field values for date fields.java.util.Map<java.lang.String,java.lang.String>
getFields()
Returns the map from field names to field values for string fields.java.util.Map<java.lang.String,java.util.List<java.lang.String>>
getMultiValuedFields()
Returns the map from field names to field values for multi-valued (string) fields.CmsSearchResource
getSearchResource()
Returns the wrapped CmsSearchResource (to access the CmsResource).CmsJspContentAccessBean
getXmlContent()
Reads the resource and allows content access in the current request language - in case of an XML content.java.util.Map<java.lang.String,CmsJspContentAccessBean>
getXmlContentInLocale()
Reads the resource and allows content access in the specified language - in case of an XML content.
-
-
-
Method Detail
-
getDateFields
java.util.Map<java.lang.String,java.util.Date> getDateFields()
Returns the map from field names to field values for date fields.- Returns:
- The map from field names to field values for date fields.
-
getFields
java.util.Map<java.lang.String,java.lang.String> getFields()
Returns the map from field names to field values for string fields.- Returns:
- The map from field names to field values for string fields.
-
getMultiValuedFields
java.util.Map<java.lang.String,java.util.List<java.lang.String>> getMultiValuedFields()
Returns the map from field names to field values for multi-valued (string) fields.- Returns:
- The map from field names to field values for multi-valued (string) fields.
-
getSearchResource
CmsSearchResource getSearchResource()
Returns the wrapped CmsSearchResource (to access the CmsResource).- Returns:
- The wrapped CmsSearchResource.
-
getXmlContent
CmsJspContentAccessBean getXmlContent()
Reads the resource and allows content access in the current request language - in case of an XML content. If the resource is not an XML content, it returns null.- Returns:
- The XML content or null.
-
getXmlContentInLocale
java.util.Map<java.lang.String,CmsJspContentAccessBean> getXmlContentInLocale()
Reads the resource and allows content access in the specified language - in case of an XML content. If the resource is not an XML content, it returns null.- Returns:
- The XML content or null.
-
-