public class MediaBatchingCollector extends java.lang.Object implements BatchingCollector
| Constructor and Description |
|---|
MediaBatchingCollector(java.lang.String mediaCodePrefix,
int batchSize,
ModelService modelService,
MediaService mediaService) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
collect(ItemChangeDTO change)
Collects the given change in a specified way.
|
void |
finish()
Finishes the collecting changes, depending on implementation, may be used as kind of post processing after
finalizing collecting the changes.
|
java.util.List<PK> |
getPksOfBatches() |
void |
setId(java.lang.String id) |
public MediaBatchingCollector(java.lang.String mediaCodePrefix,
int batchSize,
ModelService modelService,
MediaService mediaService)
public boolean collect(ItemChangeDTO change)
ChangesCollectorcollect in interface ChangesCollectorchange - change to be collectedtrue, if the collecting process should continue, false otherwisepublic void finish()
ChangesCollectorfinish in interface ChangesCollectorpublic java.util.List<PK> getPksOfBatches()
getPksOfBatches in interface BatchingCollectorpublic void setId(java.lang.String id)
setId in interface BatchingCollectorCopyright © 2018 SAP SE. All Rights Reserved.