Class VoidAttachmentVersioningStore.VoidAttachmentArchive

  • All Implemented Interfaces:
    Cloneable
    Enclosing class:
    VoidAttachmentVersioningStore

    public static class VoidAttachmentVersioningStore.VoidAttachmentArchive
    extends XWikiAttachmentArchive
    Void realization of AttachmentArchive. It says what there is only one version of attachment - latest. Class is public because used in super.clone() via getClass().newInstance()
    • Constructor Detail

      • VoidAttachmentArchive

        public VoidAttachmentArchive()
        Default constructor. Used in super.clone().
      • VoidAttachmentArchive

        public VoidAttachmentArchive​(XWikiAttachment attachment)
        Helper constructor.
        Parameters:
        attachment - attachment of this archive