Class YjsLexicalCaller
java.lang.Object
ch.colabproject.colab.api.controller.document.YjsLexicalCaller
To manage the data in the colab-yjs server (that is used to store the lexical
text editor data).
- Author:
- sandra
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsendDuplicationRequest(Long srcOwnerId, LexicalDataOwnershipKind srcOwnerKind, Long destOwnerId, LexicalDataOwnershipKind destOwnerkind) Send a request to duplicate a lexical data of a source owner to a destination owner
-
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 ownersrcOwnerKind- the kind of the original ownerdestOwnerId- the id of the new ownerdestOwnerkind- the kind of the new owner
-