Class FlushAggregateHandler
java.lang.Object
com.adobe.acs.commons.replication.dispatcher.FlushAggregateHandler
- All Implemented Interfaces:
com.day.cq.replication.AggregateHandler
public class FlushAggregateHandler
extends Object
implements com.day.cq.replication.AggregateHandler
Implements an aggregate handler that detects hierarchy nodes as aggregate root.
Work-around for ACS AEM Commons issue #3045.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAggregateRoot(javax.jcr.Node node) prepareForReplication(javax.jcr.Session session, com.day.cq.replication.ReplicationActionType type, String path) Returns the provided path.voidprocessForReplication(javax.jcr.Session session, com.day.cq.replication.ReplicationAction action)
-
Constructor Details
-
FlushAggregateHandler
public FlushAggregateHandler()
-
-
Method Details
-
isAggregateRoot
public boolean isAggregateRoot(javax.jcr.Node node) - Specified by:
isAggregateRootin interfacecom.day.cq.replication.AggregateHandler- Returns:
trueif the node is a hierarchy node.
-
prepareForReplication
public List<String> prepareForReplication(javax.jcr.Session session, com.day.cq.replication.ReplicationActionType type, String path) throws com.day.cq.replication.ReplicationException Returns the provided path.- Specified by:
prepareForReplicationin interfacecom.day.cq.replication.AggregateHandler- Throws:
com.day.cq.replication.ReplicationException
-
processForReplication
public void processForReplication(javax.jcr.Session session, com.day.cq.replication.ReplicationAction action) throws com.day.cq.replication.ReplicationException - Specified by:
processForReplicationin interfacecom.day.cq.replication.AggregateHandler- Throws:
com.day.cq.replication.ReplicationException
-