Interface ISingleFileProviding
-
- All Known Implementing Classes:
SingleFile
public interface ISingleFileProvidingInterface 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()intgetConnectionTimeout()intgetReadTimeout()ResourceItemgetResource()StringgetSearchFilename()StringgetUrl()
-
-
-
Method Detail
-
getAttachmentFilter
List<EAttachmentSource> getAttachmentFilter()
- Returns:
- restrictions of type
EAttachmentSourcefor the search filename term. Is only used ifResourceItem.getType()is anEResourceItemType.ATTACHMENT_SEARCHresource
-
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_SEARCHresource
-
getUrl
String getUrl()
- Returns:
null, or the resource path, ifResourceItem.getType()is anEResourceItemType.EXTERNALresource.
-
-