Class ReplicatorQueue

  • All Implemented Interfaces:
    com.day.cq.replication.Replicator

    public class ReplicatorQueue
    extends Object
    implements com.day.cq.replication.Replicator
    Collect a list of replication events for later examination and/or replay.
    • Constructor Detail

      • ReplicatorQueue

        public ReplicatorQueue()
    • Method Detail

      • replicate

        public void replicate​(javax.jcr.Session session,
                              com.day.cq.replication.ReplicationActionType actionType,
                              String path)
                       throws com.day.cq.replication.ReplicationException
        Specified by:
        replicate in interface com.day.cq.replication.Replicator
        Throws:
        com.day.cq.replication.ReplicationException
      • replicate

        public void replicate​(javax.jcr.Session session,
                              com.day.cq.replication.ReplicationActionType actionType,
                              String path,
                              com.day.cq.replication.ReplicationOptions replicationOptions)
                       throws com.day.cq.replication.ReplicationException
        Specified by:
        replicate in interface com.day.cq.replication.Replicator
        Throws:
        com.day.cq.replication.ReplicationException
      • replicate

        public void replicate​(javax.jcr.Session session,
                              com.day.cq.replication.ReplicationActionType replicationActionType,
                              String[] paths,
                              com.day.cq.replication.ReplicationOptions replicationOptions)
                       throws com.day.cq.replication.ReplicationException
        Specified by:
        replicate in interface com.day.cq.replication.Replicator
        Throws:
        com.day.cq.replication.ReplicationException
      • checkPermission

        public void checkPermission​(javax.jcr.Session sn,
                                    com.day.cq.replication.ReplicationActionType rat,
                                    String string)
                             throws com.day.cq.replication.ReplicationException
        Specified by:
        checkPermission in interface com.day.cq.replication.Replicator
        Throws:
        com.day.cq.replication.ReplicationException
      • getReplicationStatus

        public com.day.cq.replication.ReplicationStatus getReplicationStatus​(javax.jcr.Session sn,
                                                                             String string)
        Specified by:
        getReplicationStatus in interface com.day.cq.replication.Replicator
      • getActivatedPaths

        public Iterator<String> getActivatedPaths​(javax.jcr.Session session,
                                                  String s)
                                           throws com.day.cq.replication.ReplicationException
        Specified by:
        getActivatedPaths in interface com.day.cq.replication.Replicator
        Throws:
        com.day.cq.replication.ReplicationException
      • createContentFilterChain

        @Deprecated
        public List<com.day.cq.replication.ReplicationContentFilter> createContentFilterChain​(com.day.cq.replication.ReplicationAction action)
        Deprecated.
        Specified by:
        createContentFilterChain in interface com.day.cq.replication.Replicator
      • getDeactivateOperations

        public Map<String,​com.day.cq.replication.ReplicationOptions> getDeactivateOperations()
        Returns:
        the deactivateOperations
      • getActivateOperations

        public Map<String,​com.day.cq.replication.ReplicationOptions> getActivateOperations()
        Returns:
        the activateOperations