public interface AggregateHandler
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isAggregateRoot(Node node)
Checks if the given node is an aggregate root. 
 | 
java.util.List<java.lang.String> | 
prepareForReplication(Session session,
                     ReplicationActionType type,
                     java.lang.String path)
Returns a list of aggregate roots of the subtree starting at the specified path that are relevant for the
 given replication action. 
 | 
void | 
processForReplication(Session session,
                     ReplicationAction action)
Processes the aggregate addressed by the replication action. 
 | 
boolean isAggregateRoot(Node node)
node - node to testtrue if the node is an aggregate rootjava.util.List<java.lang.String> prepareForReplication(Session session, ReplicationActionType type, java.lang.String path) throws ReplicationException
session - session to use for traversaltype - replication action typepath - start pathReplicationException - to abort the replication in the preparation stagevoid processForReplication(Session session, ReplicationAction action) throws ReplicationException
session - the session to use to process the contentaction - the replication actionReplicationException - to abort the replication in the preparation stageCopyright © 2010 - 2023 Adobe. All Rights Reserved