com.sapportals.wcm.service.indexmanagement.retrieval.virtualtaxonomies

Class VTInitializer

java.lang.Object
  extended by com.sapportals.wcm.service.indexmanagement.retrieval.virtualtaxonomies.VTInitializer

public final class VTInitializer
extends Object

Helper class to easily define virtual taxonomies


Constructor Summary
VTInitializer()
           
 
Method Summary
static void buildVT(String taxName, List indexIds, IPropertyNameList propNames, IResourceContext context, boolean removeExistingTax)
          Generates a simple virtual taxonomy over the specified index.
static void buildVT(String taxName, String indexId, IPropertyNameList propNames, IResourceContext context, boolean removeExistingTax)
          Generates a simple virtual taxonomy over the specified index.
static IPropertyNameList testPropertyNameList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VTInitializer

public VTInitializer()
Method Detail

buildVT

public static void buildVT(String taxName,
                           List indexIds,
                           IPropertyNameList propNames,
                           IResourceContext context,
                           boolean removeExistingTax)
                    throws com.sapportals.wcm.WcmException
Generates a simple virtual taxonomy over the specified index. All specified properties are used and presented in the order the have in the list. For Properties, which are of type date a presented by ranges. For all others, all values are shown. It is not allowed to specify properties indexed as text.

Parameters:
taxName - name of the virtual taxonomy
indexIds - ids of the indexes
propNames -
context -
removeExistingTax - if true an already existing virtual taxonomy with that name is deleted
Throws:
com.sapportals.wcm.WcmException

buildVT

public static void buildVT(String taxName,
                           String indexId,
                           IPropertyNameList propNames,
                           IResourceContext context,
                           boolean removeExistingTax)
                    throws com.sapportals.wcm.WcmException
Generates a simple virtual taxonomy over the specified index. All specified properties are used and presented in the order the have in the list. For Properties, which are of type date a presented by ranges. For all others, all values are shown. It is not allowed to specify properties indexed as text.

Parameters:
taxName - name of the virtual taxonomy
indexId - id of the index
propNames -
context -
removeExistingTax - if true an already existing virtual taxonomy with that name is deleted
Throws:
com.sapportals.wcm.WcmException

testPropertyNameList

public static IPropertyNameList testPropertyNameList()
                                              throws ResourceException
Throws:
ResourceException
Access Rights

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