|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.search.CmsSearchDocumentType
A document type specifies which document factory class is used to pull the content of an OpenCms document into a Lucene index document.
The appropriate document factory class gets triggerd while the search index is built for OpenCms documents matching the specified resource type and/or mimetype combination in a document factory class instance.
Constructor Summary | |
CmsSearchDocumentType()
Default constructor. |
Method Summary | |
void |
addMimeType(java.lang.String mimeType)
Adds a mimetype. |
void |
addResourceType(java.lang.String resourceType)
Adds the class name of a resource type. |
java.lang.String |
getClassName()
Returns the name of the document factory class. |
java.util.List |
getMimeTypes()
Returns the mimetypes to trigger the document factory class. |
java.lang.String |
getName()
Returns the logical key/name of this document type. |
java.util.List |
getResourceTypes()
Returns the list of Cms resource types to trigger the document factory. |
void |
setClassName(java.lang.String className)
Sets the name of the document factory class. |
void |
setMimeTypes(java.util.List mimetypes)
Sets the mimetypes to trigger the document factory class. |
void |
setName(java.lang.String name)
Sets the logical key/name of this document type. |
void |
setResourceTypes(java.util.List resourceTypes)
Sets the list of Cms resource types to trigger the document factory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CmsSearchDocumentType()
Method Detail |
public java.lang.String getClassName()
public java.util.List getMimeTypes()
public java.lang.String getName()
public java.util.List getResourceTypes()
public void setClassName(java.lang.String className)
className
- the name of the document factory classpublic void setMimeTypes(java.util.List mimetypes)
mimetypes
- the mimetypes to trigger the document factory classpublic void setName(java.lang.String name)
name
- the logical key/name of this document typepublic void setResourceTypes(java.util.List resourceTypes)
resourceTypes
- the list of Cms resource types to trigger the document factorypublic void addResourceType(java.lang.String resourceType)
resourceType
- the class name of a resource typepublic void addMimeType(java.lang.String mimeType)
mimeType
- a mimetype
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |