com.sapportals.wcm.rfadapter

Class AdapterCode

java.lang.Object
  extended by com.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()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getCode

public int getCode()

getDescription

public String getDescription()
Access Rights

This class can be accessed from:


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 2014 SAP AG Complete Copyright Notice