public class MediaBatchingCollector extends Object implements BatchingCollector
| Constructor and Description |
|---|
MediaBatchingCollector(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.
|
List<PK> |
getPksOfBatches() |
void |
setId(String id) |
public MediaBatchingCollector(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 List<PK> getPksOfBatches()
getPksOfBatches in interface BatchingCollectorpublic void setId(String id)
setId in interface BatchingCollectorCopyright © 2017 SAP SE. All Rights Reserved.