Class TransactionalHibernateAttachmentDao

    • Constructor Detail

      • TransactionalHibernateAttachmentDao

        public TransactionalHibernateAttachmentDao()
    • Method Detail

      • setDataDao

        public void setDataDao​(TransactionalAttachmentDataDao dao)
        We override the parent setter here so we are certain we're getting a transactional AttachmentDataDao to work with
        Parameters:
        dao -
      • removeAttachmentFromServer

        public void removeAttachmentFromServer​(Attachment attachment)
        Description copied from interface: AttachmentDao
        Removes attachment (and all of its versions)
        Parameters:
        attachment - the Attachment to be removed
      • removeAllVersionsFromServer

        public List<Attachment> removeAllVersionsFromServer​(Attachment attachment)
        Description copied from interface: AttachmentDaoInternal
        Removes all versions of an attachment
        Parameters:
        attachment - the Attachment to be removed
        Returns:
        all versions that have been removed