Class XWikiRCSNodeId

    • Constructor Detail

      • XWikiRCSNodeId

        public XWikiRCSNodeId()
        Default constructor used in Hibernate to load this class.
      • XWikiRCSNodeId

        public XWikiRCSNodeId​(WikiReference wikiReference,
                              long docId,
                              org.suigeneris.jrcs.rcs.Version version)
        Parameters:
        wikiReference - the wiki of the document
        docId - the local identifier of the document
        version - the version of document
        Since:
        13.10.7, 14.4.1, 14.5
      • XWikiRCSNodeId

        @Deprecated(since="13.10.7")
        public XWikiRCSNodeId​(long docId,
                              org.suigeneris.jrcs.rcs.Version version)
        Deprecated.
        since 13.10.7, 14.4.1, 14.5, use XWikiRCSNodeId(WikiReference, long, Version) instead
        Parameters:
        docId - the local identifier of the document
        version - the version of document
    • Method Detail

      • getWikiReference

        public WikiReference getWikiReference()
        Returns:
        the reference of the wiki where this node is located or null if unknown
        Since:
        13.10.7, 14.4.1, 14.5
      • setWikiReference

        public void setWikiReference​(WikiReference wikiReference)
        Parameters:
        wikiReference - the reference of the wiki where this node is located
      • getVersion

        public org.suigeneris.jrcs.rcs.Version getVersion()
        Returns:
        version of document
      • setVersion

        protected void setVersion​(org.suigeneris.jrcs.rcs.Version ver)
        Parameters:
        ver - - version of document
      • getVersion1

        protected int getVersion1()
        Returns:
        1st number in version used in Hibernate to store this class
      • getVersion2

        protected int getVersion2()
        Returns:
        2nd number in version used in Hibernate to store this class
      • setVersion1

        protected void setVersion1​(int v1)
        Parameters:
        v1 - = 1st number in version used in Hibernate to load this class
      • setVersion2

        protected void setVersion2​(int v2)
        Parameters:
        v2 - = 2nd number in version used in Hibernate to load this class