public class RegistrySchemaService extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static List<String> |
DEFAULT_REGISTRY_FIELD_LIST |
| Constructor and Description |
|---|
RegistrySchemaService() |
| Modifier and Type | Method and Description |
|---|---|
String |
adaptImixsItemName(String itemName)
This method adapts an Imixs item name to the corresponding Solr field name.
|
String |
adaptQueryFieldNames(String _query)
This method adapts a search query for Imixs Item names and adapts these names
with the corresponding Solr field name (replace $ with _)
|
String |
adaptSolrFieldName(String itemName)
This method adapts an Solr field name to the corresponding Imixs Item name.
|
List<String> |
getRegistryCustomFieldList()
Returns a list of all custom fields to be stored in the registry schema.
|
Set<String> |
getSchemaFieldList()
Returns a unique list of all fields part of the index schema.
|
void |
init()
Create a solr rest client instance
|
@PostConstruct public void init()
org.imixs.workflow.services.rest.RestAPIExceptionpublic List<String> getRegistryCustomFieldList()
NOTE: this list does not contain the core fields '$uniqueid' and '$readaccess'. Use the method getSchmeaFieldList() to get all fields defined by the schema.
public Set<String> getSchemaFieldList()
public String adaptQueryFieldNames(String _query)
public String adaptSolrFieldName(String itemName)
itemName - public String adaptImixsItemName(String itemName)
itemName - Copyright © 2006–2020 Imixs Software Solutions GmbH. All rights reserved.