com.sap.ip.me.api.sync
Class SyncLog

java.lang.Object
  extended bycom.sap.ip.me.api.sync.SyncLog

public abstract class SyncLog
extends java.lang.Object

Contains the information about last synchronization and also the date of last successful synchronization

Author:
SAP

Constructor Summary
SyncLog()
           
 
Method Summary
abstract  java.util.Date getDateOfLastSuccessfulSync()
          Gets the date of last successful synchronization or null if there was no successful synchronization since Mobile Engine was installed
abstract  java.util.Date getDateOfLastSync()
          Gets the date of last synchronization or null if there was no synchronization since Mobile Engine was installed
abstract  java.lang.String[] getFailureMessages()
          Gets the error messages created while last synchronization or null if there was no synchronization since Mobile Engine was installed
abstract  java.lang.String[] getInfoMessages()
          Gets the information messages created while last synchronization or null if there was no synchronization since Mobile Engine was installed
static SyncLog getInstance()
          Gets the only one instance of the SyncLog class
abstract  java.lang.Exception getSyncException()
          Returns the exception throwed while last synchronization or null if last synchronization was successful or if there was no synchronization since Mobile Engine was installed
abstract  boolean isReady()
          Returns true if last Synchronization was successful
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncLog

public SyncLog()
Method Detail

getInstance

public static SyncLog getInstance()
Gets the only one instance of the SyncLog class

Returns:
SyncLog singleton

isReady

public abstract boolean isReady()
Returns true if last Synchronization was successful

Returns:
boolean value

getFailureMessages

public abstract java.lang.String[] getFailureMessages()
Gets the error messages created while last synchronization or null if there was no synchronization since Mobile Engine was installed

Returns:
The failure reason as String

getInfoMessages

public abstract java.lang.String[] getInfoMessages()
Gets the information messages created while last synchronization or null if there was no synchronization since Mobile Engine was installed

Returns:
The information messages

getSyncException

public abstract java.lang.Exception getSyncException()
Returns the exception throwed while last synchronization or null if last synchronization was successful or if there was no synchronization since Mobile Engine was installed

Returns:
The exception instance

getDateOfLastSync

public abstract java.util.Date getDateOfLastSync()
Gets the date of last synchronization or null if there was no synchronization since Mobile Engine was installed

Returns:
Date instance

getDateOfLastSuccessfulSync

public abstract java.util.Date getDateOfLastSuccessfulSync()
Gets the date of last successful synchronization or null if there was no successful synchronization since Mobile Engine was installed

Returns:
Date instance


Copyright © 2005 SAP AG. All Rights Reserved.