Revision 90e7adad
Added by Andreas Kohlbecker over 2 years ago
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/util/IMediaToolbox.java | ||
---|---|---|
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. |
39 |
* |
|
40 |
* @deprecated needs to be replaced, see https://dev.e-taxonomy.eu/redmine/issues/9146 |
|
39 | 41 |
*/ |
42 |
@Deprecated |
|
40 | 43 |
List<Media> filterPreferredMediaRepresentations(List<Media> mediaList, Class<? extends MediaRepresentationPart> type, |
41 | 44 |
String[] mimeTypes, Integer widthOrDuration, Integer height, Integer size); |
42 | 45 |
|
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/util/MediaToolbox.java | ||
---|---|---|
99 | 99 |
} |
100 | 100 |
|
101 | 101 |
@Override |
102 |
@Deprecated |
|
102 | 103 |
public List<Media> filterPreferredMediaRepresentations(List<Media> mediaList, Class<? extends MediaRepresentationPart> type, |
103 | 104 |
String[] mimeTypes, Integer widthOrDuration, Integer height, Integer size) { |
104 | 105 |
|
Also available in: Unified diff
ref #9160 deprecating method which needs to be replaced