com.day.cq.replication
Interface Replicator


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(Session session, ReplicationActionType type, String path)
          Triggers a new replication with supplied options.
 void replicate(Session session, 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(Session session,
               ReplicationActionType type,
               String path)
               throws ReplicationException
Triggers a new replication with supplied options.

Parameters:
session - user session
type - The type of replication
path - The path specified the content to be replicated
Throws:
ReplicationException - if an error occurs

replicate

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

Parameters:
session - user session
type - The type of replication
path - The path specified the content to be replicated
options - Additional replication options
Throws:
ReplicationException - if an error occurs


Copyright © 2009 Day Management AG. All Rights Reserved.