com.sapportals.wcm.rfadapter

Class AdapterCode

java.lang.Object
  extended bycom.sapportals.wcm.rfadapter.AdapterCode

public final class AdapterCode
extends Object

holds a number of constants to define the result of an operation within the rfadapter on a technical level. The code of the constants are defined as follows:
0-999 error codes
1000-1999 success codes
2000-2999 warning codes
the descriptions are not translated and are not intended for the end user. However, they might be used by calling classes to react on. The Result class will always include an AdapterCode. Since all operations of the rfadapter will return a result-class instance, the calling class will always be able to extract the adapter code from the operation. However, the default-constructor of the Result class will set the adapter-code to UNSPECIFIED, which might be returned instead of a more detailed explanation.


Field Summary
static AdapterCode COULD_NOT_LOCK_RESOURCE
           
static AdapterCode ERR_ID_CLASH
           
static AdapterCode ERR_REPOSITORY_ROOT
           
static AdapterCode EXCEPTION_IN_RF_FRAMEWORK
           
static AdapterCode NO_PROPERTIES_SUPPORTED
           
static AdapterCode NO_PROPERTIES_SUPPORTED_AND_INVALID_NAME
           
static AdapterCode NO_PROPERTIES_SUPPORTED_AND_NO_EXTENSION
           
static AdapterCode NO_PROPERTIES_SUPPORTED_AND_NONUNIQUE_NAME
           
static AdapterCode NOT_SUPPORTED_EXCEPTION
           
static AdapterCode SUCCESS
           
static AdapterCode SUCCESS_COPY_RESOURCE
           
static AdapterCode SUCCESS_CREATED_RESOURCE
           
static AdapterCode SUCCESS_MOVE_RESOURCE
           
static AdapterCode SUCCESS_UPDATE_RESOURCE
           
static AdapterCode UNSPECIFIED
           
static AdapterCode WARNING_IDENTICAL_TARGET
           
static AdapterCode WARNING_NO_MODIFICATION_NEEDED
           
 
Method Summary
 boolean equals(Object o)
           
 int getCode()
           
 String getDescription()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SUCCESS

public static final AdapterCode SUCCESS

SUCCESS_CREATED_RESOURCE

public static final AdapterCode SUCCESS_CREATED_RESOURCE

SUCCESS_MOVE_RESOURCE

public static final AdapterCode SUCCESS_MOVE_RESOURCE

SUCCESS_COPY_RESOURCE

public static final AdapterCode SUCCESS_COPY_RESOURCE

SUCCESS_UPDATE_RESOURCE

public static final AdapterCode SUCCESS_UPDATE_RESOURCE

UNSPECIFIED

public static final AdapterCode UNSPECIFIED

NO_PROPERTIES_SUPPORTED

public static final AdapterCode NO_PROPERTIES_SUPPORTED

COULD_NOT_LOCK_RESOURCE

public static final AdapterCode COULD_NOT_LOCK_RESOURCE

EXCEPTION_IN_RF_FRAMEWORK

public static final AdapterCode EXCEPTION_IN_RF_FRAMEWORK

NOT_SUPPORTED_EXCEPTION

public static final AdapterCode NOT_SUPPORTED_EXCEPTION

NO_PROPERTIES_SUPPORTED_AND_INVALID_NAME

public static final AdapterCode NO_PROPERTIES_SUPPORTED_AND_INVALID_NAME

NO_PROPERTIES_SUPPORTED_AND_NONUNIQUE_NAME

public static final AdapterCode NO_PROPERTIES_SUPPORTED_AND_NONUNIQUE_NAME

NO_PROPERTIES_SUPPORTED_AND_NO_EXTENSION

public static final AdapterCode NO_PROPERTIES_SUPPORTED_AND_NO_EXTENSION

ERR_ID_CLASH

public static final AdapterCode ERR_ID_CLASH

ERR_REPOSITORY_ROOT

public static final AdapterCode ERR_REPOSITORY_ROOT

WARNING_NO_MODIFICATION_NEEDED

public static final AdapterCode WARNING_NO_MODIFICATION_NEEDED

WARNING_IDENTICAL_TARGET

public static final AdapterCode WARNING_IDENTICAL_TARGET
Method Detail

equals

public boolean equals(Object o)

toString

public String toString()

getCode

public int getCode()

getDescription

public String getDescription()


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.