Class DocumentVersionReference

  • All Implemented Interfaces:
    Serializable, Cloneable, Comparable<org.xwiki.model.reference.EntityReference>

    @Deprecated(since="14.8RC1")
    public class DocumentVersionReference
    extends org.xwiki.model.reference.DocumentVersionReference
    Deprecated.
    Use DocumentVersionReference instead.
    A reference to a document version.
    Since:
    7.0RC1
    Version:
    $Id: f18aed37a8899989cbd8a5c9d6ea900ed1700668 $
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.xwiki.model.reference.DocumentReference

        TYPE_PROVIDER
      • Fields inherited from class org.xwiki.model.reference.EntityReference

        TOSTRING_SERIALIZER
    • Method Summary

      • Methods inherited from class org.xwiki.model.reference.DocumentVersionReference

        getVersion, removeVersion
      • Methods inherited from class org.xwiki.model.reference.DocumentReference

        getLastSpaceReference, getLocalDocumentReference, getLocaleDocumentReference, getSpaceReferences, getWikiReference, replaceParent, replaceParent, setParent, setType, setWikiReference, toString, withoutLocale
      • Methods inherited from class org.xwiki.model.reference.AbstractLocalizedEntityReference

        getLocale, setLocale, setParameter
      • Methods inherited from class org.xwiki.model.reference.EntityReference

        appendParent, compareTo, equals, equals, equals, equalsNonRecursive, extractFirstReference, extractReference, getName, getParameter, getParameters, getParent, getReversedReferenceChain, getRoot, getType, hashCode, hasParent, removeParent, setName, setParameters, size
    • Constructor Detail

      • DocumentVersionReference

        public DocumentVersionReference​(org.xwiki.model.reference.DocumentReference documentReference,
                                        Serializable version)
        Deprecated.
        Creates a new reference to the specified document version.
        Parameters:
        documentReference - the document reference
        version - the document version
      • DocumentVersionReference

        public DocumentVersionReference​(org.xwiki.model.reference.DocumentReference documentReference)
        Deprecated.
        Cast a DocumentReference to a DocumentVersionReference.
        Parameters:
        documentReference - the document reference to cast