com.sapportals.wcm.service.indexmanagement.retrieval.classification
Interface ICompareTaxonomies
[contained in: com.sap.km.cm.service.par - km.shared.service.indexmanagement_api.jar]
- public interface ICompareTaxonomies
This interface is only for internal usage
STATE_INITIAL
public static final java.lang.String STATE_INITIAL
STATE_STARTED
public static final java.lang.String STATE_STARTED
STATE_OK
public static final java.lang.String STATE_OK
STATE_FAILED
public static final java.lang.String STATE_FAILED
compareTaxonomies
public void compareTaxonomies(IClassificationIndex index1,
java.lang.String taxname1,
IClassificationIndex index2,
java.lang.String taxname2,
IResourceContext context)
throws WcmException
- Compares two taxonomies.
- Parameters:
index1 - index of the first taxonomytaxname1 - first taxonomyindex2 - index of the second taxonomytaxname2 - second taxonomycontext - - Throws:
WcmException -
getOperations
public java.util.List getOperations()
- Return a list of
IModificationObject elements. Each describes
a possible difference between to taxonomies found in a taxonomy comparison.
- Returns:
-
getState
public java.lang.String getState()
setState
public void setState(java.lang.String string)
getChildrenMatchBorder
public double getChildrenMatchBorder()
- Returns the children match border.
This childeren match border defines a border when checking if two categories are only
renamed but otherwise identical. The taxonomy comparison checks the children of these nodes.
If the percentage of children with identcal names is over that boder the nodes are seen as renamed.
If the border is 0 or lower, no rename check take place.
- Returns:
-
setChildrenMatchBorder
public void setChildrenMatchBorder(double d)
- Sets the children match border.
- Parameters:
d -
getCompareMessage
public java.lang.String getCompareMessage()
throws ResourceException
Copyright © 2004 by
SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein
as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other
countries all over the world. All other product and service names mentioned are the trademarks of their respective companies.
Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies
("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be
liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are
those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty.