|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.ecm.core.search.api.indexing.resources.configuration.IndexableResourceDescriptor
public class IndexableResourceDescriptor
Indexable document descriptor.
| Field Summary | |
|---|---|
protected boolean |
allFieldsIndexable
|
protected Set<String> |
excludedFields
|
protected Map<String,IndexableResourceDataConf> |
fields
|
protected String |
name
|
protected String |
prefix
|
protected String |
type
|
| Constructor Summary | |
|---|---|
IndexableResourceDescriptor()
|
|
IndexableResourceDescriptor(String name,
String prefix,
boolean allFieldsIndexable,
Set<String> excludedFields,
Map<String,IndexableResourceDataConf> fields,
String type)
|
|
| Method Summary | |
|---|---|
boolean |
areAllFieldsIndexable()
All schema fields should be indexed ? |
Set<String> |
getExcludedFields()
Returns the list of field that should be excluded. |
Map<String,IndexableResourceDataConf> |
getIndexableFields()
Returns the map from field name to indexable schema field configuration. |
String |
getName()
Returns the name of the indexable resource c onfiguration. |
String |
getPrefix()
Returns the resource prefix. |
String |
getType()
Returns the indexable resource type. |
void |
setAllFieldsIndexable(boolean allFieldsIndexable)
|
void |
setExcludedFields(Set<String> excludedFields)
|
void |
setFields(Map<String,IndexableResourceDataConf> fields)
|
void |
setName(String name)
|
void |
setPrefix(String schemaPrefix)
|
void |
setType(String type)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected String prefix
protected String type
protected boolean allFieldsIndexable
protected Set<String> excludedFields
protected Map<String,IndexableResourceDataConf> fields
| Constructor Detail |
|---|
public IndexableResourceDescriptor()
public IndexableResourceDescriptor(String name,
String prefix,
boolean allFieldsIndexable,
Set<String> excludedFields,
Map<String,IndexableResourceDataConf> fields,
String type)
| Method Detail |
|---|
public String getName()
IndexableResourceConf
getName in interface IndexableResourceConfpublic void setName(String name)
public Map<String,IndexableResourceDataConf> getIndexableFields()
IndexableResourceConf
getIndexableFields in interface IndexableResourceConfpublic void setFields(Map<String,IndexableResourceDataConf> fields)
public String getPrefix()
IndexableResourceConf
getPrefix in interface IndexableResourceConfpublic void setPrefix(String schemaPrefix)
public boolean areAllFieldsIndexable()
IndexableResourceConf
areAllFieldsIndexable in interface IndexableResourceConfpublic void setAllFieldsIndexable(boolean allFieldsIndexable)
public Set<String> getExcludedFields()
IndexableResourceConf
getExcludedFields in interface IndexableResourceConfpublic void setExcludedFields(Set<String> excludedFields)
public String getType()
IndexableResourceConfThe type will be use for further indexing resource introspection if needed.
getType in interface IndexableResourceConfpublic void setType(String type)
public String toString()
toString in class Object
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||