Package com.day.cq.replication
Interface BulkContentBuilder
A BulkContentBuilder assembles the data for composite actions for the replication.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(Session session, CompositeReplicationAction action, ReplicationContentFactory contentFactory, Map<String, Object> parameters) Create the replication content for multiple resources.getName()Returns the name of this bulk content builder.getTitle()Returns the title of this bluk content builder.
-
Method Details
-
create
ReplicationContent create(Session session, CompositeReplicationAction action, ReplicationContentFactory contentFactory, Map<String, Object> parameters) throws ReplicationExceptionCreate the replication content for multiple resources. If this bulk content builder does not create content for the actual composite replication (e.g. for a delete replication), the bulk content builder should returnReplicationContent.VOID.- Parameters:
session- session to use to access the repositoryaction- The composite replication actioncontentFactory- the factory for creating binary content objects.parameters- additional parameters needed for implementation specific purposes- Returns:
- A newly created replication content or
ReplicationContent.VOID. - Throws:
ReplicationException- if an error during assembly of the content occurs.
-
getName
String getName()Returns the name of this bulk content builder.- Returns:
- the name of this bulk content builder.
- Since:
- 5.3
-
getTitle
String getTitle()Returns the title of this bluk content builder.- Returns:
- the title.
- Since:
- 5.3
-