Interface AttachmentDaoInternal

    • Method Detail

      • getLatestVersionsOfAttachmentsWithAnyStatusForContainers

        List<Attachment> getLatestVersionsOfAttachmentsWithAnyStatusForContainers​(Iterable<? extends ContentEntityObject> contentEntityObjects)
        Retrieves the latest versions of all attachments for all CEOs provided (including trashed)
        Parameters:
        contentEntityObjects - CEOs to retrieve attachements for
        Returns:
        a List of Attachment objects
        Since:
        6.12.0
      • removeAllVersionsFromServer

        List<Attachment> removeAllVersionsFromServer​(Attachment attachment)
        Removes all versions of an attachment
        Parameters:
        attachment - the Attachment to be removed
        Returns:
        all versions that have been removed
        Since:
        7.14.0