Class OrphanedMediaResult
- java.lang.Object
-
- de.hybris.platform.admincockpit.services.OrphanedMediaResult
-
public class OrphanedMediaResult extends java.lang.Object
Container class that keeps results ofOrphanedMediaService.searchForOrphanedMediaFiles(File, int)
. Search results from different folders can be added to each other usingadd(OrphanedMediaResult)
.
-
-
Constructor Summary
Constructors Constructor Description OrphanedMediaResult()
OrphanedMediaResult(int filesOverall, java.util.Collection<java.io.File> orphanedMedias, java.util.Collection<java.io.File> notHybrisMedias)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(OrphanedMediaResult other)
Combines together search results from different folders.int
getFilesOverall()
Returns number of processed files.java.util.Collection<java.io.File>
getNotHybrisMedias()
Returns collection of files not being hybris media.java.util.Collection<java.io.File>
getOrphanedMedias()
Returns collection of files without existing media.
-
-
-
Method Detail
-
getFilesOverall
public int getFilesOverall()
Returns number of processed files.
-
getOrphanedMedias
public java.util.Collection<java.io.File> getOrphanedMedias()
Returns collection of files without existing media.
-
getNotHybrisMedias
public java.util.Collection<java.io.File> getNotHybrisMedias()
Returns collection of files not being hybris media.
-
add
public void add(OrphanedMediaResult other)
Combines together search results from different folders.
-
-