Interface IMultiFileProviding
-
- All Known Implementing Classes:
MultiFile
public interface IMultiFileProvidingInterface 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
-
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
-
getResources
List<ResourceItem> getResources()
- Returns:
- a list of
ResourceItems
-
getSearchFilename
String getSearchFilename()
- Returns:
null, or the search filename term, ifResourceItem.getType()is anEResourceItemType.ATTACHMENT_SEARCHresource
-
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
-
-