Class EntityInstanceOutputProperties

    • Constructor Detail

      • EntityInstanceOutputProperties

        public EntityInstanceOutputProperties()
    • Method Detail

      • getSaveComment

        public String getSaveComment()
        Returns:
        the comment to use when saving documents
      • setSaveComment

        public void setSaveComment​(String saveComment)
        Parameters:
        saveComment - the version comment to use when saving documents
      • getAuthor

        public org.xwiki.model.reference.DocumentReference getAuthor()
        Returns:
        the author to use when saving documents
      • setAuthor

        public void setAuthor​(org.xwiki.model.reference.DocumentReference author)
        Parameters:
        author - the author to use when saving documents
      • isAuthorSet

        public boolean isAuthorSet()
        Returns:
        true if the author have been explicitly set
      • isVersionPreserved

        public boolean isVersionPreserved()
        Returns:
        Indicate if the version related information coming from the events should be kept
      • setVersionPreserved

        public void setVersionPreserved​(boolean versionPreserved)
        Parameters:
        versionPreserved - Indicate if the version related information coming from the events should be kept