public class ResourceFormatSearchCriterionDefinition extends DublinCoreSearchCriterionDefinition
SearchCriterionDefinition
for ResourceSearchable
proposing a search criterion on the format of the resource.Modifier and Type | Field and Description |
---|---|
protected static String[] |
AUDIO_MIMETYPE
MIME types for audio files
|
protected static Map<String,I18nizableText> |
ENUMERATOR_ENTRIES
The format enumerator
|
protected static String[] |
IMAGE_MIMETYPE
MIME types for images
|
protected static String[] |
PDF_MIMETYPE
MIME types for pdf
|
protected static String[] |
PRES_MIMETYPE
MIME types for presentation
|
protected static String[] |
SPREADSHEET_MIMETYPE
MIME types for spreadsheets
|
protected static String[] |
TEXT_MIMETYPE
MIME types for text documents
|
protected static String[] |
VIDEO_MIMETYPE
MIME types for videos
|
Constructor and Description |
---|
ResourceFormatSearchCriterionDefinition(String id,
String pluginName,
I18nizableText label,
Optional<Searchable> searchable)
Default constructor
|
getQuery
dispose, getEnumeratedValues, getSearchable, isEnumerated, toJSON
getDefaultValue, getDescription, getEnumerator, getId, getLabel, getPluginName, getType, getValidator, getWidget, getWidgetParameters, setDefaultValue, setDescription, setEnumerator, setId, setLabel, setPluginName, setType, setValidator, setWidget, setWidgetParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContextPrefixLabels, getId, getLabel, getType, getValidator, getWidget, getWidgetParameters
protected static final String[] PDF_MIMETYPE
protected static final String[] IMAGE_MIMETYPE
protected static final String[] TEXT_MIMETYPE
protected static final String[] PRES_MIMETYPE
protected static final String[] SPREADSHEET_MIMETYPE
protected static final String[] VIDEO_MIMETYPE
protected static final String[] AUDIO_MIMETYPE
protected static final Map<String,I18nizableText> ENUMERATOR_ENTRIES
public ResourceFormatSearchCriterionDefinition(String id, String pluginName, I18nizableText label, Optional<Searchable> searchable)
id
- The idpluginName
- The plugin namelabel
- The labelsearchable
- the Searchable