Class YjsLexicalCaller


  • public class YjsLexicalCaller
    extends Object
    To manage the data in the colab-yjs server (that is used to store the lexical text editor data).
    Author:
    sandra
    • Constructor Detail

      • YjsLexicalCaller

        public YjsLexicalCaller()
        Constructor.

        Initialize the client and base URL

    • Method Detail

      • sendDuplicationRequest

        public void sendDuplicationRequest​(Long srcOwnerId,
                                           LexicalDataOwnershipKind srcOwnerKind,
                                           Long destOwnerId,
                                           LexicalDataOwnershipKind destOwnerkind)
        Send a request to duplicate a lexical data of a source owner to a destination owner
        Parameters:
        srcOwnerId - the id of the original owner
        srcOwnerKind - the kind of the original owner
        destOwnerId - the id of the new owner
        destOwnerkind - the kind of the new owner