Interface AttachmentDaoInternal

All Superinterfaces:
AttachmentDao
All Known Implementing Classes:
AbstractDelegatingAttachmentDao, AbstractHibernateAttachmentDao, NonTransactionalHibernateAttachmentDao, ReadThroughCachingAttachmentDao, TransactionalHibernateAttachmentDao

public interface AttachmentDaoInternal extends AttachmentDao
Dao for Attachments.
Since:
6.12.0
  • Method Details

    • 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
    • findLatestVersionsIterator

      Iterator<Attachment> findLatestVersionsIterator()
      Returns an iterator for the latest versions of the current persistent class.
      Specified by:
      findLatestVersionsIterator in interface AttachmentDao
      Returns:
      Iterator to the results
      Since:
      9.0