|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IReplicationBase
This interface represents a replication job. A replication job is a schedulable object that contains configuration settings for replicating a set of info objects between this cluster and a remote cluster.
IRemoteCluster| Nested Class Summary | |
|---|---|
static interface |
IReplicationBase.CeApplicationRefreshMode
Contains options that determine whether the entire contents of the chosen applications will be refreshed. |
static interface |
IReplicationBase.CeConflictResolutionMode
Contains constants that are used to specify how to handle replication conflicts. |
| Field Summary | |
|---|---|
static java.lang.String |
KIND
|
static java.lang.String |
PROGID
|
| Method Summary | |
|---|---|
void |
enableCleanup(boolean enabled)
Indicate whether object cleanup (propagating deletions to this cluster) is enabled, starting with the next replication. |
int |
getApplicationRefreshMode()
Gets the application refresh mode. |
int |
getConflictResolutionMode()
Returns the conflict resolution mode. |
int |
getMaxCUIDsReturned()
Get the max object CUIDs returned for cleanup at the next replication |
java.lang.String |
getNextStartCUID()
Get the start CUID for cleanup at the next replication |
java.util.Collection |
getRefreshApplicationObjects()
Returns the CUID collection of applications to refresh. |
java.lang.String |
getRemoteManifest()
Sets the CUID of the manifest (defined on the remote cluster) that determines what content will be replicated. |
boolean |
getReplicateDocumentTemplates()
Returns whether document templates will be replicated. |
boolean |
getReplicateLocalInstances()
Returns whether locally run completed instances will be replicated. |
boolean |
getReplicateRemoteSchedules()
Returns whether remote schedules will be replicated. |
java.lang.String |
getResultMIMEType()
Returns the MIME type for the result data. |
boolean |
isCleanupEnabled()
Indicate whether object cleanup (propagating deletions to this cluster) is enabled, starting with the next replication. |
boolean |
isPushEnabled()
Returns whether two-way replication and remote scheduling are enabled. |
void |
setApplicationRefreshMode(int mode)
set the application refresh mode |
void |
setConflictResolutionMode(int mode)
Sets the conflict resolution mode. |
void |
setPushEnabled(boolean enable)
Sets whether two-way replication and remote scheduling are enabled. |
void |
setRemoteManifest(java.lang.String cuid)
Sets the CUID of the manifest (defined on the remote cluster). |
void |
setReplicateDocumentTemplates(boolean include)
Sets whether document templates will be replicated. |
void |
setReplicateLocalInstances(boolean include)
Sets whether locally run completed instances will be replicated. |
void |
setReplicateRemoteSchedules(boolean include)
Sets whether remote schedules will be replicated. |
void |
writeResult(java.io.OutputStream stream)
Writes the result to the specific OutputStream. |
| Field Detail |
|---|
static final java.lang.String KIND
static final java.lang.String PROGID
| Method Detail |
|---|
void setConflictResolutionMode(int mode)
throws SDKException
mode - the conflict resolution mode. Must be a value
from CeConflictResolutionMode.
SDKException - if the value is not one of the options
from CeConflictResolutionMode.int getConflictResolutionMode()
CeConflictResolutionMode.
void setRemoteManifest(java.lang.String cuid)
cuid - the CUID of the manifest. No validation is done until replication time.IManifestjava.lang.String getRemoteManifest()
IManifestvoid setPushEnabled(boolean enable)
enable - true to enable two-way replication
and remote scheduling, false to disable bothboolean isPushEnabled()
true if two-way replication
and remote scheduling are enabled, false otherwise.
boolean isCleanupEnabled()
throws SDKException
true if yes, otherwise false.
SDKExceptionvoid enableCleanup(boolean enabled)
enabled -
int getMaxCUIDsReturned()
throws SDKException
int maxinum number of CUIDs will be returned to slave at the next replication
SDKException
java.lang.String getNextStartCUID()
throws SDKException
SDKExceptionjava.util.Collection getRefreshApplicationObjects()
int getApplicationRefreshMode()
CeApplicationRefreshMode.OFF.
int to indicate the refresh mode, refer to IReplicationBase.CeApplicationRefreshMode.
void setApplicationRefreshMode(int mode)
throws SDKException
mode - of CeApplicationRefreshMode value, refer to IReplicationBase.CeApplicationRefreshMode.
SDKExceptionvoid setReplicateRemoteSchedules(boolean include)
true.
include - true to replicate remote schedulesboolean getReplicateRemoteSchedules()
true if remote schedules will be replicatedvoid setReplicateDocumentTemplates(boolean include)
true.
include - true to replicate document templatesboolean getReplicateDocumentTemplates()
true.
true if document templates will be replicatedvoid setReplicateLocalInstances(boolean include)
true.
include - true to replicate locally run completed instancesboolean getReplicateLocalInstances()
true.
true if locally run completed instances will be replicatedjava.lang.String getResultMIMEType()
void writeResult(java.io.OutputStream stream)
throws SDKException
stream - An OutputStream stream object.
SDKException - This is thrown if the process is unsuccessful
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||