com.sapportals.wcm.service.indexmanagement.retrieval.classification

Interface ICompareTaxonomies


public interface ICompareTaxonomies

This interface is only for internal usage


Field Summary
static String STATE_FAILED
           
static String STATE_INITIAL
           
static String STATE_OK
           
static String STATE_STARTED
           
 
Method Summary
 void compareTaxonomies(IClassificationIndex index1, String taxname1, IClassificationIndex index2, String taxname2, IResourceContext context)
          Compares two taxonomies.
 double getChildrenMatchBorder()
          Returns the children match border.
 String getCompareMessage()
           
 List getOperations()
          Return a list of IModificationObject elements.
 String getState()
           
 void setChildrenMatchBorder(double d)
          Sets the children match border.
 void setState(String string)
           
 

Field Detail

STATE_INITIAL

public static final String STATE_INITIAL
See Also:
Constant Field Values

STATE_STARTED

public static final String STATE_STARTED
See Also:
Constant Field Values

STATE_OK

public static final String STATE_OK
See Also:
Constant Field Values

STATE_FAILED

public static final String STATE_FAILED
See Also:
Constant Field Values
Method Detail

compareTaxonomies

public void compareTaxonomies(IClassificationIndex index1,
                              String taxname1,
                              IClassificationIndex index2,
                              String taxname2,
                              IResourceContext context)
                       throws WcmException
Compares two taxonomies.

Parameters:
index1 - index of the first taxonomy
taxname1 - first taxonomy
index2 - index of the second taxonomy
taxname2 - second taxonomy
context -
Throws:
WcmException

getOperations

public List getOperations()
Return a list of IModificationObject elements. Each describes a possible difference between to taxonomies found in a taxonomy comparison.

Returns:

getState

public String getState()

setState

public void setState(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 String getCompareMessage()
                         throws ResourceException
Throws:
ResourceException


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. 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.