Locating a document by ID in Java classes

If you have saved or acquired the note ID or universal ID of a document, you can find a single document by specifying the ID in getDocumentByID or getDocumentByUNID of Database. You can get these IDs from getNoteID and getUniversalID in Document.