Package com.day.cq.replication
Interface BulkContentBuilder
-
@ProviderType public interface BulkContentBuilderA BulkContentBuilder assembles the data for composite actions for the replication.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReplicationContentcreate(javax.jcr.Session session, CompositeReplicationAction action, ReplicationContentFactory contentFactory, java.util.Map<java.lang.String,java.lang.Object> parameters)Create the replication content for multiple resources.java.lang.StringgetName()Returns the name of this bulk content builder.java.lang.StringgetTitle()Returns the title of this bluk content builder.
-
-
-
Method Detail
-
create
ReplicationContent create(javax.jcr.Session session, CompositeReplicationAction action, ReplicationContentFactory contentFactory, java.util.Map<java.lang.String,java.lang.Object> parameters) throws ReplicationException
Create 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
java.lang.String getName()
Returns the name of this bulk content builder.- Returns:
- the name of this bulk content builder.
- Since:
- 5.3
-
getTitle
java.lang.String getTitle()
Returns the title of this bluk content builder.- Returns:
- the title.
- Since:
- 5.3
-
-