public interface ReplicationService extends ReplicationDefinitionPersister
Modifier and Type | Method and Description |
---|---|
ReplicationDefinition |
createReplicationDefinition(String replicationName,
String description)
Creates a new
ReplicationDefinition and sets the replication
name and description to the specified values. |
void |
disableScheduling(ReplicationDefinition replicationDefinition)
Turns off scheduling for the specified replication
|
void |
enableScheduling(ReplicationDefinition replicationDefinition)
Turns on scheduling for the specified replication.
|
boolean |
isEnabled()
Is the replication service enabled?
|
void |
replicate(ReplicationDefinition replicationDefinition)
Runs the specified replication.
|
deleteReplicationDefinition, loadReplicationDefinition, loadReplicationDefinitions, loadReplicationDefinitions, renameReplicationDefinition, saveReplicationDefinition
@NotAuditable ReplicationDefinition createReplicationDefinition(String replicationName, String description)
ReplicationDefinition
and sets the replication
name and description to the specified values.replicationName
- A unique identifier used to specify the created
ReplicationDefinition
description
- A description of the replicationReplicationDefinition
@NotAuditable void replicate(ReplicationDefinition replicationDefinition)
replicationDefinition
- The replication to run@NotAuditable void enableScheduling(ReplicationDefinition replicationDefinition)
@NotAuditable void disableScheduling(ReplicationDefinition replicationDefinition)
boolean isEnabled()
Copyright © 2005–2017 Alfresco Software. All rights reserved.