Class YjsLexicalCaller

java.lang.Object
ch.colabproject.colab.api.controller.document.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 Details

    • YjsLexicalCaller

      public YjsLexicalCaller()
      Constructor.

      Initialize the client and base URL

  • Method Details

    • 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