Interface IReferencedAttachmentList
-
- All Known Subinterfaces:
IMultiAttachmentProviding
,ISingleAttachmentProviding
- All Known Implementing Classes:
MultiAttachment
,SingleAttachment
public interface IReferencedAttachmentList
Base interface for a POJO view model class, both for selecting a single attachment and for selecting multiple attachments within the workflow. A single attachment should be treated as an attachment count of1
.- Since:
- 8.1.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<AttachmentItem>
getAttachments()
Gets all attachment items pointing to the selected attachments.String
getSearchFilenamePattern()
Gets the pattern for searching for an attachment.List<EAttachmentSource>
getSearchSourceTypes()
Gets the attachment sources to which to restrict the search for attachments.
-
-
-
Method Detail
-
getAttachments
@Nonnull List<AttachmentItem> getAttachments()
Gets all attachment items pointing to the selected attachments.- Returns:
- All attachment items.
-
getSearchFilenamePattern
String getSearchFilenamePattern()
Gets the pattern for searching for an attachment. Applies only if anattachment item
of typeSEARCH
exists.null
or empty when no such attachment item exists.- Returns:
- Pattern for searching for an attachment.
-
getSearchSourceTypes
@Nonnull List<EAttachmentSource> getSearchSourceTypes()
Gets the attachment sources to which to restrict the search for attachments. Applies only if anattachment item
of typeSEARCH
exists.- Returns:
- The attachment types to which to limit the search for attachments.
-
-