Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.search.api.indexing.resources.configuration.document
Class IndexableDocTypeDescriptor

java.lang.Object
  extended by org.nuxeo.ecm.core.search.api.indexing.resources.configuration.document.IndexableDocTypeDescriptor
All Implemented Interfaces:
java.io.Serializable, IndexableDocType

public class IndexableDocTypeDescriptor
extends java.lang.Object
implements IndexableDocType

Indexable doc type descriptor.

Defines what type of resources needs to be taken into consideraton while indexing a Nuxeo core document given its docType.

Author:
Julien Anguenot
See Also:
Serialized Form

Constructor Summary
IndexableDocTypeDescriptor()
           
 
Method Summary
 boolean areAllFieldsSortable()
          All fields sortable ?
 boolean areAllSchemasIndexable()
          All schemas should be indexed ?
 java.util.List<java.lang.String> getExcludedSchemas()
          Returns explicit schemas that should be excluded.
 java.util.List<java.lang.String> getResources()
          Returns the list of resources to take into consideration while indexing.
 java.lang.String getType()
          Return the doc type.
 void setAllFieldsSortable(boolean allFieldsSortable)
           
 void setAllSchemasIndexable(boolean allSchemasIndexable)
           
 void setExcludedSchemas(java.util.List<java.lang.String> excludedSchemas)
           
 void setResources(java.util.List<java.lang.String> resources)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexableDocTypeDescriptor

public IndexableDocTypeDescriptor()
Method Detail

getType

public java.lang.String getType()
Description copied from interface: IndexableDocType
Return the doc type.

Specified by:
getType in interface IndexableDocType
Returns:
the doc type.

setType

public void setType(java.lang.String type)

getResources

public java.util.List<java.lang.String> getResources()
Description copied from interface: IndexableDocType
Returns the list of resources to take into consideration while indexing.

Specified by:
getResources in interface IndexableDocType
Returns:
a list of resource names.

setResources

public void setResources(java.util.List<java.lang.String> resources)

areAllSchemasIndexable

public boolean areAllSchemasIndexable()
Description copied from interface: IndexableDocType
All schemas should be indexed ?

Specified by:
areAllSchemasIndexable in interface IndexableDocType
Returns:
true if all schemas are indexable.

setAllSchemasIndexable

public void setAllSchemasIndexable(boolean allSchemasIndexable)

getExcludedSchemas

public java.util.List<java.lang.String> getExcludedSchemas()
Description copied from interface: IndexableDocType
Returns explicit schemas that should be excluded.

Specified by:
getExcludedSchemas in interface IndexableDocType
Returns:
a list of schema names.

setExcludedSchemas

public void setExcludedSchemas(java.util.List<java.lang.String> excludedSchemas)

areAllFieldsSortable

public boolean areAllFieldsSortable()
Description copied from interface: IndexableDocType
All fields sortable ?

Specified by:
areAllFieldsSortable in interface IndexableDocType
Returns:
true if all fields should be sortable unless an explicit configuration specifies the contrary

setAllFieldsSortable

public void setAllFieldsSortable(boolean allFieldsSortable)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.