com.day.cq.replication
Interface Replicator

All Known Implementing Classes:
ReplicatorImpl

public interface Replicator

The Replicator is the replication service. It can be used to replicate content.


Field Summary
static String REPLICATION_PERMISSION
          The user who wants to replicate needs this permission.
 
Method Summary
 void replicate(String userId, ReplicationActionType type, String path)
          Triggers a new replication.
 void replicate(String userId, ReplicationActionType type, String path, ReplicationOptions options)
          Triggers a new replication with supplied options.
 

Field Detail

REPLICATION_PERMISSION

static final String REPLICATION_PERMISSION
The user who wants to replicate needs this permission.

See Also:
Constant Field Values
Method Detail

replicate

void replicate(String userId,
               ReplicationActionType type,
               String path)
               throws ReplicationException
Triggers a new replication. Start a asynchronous replication with default options.

Parameters:
userId - The user who wants to replicate.
type - The type of replication (activate, deactive...)
path - The path specified the content to be replicated
Throws:
ReplicationException
See Also:
ReplicationOptions

replicate

void replicate(String userId,
               ReplicationActionType type,
               String path,
               ReplicationOptions options)
               throws ReplicationException
Triggers a new replication with supplied options.

Parameters:
userId - The user who wants to replicate.
type - The type of replication (activate, deactive...)
path - The path specified the content to be replicated
options - Additional replication options
Throws:
ReplicationException
See Also:
ReplicationOptions


Copyright © 2008 Day Management AG. All Rights Reserved.