Interface IMultiFileProviding
-
- All Known Implementing Classes:
MultiFile
public interface IMultiFileProviding
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()
int
getConnectionTimeout()
int
getReadTimeout()
List<ResourceItem>
getResources()
String
getSearchFilename()
List<String>
getUrls()
boolean
isResourceItemTypeSelected(EResourceItemType resourceItemType)
-
-
-
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
-
getResources
List<ResourceItem> getResources()
- Returns:
- a list of
ResourceItem
s
-
getSearchFilename
String getSearchFilename()
- Returns:
null
, or the search filename term, ifResourceItem.getType()
is anEResourceItemType.ATTACHMENT_SEARCH
resource
-
isResourceItemTypeSelected
boolean isResourceItemTypeSelected(EResourceItemType resourceItemType)
- 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
-
-