public final class IndexCreationHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
WHAT_TO_INDEX |
Constructor and Description |
---|
IndexCreationHelper() |
Modifier and Type | Method and Description |
---|---|
static IIndex |
createTrexClassificationIndex(String indexId,
String indexName,
String indexGroup,
Properties indexProperties,
Map additionalProperties,
IResourceList dataSources)
Creates a Trex classification index
|
static IIndex |
createTrexSearchAndClassificationIndex(String indexId,
String indexName,
String indexGroup,
Properties indexProperties,
Map additionalProperties,
IResourceList dataSources)
Creates a Trex search and classification index
|
static IIndex |
createTrexSearchIndex(String indexId,
String indexName,
String indexGroup,
Properties indexProperties,
Map additionalProperties,
IResourceList dataSources)
Creates a Trex search index
|
public static final String WHAT_TO_INDEX
public static IIndex createTrexSearchAndClassificationIndex(String indexId, String indexName, String indexGroup, Properties indexProperties, Map additionalProperties, IResourceList dataSources) throws WcmException
indexId
- id of the index, might not be nullindexName
- name of the index, might not be nullindexGroup
- group of the index, might be nullindexProperties
- additional properties of the index, might be null; only Strings could be used as keys and propertiesadditionalProperties
- to specify index details (might be null) - the following possiblities exists,
whereby all keys are of type String:
- key = whatToIndex, value = AbstractIndex.WhatToIndex - determines if documents, folders or both will be indexeddataSources
- list of resource used as datasources for the index, might be nullWcmException
- WcmExceptionpublic static IIndex createTrexSearchIndex(String indexId, String indexName, String indexGroup, Properties indexProperties, Map additionalProperties, IResourceList dataSources) throws WcmException
indexId
- id of the index, might not be nullindexName
- name of the index, might not be nullindexGroup
- group of the index, might be nullindexProperties
- additional properties of the index, might be null; only Strings could be used as keys and propertiesadditionalProperties
- to specify index details (might be null) - the following possiblities exists,
whereby all keys are of type String:
- key = whatToIndex, value = AbstractIndex.WhatToIndex - determines if documents, folders or both will be indexeddataSources
- list of resource used as datasources for the index, might be nullWcmException
- WcmExceptionpublic static IIndex createTrexClassificationIndex(String indexId, String indexName, String indexGroup, Properties indexProperties, Map additionalProperties, IResourceList dataSources) throws WcmException
indexId
- id of the index, might not be nullindexName
- name of the index, might not be nullindexGroup
- group of the index, might be nullindexProperties
- additional properties of the index, might be null; only Strings could be used as keys and
properties - examples are (IndexInternalLinks = true etc.)additionalProperties
- to specify index details (might be null) - the following possiblities exists,
whereby all keys are of type String:
- key = whatToIndex, value = AbstractIndex.WhatToIndex - determines if documents, folders or both will be indexeddataSources
- list of resource used as datasources for the index, might be nullWcmException
- WcmExceptionAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice