com.sap.ip.me.api.smartsync
Class SyncReplyType

java.lang.Object
  extended bycom.sap.ip.me.api.smartsync.SyncReplyType

public final class SyncReplyType
extends java.lang.Object

An enumeration of possible sync message's reply type. The possible reply types are

  • SUCCESS
  • TECHNICAL
  • CONFLICT
  • DISABLED
  • ERROR
  • PARTIAL
  • RESET_FAILURE
  • RESET_SUCCESS

    Version:
    2.1
    Author:
    SAP

    Field Summary
    static SyncReplyType CONFLICT
              A static reply type indicating that the message sent to the backend was in conflict with other clients or devices.
    static SyncReplyType DISABLED
              Deprecated.  
    static SyncReplyType ERROR
              Backend cannot handle an uploaded delta data successfully; backend returns a SyncReply with the type is ERROR, with a replace "delete" rollback SyncBoInDeltaData to client.
    static SyncReplyType PARTIAL
              Deprecated.  
    static SyncReplyType RESET_FAILURE
              Deprecated.  
    static SyncReplyType RESET_SUCCESS
              Deprecated.  
    static SyncReplyType SUCCESS
              A static reply type indicating that the message sent to the backend was processed and handled successfully.
    static SyncReplyType TECHNICAL
              A static reply type indicating that the message sent to the backend was not processed or handled successfully due to some technical-related problems such as RFC connections.
     
    Method Summary
    static SyncReplyType forString(java.lang.String typeString)
              Returns a SyncReplyType instance for the specified string representation/
     java.lang.String toString()
              Returns SyncReplyType String representation.
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
     

    Field Detail

    SUCCESS

    public static SyncReplyType SUCCESS
    A static reply type indicating that the message sent to the backend was processed and handled successfully. The backend sends this "SUCCESS" confirmation message with an inbound "replace" message.


    TECHNICAL

    public static SyncReplyType TECHNICAL
    A static reply type indicating that the message sent to the backend was not processed or handled successfully due to some technical-related problems such as RFC connections. The backend sends this "TECHNICAL" confirmation message with an inbound "replace" or "delete" message to rollback the operation. Take note that with this problem, the application will lost the original data.


    CONFLICT

    public static SyncReplyType CONFLICT
    A static reply type indicating that the message sent to the backend was in conflict with other clients or devices. The backend sends this "CONFLICT" confirmation message with an inbound "replace" or "delete" message to rollback the operation. Take note that in this problem, the application will lost the original data.


    DISABLED

    public static SyncReplyType DISABLED
    Deprecated.  

    Deprecated.


    ERROR

    public static SyncReplyType ERROR
    Backend cannot handle an uploaded delta data successfully; backend returns a SyncReply with the type is ERROR, with a replace "delete" rollback SyncBoInDeltaData to client. This causes client loses its original SyncBo data.


    PARTIAL

    public static SyncReplyType PARTIAL
    Deprecated.  

    Deprecated.


    RESET_SUCCESS

    public static SyncReplyType RESET_SUCCESS
    Deprecated.  

    Deprecated.


    RESET_FAILURE

    public static SyncReplyType RESET_FAILURE
    Deprecated.  

    Deprecated.

    Method Detail

    forString

    public static SyncReplyType forString(java.lang.String typeString)
    Returns a SyncReplyType instance for the specified string representation/

    Returns:
    SyncReplyType instance

    toString

    public java.lang.String toString()
    Returns SyncReplyType String representation.

    Returns:
    the String representation of this SyncReplyType instance


    Copyright © 2003 SAP AG. All Rights Reserved.