Revision fdbff5bc
Added by Andreas Müller over 3 years ago
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/util/IMediaToolbox.java | ||
---|---|---|
28 | 28 |
* and <code>mimeTypes</code> and finally return the list of matching MediaRepresentations ordered by the ranging of the match. |
29 | 29 |
* |
30 | 30 |
*/ |
31 |
List<Media> processAndFilterPreferredMediaRepresentations(Class<? extends MediaRepresentationPart> type, |
|
31 |
public List<Media> processAndFilterPreferredMediaRepresentations(Class<? extends MediaRepresentationPart> type,
|
|
32 | 32 |
String[] mimeTypes, Integer widthOrDuration, Integer height, Integer size, List<Media> taxonGalleryMedia) throws IOException; |
33 | 33 |
|
34 | 34 |
/** |
35 |
* Filters the Media objects and the contained MediaRepresentations the by the
|
|
35 |
* Filters the Media objects and the contained MediaRepresentations by the |
|
36 | 36 |
* attributes defined via the parameters <code>type</code>, <code>size</code>, <code>height</code>, <code>widthOrDuration</code> |
37 | 37 |
* and <code>mimeTypes</code> and finally return the media objects which have at lease one matching representation. |
38 | 38 |
* The MediaRepresentations are also filtered and ordered by the ranging of the match. |
... | ... | |
40 | 40 |
* @deprecated needs to be replaced, see https://dev.e-taxonomy.eu/redmine/issues/9160 |
41 | 41 |
*/ |
42 | 42 |
@Deprecated |
43 |
List<Media> filterPreferredMediaRepresentations(List<Media> mediaList, Class<? extends MediaRepresentationPart> type, |
|
43 |
public List<Media> filterPreferredMediaRepresentations(List<Media> mediaList, Class<? extends MediaRepresentationPart> type,
|
|
44 | 44 |
String[] mimeTypes, Integer widthOrDuration, Integer height, Integer size); |
45 | 45 |
|
46 | 46 |
/** |
... | ... | |
58 | 58 |
* @return |
59 | 59 |
* @throws IOException |
60 | 60 |
*/ |
61 |
MediaRepresentation processAndFindBestMatchingRepresentation(Media media, |
|
61 |
public MediaRepresentation processAndFindBestMatchingRepresentation(Media media,
|
|
62 | 62 |
Class<? extends MediaRepresentationPart> type, Integer size, Integer height, Integer widthOrDuration, |
63 | 63 |
String[] mimeTypes, MissingValueStrategy missingValStrategy) throws IOException; |
64 | 64 |
|
Also available in: Unified diff
Cleanup