com.sapportals.wcm.service.indexmanagement.helperclasses
Class IndexCreationHelper
java.lang.Object
com.sapportals.wcm.service.indexmanagement.helperclasses.IndexCreationHelper
public final class IndexCreationHelper
- extends Object
Helper class to create indexes
|
Method Summary |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WHAT_TO_INDEX
public static final String WHAT_TO_INDEX
- See Also:
- Constant Field Values
IndexCreationHelper
public IndexCreationHelper()
createTrexSearchAndClassificationIndex
public static IIndex createTrexSearchAndClassificationIndex(String indexId,
String indexName,
String indexGroup,
Properties indexProperties,
Map additionalProperties,
IResourceList dataSources)
throws com.sapportals.wcm.WcmException
- Creates a Trex search and classification index
- Parameters:
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 null
- Throws:
com.sapportals.wcm.WcmException
createTrexSearchIndex
public static IIndex createTrexSearchIndex(String indexId,
String indexName,
String indexGroup,
Properties indexProperties,
Map additionalProperties,
IResourceList dataSources)
throws com.sapportals.wcm.WcmException
- Creates a Trex search index
- Parameters:
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 null
- Throws:
com.sapportals.wcm.WcmException
createTrexClassificationIndex
public static IIndex createTrexClassificationIndex(String indexId,
String indexName,
String indexGroup,
Properties indexProperties,
Map additionalProperties,
IResourceList dataSources)
throws com.sapportals.wcm.WcmException
- Creates a Trex classification index
- Parameters:
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 null
- Throws:
com.sapportals.wcm.WcmException
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
Copyright 2011 SAP AG Complete Copyright Notice