|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.search.fields.CmsSearchFieldMapping
org.opencms.search.galleries.CmsGallerySearchFieldMapping
public class CmsGallerySearchFieldMapping
Special search field mapping class for the gallery search.
Field Summary | |
---|---|
static java.lang.String |
FIELD_ADDITIONAL_INFO
Name of the field that contains the gallery index additional information. |
static java.lang.String |
FIELD_CONTAINER_TYPES
Name of the field that contains the gallery index container information. |
static java.lang.String |
FIELD_RESOURCE_DATE_EXPIRED
Name of the field that contains the date the resource has expired. |
static java.lang.String |
FIELD_RESOURCE_DATE_RELEASED
Name of the field that contains the date the resource was released. |
static java.lang.String |
FIELD_RESOURCE_LENGTH
Name of the field that contains the resource length. |
static java.lang.String |
FIELD_RESOURCE_LOCALES
Name of the field that contains the resource locale. |
static java.lang.String |
FIELD_RESOURCE_STATE
Name of the field that contains the resource state. |
static java.lang.String |
FIELD_RESOURCE_STRUCTURE_ID
Name of the field that contains the structure id the resource. |
static java.lang.String |
FIELD_RESOURCE_USER_CREATED
Name of the field that contains the name of the user who created the resource. |
static java.lang.String |
FIELD_RESOURCE_USER_LASTMODIFIED
Name of the field that contains the name of the user who last modified the resource. |
Fields inherited from class org.opencms.search.fields.CmsSearchFieldMapping |
---|
DATE_EXPIRED_DEFAULT_STR |
Constructor Summary | |
---|---|
CmsGallerySearchFieldMapping()
Public constructor for a new search field mapping. |
|
CmsGallerySearchFieldMapping(CmsSearchFieldMappingType type,
java.lang.String param)
Public constructor for a new search field mapping. |
Method Summary | |
---|---|
java.lang.String |
getStringValue(CmsObject cms,
CmsResource res,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Returns the String value extracted form the provided data according to the rules of this mapping type. |
Methods inherited from class org.opencms.search.fields.CmsSearchFieldMapping |
---|
equals, getDefaultValue, getParam, getType, hashCode, setDefaultValue, setParam, setType, setType |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FIELD_ADDITIONAL_INFO
public static final java.lang.String FIELD_CONTAINER_TYPES
public static final java.lang.String FIELD_RESOURCE_DATE_EXPIRED
public static final java.lang.String FIELD_RESOURCE_DATE_RELEASED
public static final java.lang.String FIELD_RESOURCE_LENGTH
public static final java.lang.String FIELD_RESOURCE_LOCALES
public static final java.lang.String FIELD_RESOURCE_STATE
public static final java.lang.String FIELD_RESOURCE_STRUCTURE_ID
public static final java.lang.String FIELD_RESOURCE_USER_CREATED
public static final java.lang.String FIELD_RESOURCE_USER_LASTMODIFIED
Constructor Detail |
---|
public CmsGallerySearchFieldMapping()
public CmsGallerySearchFieldMapping(CmsSearchFieldMappingType type, java.lang.String param)
type
- the type to use, see CmsSearchFieldMapping.setType(CmsSearchFieldMappingType)
param
- the mapping parameter, see CmsSearchFieldMapping.setParam(String)
Method Detail |
---|
public java.lang.String getStringValue(CmsObject cms, CmsResource res, I_CmsExtractionResult extractionResult, java.util.List<CmsProperty> properties, java.util.List<CmsProperty> propertiesSearched)
getStringValue
in class CmsSearchFieldMapping
cms
- the OpenCms context used for building the search indexres
- the resource that is indexedextractionResult
- the plain text extraction result from the resourceproperties
- the list of all properties directly attached to the resource (not searched)propertiesSearched
- the list of all searched properties of the resource
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |