public class PortalServiceConnector extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addIndexProperty(String indexId,
String propName,
String propValue)
Adds a property to the index.
|
static void |
crawl(String rid,
String indexID)
Starts a crawler for the resources below the specified RID and index.
|
static void |
deCrawl(String rid,
String indexID)
Deletes the resources below the specified RID from the index.
|
static void |
deIndex(String rid,
String indexID)
Deletes the resource from the index.
|
static List |
getSimilarClasses(String indexId,
String propNameString,
String value,
int maxResults)
Computes similar property values to the specified one.
|
static void |
index(String rid,
String indexID)
Index the specified resource into the index.
|
static void |
indexProperty(String rid,
String indexID,
String addPropertyName,
List addValues,
String deletePropertyName,
List deleteValues,
List deletePropertyNames)
Changes the indexed properties of a resource directly on the Trex server.
|
static void |
indexProperty(String rid,
String indexID,
String addPropertyName,
List addValues,
String deletePropertyName,
List deleteValues,
List deletePropertyNames,
String testPropertyName,
String testPropertyValue)
Changes the indexed properties of a resource directly on the Trex server.
|
public static void crawl(String rid, String indexID) throws Exception
rid
- ridindexID
- indexIDException
- Exceptionpublic static void index(String rid, String indexID) throws Exception
rid
- ridindexID
- indexIDException
- Exceptionpublic static void deIndex(String rid, String indexID) throws Exception
rid
- ridindexID
- indexIDException
- Exceptionpublic static void deCrawl(String rid, String indexID) throws Exception
rid
- the starting RIDindexID
- the indexIdException
- Exceptionpublic static void indexProperty(String rid, String indexID, String addPropertyName, List addValues, String deletePropertyName, List deleteValues, List deletePropertyNames, String testPropertyName, String testPropertyValue) throws Exception
rid
- ridindexID
- indexIDaddPropertyName
- addPropertyNameaddValues
- addValuesdeletePropertyName
- deletePropertyNamedeleteValues
- deleteValuesdeletePropertyNames
- deletePropertyNamestestPropertyName
- testPropertyNametestPropertyValue
- testPropertyValueException
- Exceptionpublic static void indexProperty(String rid, String indexID, String addPropertyName, List addValues, String deletePropertyName, List deleteValues, List deletePropertyNames) throws Exception
rid
- ridindexID
- indexIDaddPropertyName
- addPropertyNameaddValues
- addValuesdeletePropertyName
- deletePropertyNamedeleteValues
- deleteValuesdeletePropertyNames
- deletePropertyNamesException
- Exceptionpublic static List getSimilarClasses(String indexId, String propNameString, String value, int maxResults) throws Exception
indexId
- indexIdpropNameString
- propNameStringvalue
- valuemaxResults
- maxResultsException
- ExceptionAccess 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