DocumentRepository
DocumentRepository is the repository for using simple CRUD operations in Document. The implementations of this interface shouldn't control order (sorting) or oder configurations, those need to be passed as parameters.
Functions
Deleted all the documents of a User
Moves all tickets from one user to another. Use this we would like to pass all the data of documents to another user. When the offline user becomes a new online user, all documents should be moved to the new online user.
Saves document. Both with content and meta data.
Saves the document meta data. Use this was updating the content of the document is not necessary. This is a much lighter operation than saveDocument, because it is not necessary to save/update all lines of content.
Saves of StoryStep of a document
Updates one StoryStep of a document.