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 of 1.
    Since:
    8.1.0
    Author:
    XIMA MEDIA GmbH
    • 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 an attachment item of type SEARCH 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 an attachment item of type SEARCH exists.
        Returns:
        The attachment types to which to limit the search for attachments.