Interface ISingleFileProviding
-
- All Known Implementing Classes:
SingleFile
public interface ISingleFileProviding
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<EAttachmentSource>
getAttachmentFilter()
int
getConnectionTimeout()
int
getReadTimeout()
ResourceItem
getResource()
String
getSearchFilename()
String
getUrl()
-
-
-
Method Detail
-
getAttachmentFilter
List<EAttachmentSource> getAttachmentFilter()
- Returns:
- restrictions of type
EAttachmentSource
for the search filename term. Is only used ifResourceItem.getType()
is anEResourceItemType.ATTACHMENT_SEARCH
resource
-
getConnectionTimeout
int getConnectionTimeout()
- Returns:
- a connection time-out for an external resource retrieval
-
getReadTimeout
int getReadTimeout()
- Returns:
- a read time-out for an external resource retrieval
-
getResource
@Nullable ResourceItem getResource()
- Returns:
- The resource item for the file.
-
getSearchFilename
String getSearchFilename()
- Returns:
null
, or the search filename term, ifResourceItem.getType()
is anEResourceItemType.ATTACHMENT_SEARCH
resource
-
getUrl
String getUrl()
- Returns:
null
, or the resource path, ifResourceItem.getType()
is anEResourceItemType.EXTERNAL
resource.
-
-