Interface ISingleFileProviding
- All Superinterfaces:
IReferencedFileList
- All Known Implementing Classes:
SingleFile
Interface for a POJO view model class that describes a single file that can be selected by the user.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
-
Method Details
-
getResource
- Returns:
- The resource item for the file.
-
getResources
- Specified by:
getResourcesin interfaceIReferencedFileList- Returns:
- All resource items pointing to the files.
-
getUrl
String getUrl()- Returns:
null, or the resource path, ifResourceItem.getType()is anEResourceItemType.EXTERNALresource.
-
getUrls
- Specified by:
getUrlsin interfaceIReferencedFileList- Returns:
- All URLs from which to read data, if a resource item of type
EResourceItemType.EXTERNALexists.
-
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
-
getSearchFilename
String getSearchFilename()- Specified by:
getSearchFilenamein interfaceIReferencedFileList- Returns:
- Pattern for searching for an attachment, if a resource item of type
EResourceItemType.ATTACHMENT_SEARCHexists.nullor empty when no such resource item exists.
-