Package com.appiancorp.suiteapi.common
Interface SynchronizationService
- All Superinterfaces:
com.appiancorp.services.ContextSensitiveService
,Service
@Deprecated
public interface SynchronizationService
extends com.appiancorp.services.ContextSensitiveService
Deprecated.
This interface and all of the methods defined within are obsolete and will
be removed in a future release.
This interface contains methods used when running multiple instances
of Appian applications and sychronizing some or all data between them.
Currently, these methods are only implemented for discussion forums.
All of these method take a parameter indicating the type of object
that is being queried about or manipulated. The proper value for type
can be obtained from
ObjectTypeMapping
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
Deprecated.static final boolean
Deprecated.static final boolean
Deprecated.Fields inherited from interface com.appiancorp.services.ContextSensitiveService
SET_SERVICE_CONTEXT_METHOD_NAME
-
Method Summary
Modifier and TypeMethodDescriptionboolean
doesRemoteIDExist
(Long typeOfObject_, Long remoteId_) Deprecated.Determine whether a remote id exists.getNextRemoteId
(Long typeOfObject_) Deprecated.Get the next available remote id.void
setRemoteId
(Long typeOfObject_, Long localId_, Long newInstanceId_, Long remoteId_) Deprecated.Set the remote id of a target object.Methods inherited from interface com.appiancorp.services.ContextSensitiveService
setServiceContext
-
Field Details
-
setRemoteId$UPDATES
static final boolean setRemoteId$UPDATESDeprecated.- See Also:
-
doesRemoteIDExist$UPDATES
static final boolean doesRemoteIDExist$UPDATESDeprecated.- See Also:
-
getNextRemoteId$UPDATES
static final boolean getNextRemoteId$UPDATESDeprecated.- See Also:
-
-
Method Details
-
setRemoteId
Deprecated.Set the remote id of a target object. Only succeeds if the object's remote id is currentlynull
.- Parameters:
typeOfObject_
- The type of the target object.localId_
- The local id of the target object.newInstanceId_
- The instance id to be assigned to the target object.remoteId_
- The remote id to be assigned to the target object.- Throws:
ServiceException
- if any system-level error occurs
-
doesRemoteIDExist
Deprecated.Determine whether a remote id exists. The implied instance id is that of the instance within which this code runs.- Parameters:
typeOfObject_
- The type of the object.remoteId_
- The remote ID for which to check.- Returns:
true
if the remote id already exists;false
otherwise.- Throws:
ServiceException
- if any system-level error occurs
-
getNextRemoteId
Deprecated.Get the next available remote id. The implied instance id is that of the instance within which this code runs.- Parameters:
typeOfObject_
- The type of the object.- Returns:
- The next available remote ID for the type of object specified.
- Throws:
ServiceException
- if any system-level error occurs
-