Interface IMultiFileProviding
-
- All Superinterfaces:
IReferencedFileList
- All Known Implementing Classes:
MultiFile
public interface IMultiFileProviding extends IReferencedFileList
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<EAttachmentSource>getAttachmentFilter()intgetConnectionTimeout()intgetReadTimeout()List<ResourceItem>getResources()StringgetSearchFilename()List<String>getUrls()booleanisResourceItemTypeSelected(EResourceItemType resourceItemType)
-
-
-
Method Detail
-
isResourceItemTypeSelected
boolean isResourceItemTypeSelected(EResourceItemType resourceItemType)
- Parameters:
resourceItemType- a String that can be converted into aEResourceItemType- Returns:
trueif 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:
getAttachmentFilterin interfaceIReferencedFileList- Returns:
- Attachment sources to which to restrict the search for attachments, if a resource item of type
EResourceItemType.EXTERNALexists.
-
getConnectionTimeout
int getConnectionTimeout()
- Specified by:
getConnectionTimeoutin interfaceIReferencedFileList- Returns:
- a connection time-out for an external resource retrieval
-
getReadTimeout
int getReadTimeout()
- Specified by:
getReadTimeoutin interfaceIReferencedFileList- Returns:
- a read time-out for an external resource retrieval
-
getResources
List<ResourceItem> getResources()
- Specified by:
getResourcesin interfaceIReferencedFileList- Returns:
- All resource items pointing to the the files.
-
getSearchFilename
String getSearchFilename()
- Specified by:
getSearchFilenamein interfaceIReferencedFileList- Returns:
- Pattern for searching for an attachment, if a resource item of type
EResourceItemType.EXTERNALexists.nullor empty when no such resource item exists.
-
getUrls
List<String> getUrls()
- Specified by:
getUrlsin interfaceIReferencedFileList- Returns:
- All URLs from which to read data, if a resource item of type
EResourceItemType.EXTERNALexists.
-
-