Interface IMultiFileProviding
- All Superinterfaces:
IReferencedFileList
- All Known Implementing Classes:
MultiFile
Interface for a POJO view model class that describes a list of files that can be selected by the user.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getUrls()
boolean
isResourceItemTypeSelected
(EResourceItemType resourceItemType)
-
Method Details
-
isResourceItemTypeSelected
- Parameters:
resourceItemType
- a String that can be converted into aEResourceItemType
- Returns:
true
if there is at least one element with the specified resource item type in the list of resources. Otherwise returnsfalse
-
getAttachmentFilter
List<EAttachmentSource> getAttachmentFilter()- Specified by:
getAttachmentFilter
in interfaceIReferencedFileList
- Returns:
- Attachment sources to which to restrict the search for attachments, if a resource item of type
EResourceItemType.EXTERNAL
exists.
-
getConnectionTimeout
int getConnectionTimeout()- Specified by:
getConnectionTimeout
in interfaceIReferencedFileList
- Returns:
- a connection time-out for an external resource retrieval
-
getReadTimeout
int getReadTimeout()- Specified by:
getReadTimeout
in interfaceIReferencedFileList
- Returns:
- a read time-out for an external resource retrieval
-
getResources
List<ResourceItem> getResources()- Specified by:
getResources
in interfaceIReferencedFileList
- Returns:
- All resource items pointing to the files.
-
getSearchFilename
String getSearchFilename()- Specified by:
getSearchFilename
in interfaceIReferencedFileList
- Returns:
- Pattern for searching for an attachment, if a resource item of type
EResourceItemType.ATTACHMENT_SEARCH
exists.null
or empty when no such resource item exists.
-
getUrls
- Specified by:
getUrls
in interfaceIReferencedFileList
- Returns:
- All URLs from which to read data, if a resource item of type
EResourceItemType.EXTERNAL
exists.
-