public class ScriptReplicationService extends BaseScopableProcessorExtension
Constructor and Description |
---|
ScriptReplicationService() |
Modifier and Type | Method and Description |
---|---|
ScriptReplicationDefinition |
createReplicationDefinition(String replicationName,
String description)
Creates a new
ScriptReplicationDefinition and sets the replication name and
the description to the specified values. |
ScriptReplicationDefinition |
loadReplicationDefinition(String replicationName) |
ScriptReplicationDefinition[] |
loadReplicationDefinitions() |
ScriptReplicationDefinition[] |
loadReplicationDefinitions(String targetName) |
void |
replicate(ScriptReplicationDefinition definition) |
void |
saveReplicationDefinition(ScriptReplicationDefinition definition) |
void |
setReplicationService(ReplicationService replicationService)
Set the replication service
|
void |
setServiceRegistry(ServiceRegistry serviceRegistry)
Set the service registry
|
getScope, setScope
getExtensionName, register, setExtensionName, setProcessor
public void setServiceRegistry(ServiceRegistry serviceRegistry)
serviceRegistry
- the service registry.public void setReplicationService(ReplicationService replicationService)
replicationService
- the replication service.public ScriptReplicationDefinition createReplicationDefinition(String replicationName, String description)
ScriptReplicationDefinition
and sets the replication name and
the description to the specified values.replicationName
- A unique identifier used to specify the created
ScriptReplicationDefinition
.description
- A description of the replicationScriptReplicationDefinition
.ReplicationService.createReplicationDefinition(String, String)
public void saveReplicationDefinition(ScriptReplicationDefinition definition)
public ScriptReplicationDefinition loadReplicationDefinition(String replicationName)
public ScriptReplicationDefinition[] loadReplicationDefinitions()
public ScriptReplicationDefinition[] loadReplicationDefinitions(String targetName)
public void replicate(ScriptReplicationDefinition definition)
Copyright © 2005–2017 Alfresco Software. All rights reserved.