|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sap.ip.me.api.sync.SyncManager
public class SyncManager
Handles synchronization tasks with backend including outbound and inbound processing
| Field Summary | |
|---|---|
static java.lang.String |
CONNECTION_TYPE_DISC
Deprecated. Value for Configuration property SYNCSETTINGS_CONNECTION_TYPE. If Connection type is set to disc SyncManager exchanges
the outbound and inbound queue via file system. |
static java.lang.String |
CONNECTION_TYPE_HTTP
Deprecated. Value for Configuration property SYNCSETTINGS_CONNECTION_TYPE. If Connection type is set up to http SyncManager exchanges
the outbound and inbound queue via http If Connection type is set up to
http the SYNCSETTINGS_GATEWAY in the Configuration must be
set up to a gateway url. |
protected static java.lang.String |
SYNC_PROTOCOL_VERSION
Deprecated. The property tells the framework which internal transport protocol is used. Possible values: any integer value. |
| Constructor Summary | |
|---|---|
SyncManager()
Deprecated. |
|
| Method Summary | |
|---|---|
static SyncManager |
getInstance()
Deprecated. Gets the only one instance of the SyncManager class |
static int |
getSyncProtocolVersion()
Deprecated. Get version number of used synchronization protocol. |
boolean |
isConnectionTerminatable()
Deprecated. Checks whether the connection to the Mobile Infrastructure Middleware system can be terminated or not. |
boolean |
isFilterOnTimedSync()
Deprecated. Gets the parameter for the Filter on Timed Sync. |
boolean |
isSAPLogonTicketSupportEnabled()
Deprecated. Checks whether the framework is configured for SAP logon ticket support. |
boolean |
isSuppressDownload()
Deprecated. Gets the parameter for the suppress download feature. |
boolean |
isSyncCredentialAvailable()
Deprecated. Checks whether the required synchronization credentials (user ID/synchronization password or SAP logon ticket) are available. |
boolean |
isSyncRunning()
Deprecated. Checks whether a synchronization process (except background synchronizations) is running or not. |
void |
setFilterOnTimedSync(boolean filtered)
Deprecated. Set the 'Filter on Timed Sync' flag. |
void |
setSuppressDownload(boolean activateSuppressDownload)
Deprecated. Sets the parameter for suppress download. |
void |
setSyncPasswordOfCurrentUser(java.lang.String password)
Deprecated. Sets the synchronization password of the current user. |
void |
synchronizeWithBackend()
Deprecated. Handles the complete synchronization for the current user. |
void |
synchronizeWithBackend(VisibilityType visibility)
Deprecated. Handles the complete synchronization for current user or for all other users. |
boolean |
terminateConnection()
Deprecated. Terminates the connection to the Mobile Infrastructure Middleware system. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static java.lang.String SYNC_PROTOCOL_VERSION
710000
public static final java.lang.String CONNECTION_TYPE_HTTP
SyncManager exchanges
the outbound and inbound queue via http If Connection type is set up to
http the SYNCSETTINGS_GATEWAY in the Configuration must be
set up to a gateway url.
public static final java.lang.String CONNECTION_TYPE_DISC
SyncManager exchanges
the outbound and inbound queue via file system. If Connection type is set
to disc the SYNCSETTINGS_GATEWAY in the Configuration must
be set up to a file directory.
| Constructor Detail |
|---|
public SyncManager()
| Method Detail |
|---|
public static SyncManager getInstance()
public void synchronizeWithBackend()
public void synchronizeWithBackend(VisibilityType visibility)
visibility - Determines if the synchronization happens only for containers
which are created for the current user and as shared
containers or for all outbound containers on the device user
independentVisibilityTypepublic final void setFilterOnTimedSync(boolean filtered)
boolean - filtered true = activate Filter on Timed Sync / false =
deactivate Filter on Tmed Syncpublic final boolean isFilterOnTimedSync()
true if the 'Filter on Timed sync' feature is
activated false if the 'Filter on Timed sync'
feature is deactivatedpublic final void setSuppressDownload(boolean activateSuppressDownload)
boolean - paramvalue true = suppress download is activated / false=
suppress download is deactivated
Caution!! : Use this feature exclusively together with the call for
synchronization. Otherwise you will interfere sync processes of other
mobile applications on the device.public final boolean isSuppressDownload()
true if the suppress download feature is activated
false if the suppress download feature is
deactivated
public void setSyncPasswordOfCurrentUser(java.lang.String password)
throws SyncPasswordException
SyncPasswordException with an appropriate message ID
(containing the resaon) will be thrown.
password - The synchronization password
SyncPasswordException - Contains the reason why the setting of the synchronization
password failed if it fails.SyncPasswordExceptionpublic boolean isSyncCredentialAvailable()
True if the synchronization credentials are
available, false otherwise.public boolean isSyncRunning()
true if an UI triggered synchronization is
running, false if no synchronization is running or
if background synchronization is running.public boolean isSAPLogonTicketSupportEnabled()
true if the framework is enabled for SAP logon ticket
support, false otherwise.public static int getSyncProtocolVersion()
public boolean terminateConnection()
true if connection was terminated successfully
false otherwise.isConnectionTerminatablepublic boolean isConnectionTerminatable()
true if connection can be terminated
false otherwise.terminateConnection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||