Uses of Class
com.logicaldoc.core.document.DocumentHistory
Packages that use DocumentHistory
Package
Description
Automation subsystem that allows you to program your own logic inside the
platform.
The automation engine can be accessed through the class
Please note the special annotation
The automation engine can be accessed through the class
Automation Please note the special annotation
AutomationDictionary that is used to
automatically put in the Dictionary whatever bean you need.Machinery for converting documents to different formats.
-
Uses of DocumentHistory in com.logicaldoc.core.automation
Methods in com.logicaldoc.core.automation that return types with arguments of type DocumentHistoryModifier and TypeMethodDescriptionDocTool.getHistories(long docId, DocumentEvent event) Retrieve the list of events of a documentMethods in com.logicaldoc.core.automation with parameters of type DocumentHistoryModifier and TypeMethodDescriptionDocTool.displayUrl(DocumentHistory history) Builds the display url of a document(display permalink)DocTool.downloadUrl(DocumentHistory history) Builds the download url of a document(download permalink)voidDocTool.store(Document doc, DocumentHistory transaction) Saves / updates a document into the database -
Uses of DocumentHistory in com.logicaldoc.core.conversion
Methods in com.logicaldoc.core.conversion with parameters of type DocumentHistoryModifier and TypeMethodDescriptionFormatConverterManager.convert(Document document, String fileVersion, String format, DocumentHistory transaction) Converts a document into another format and saves the resulting file in the same foldervoidFormatConverterManager.convertToFile(Document document, String fileVersion, File out, DocumentHistory transaction) Converts a document and writes the content of the conversion into a file. -
Uses of DocumentHistory in com.logicaldoc.core.document
Methods in com.logicaldoc.core.document that return types with arguments of type DocumentHistoryModifier and TypeMethodDescriptionDocumentHistoryDAO.findByDocId(long docId) This method selects all histories of a given document.HibernateDocumentHistoryDAO.findByDocId(long docId) DocumentHistoryDAO.findByDocIdAndEvent(long docId, DocumentEvent event) This method selects all histories of a given document.HibernateDocumentHistoryDAO.findByDocIdAndEvent(long docId, DocumentEvent event) DocumentHistoryDAO.findByFolderId(long folderId) This method selects all histories of a given folder.HibernateDocumentHistoryDAO.findByFolderId(long folderId) DocumentHistoryDAO.findByPath(String pathExpression, Date oldestDate, Collection<String> events, Integer max) This method finds all histories about a path (you can use expression)HibernateDocumentHistoryDAO.findByPath(String pathExpression, Date oldestDate, Collection<String> events, Integer max) DocumentHistoryDAO.findByUserId(long userId) This method selects all histories of a given user.HibernateDocumentHistoryDAO.findByUserId(long userId) DocumentHistoryDAO.findByUserIdAndEvent(long userId, String event, String sessionId) This method selects all histories of a given user and related to the given event.HibernateDocumentHistoryDAO.findByUserIdAndEvent(long userId, String event, String sessionId) DocumentHistoryDAO.findNotNotified(Integer max) This method selects all histories not notified yet.HibernateDocumentHistoryDAO.findNotNotified(Integer max) Methods in com.logicaldoc.core.document with parameters of type DocumentHistoryModifier and TypeMethodDescriptionvoidDocumentInitializer.afterCheckin(Document document, DocumentHistory transaction, Map<String, Object> dictionary) voidDocumentListener.afterCheckin(Document document, DocumentHistory transaction, Map<String, Object> dictionary) Called after a document is checked invoidDocumentValidator.afterCheckin(Document document, DocumentHistory transaction, Map<String, Object> dictionary) voidDocumentInitializer.afterSaveHistory(Document document, DocumentHistory event, Map<String, Object> dictionary) voidDocumentListener.afterSaveHistory(Document document, DocumentHistory event, Map<String, Object> dictionary) Called after an event has been storedvoidDocumentValidator.afterSaveHistory(Document document, DocumentHistory event, Map<String, Object> dictionary) voidDocumentInitializer.afterStore(Document document, DocumentHistory transaction, Map<String, Object> dictionary) voidDocumentListener.afterStore(Document document, DocumentHistory transaction, Map<String, Object> dictionary) Called after a document is stored in the databasevoidDocumentValidator.afterStore(Document document, DocumentHistory transaction, Map<String, Object> dictionary) voidDocumentDAO.applyParentFolderSecurity(long docId, DocumentHistory transaction) Replaces the document's security policies with those from the parent foldervoidHibernateDocumentDAO.applyParentFolderSecurity(long docId, DocumentHistory transaction) voidDocumentDAO.archive(long docId, DocumentHistory transaction) Archives a documentvoidHibernateDocumentDAO.archive(long docId, DocumentHistory transaction) voidDocumentManager.archiveDocuments(Set<Long> docIds, DocumentHistory transaction) Archives all the documents in a folder's treelongDocumentManager.archiveFolder(long folderId, DocumentHistory transaction) Archives all the documents in a folder's treevoidDocumentInitializer.beforeCheckin(Document document, DocumentHistory transaction, Map<String, Object> dictionary) voidDocumentListener.beforeCheckin(Document document, DocumentHistory transaction, Map<String, Object> dictionary) Called before a document is checked invoidDocumentValidator.beforeCheckin(Document document, DocumentHistory transaction, Map<String, Object> dictionary) voidDocumentInitializer.beforeStore(Document document, DocumentHistory transaction, Map<String, Object> dictionary) voidDocumentListener.beforeStore(Document document, DocumentHistory transaction, Map<String, Object> dictionary) Called before a document is stored in the databasevoidDocumentValidator.beforeStore(Document document, DocumentHistory transaction, Map<String, Object> dictionary) DocumentManager.checkin(long docId, File file, String filename, boolean release, Document docVO, DocumentHistory transaction) Checks in the given documentDocumentManager.checkin(long docId, InputStream content, String filename, boolean release, Document docVO, DocumentHistory transaction) Checks in the given documentvoidDocumentManager.checkout(long docId, DocumentHistory transaction) Checks out the given documentDocumentManager.copyToFolder(Document doc, Folder folder, DocumentHistory transaction, boolean links, boolean notes, boolean security) Copy a document to the specified folder.DocumentManager.create(File file, Document docVO, DocumentHistory transaction) Creates a new Document.DocumentManager.create(InputStream content, Document docVO, DocumentHistory transaction) Creates a new Document.DocumentManager.createAlias(Document doc, Folder folder, String aliasType, DocumentHistory transaction) Create an alias(shortcut) associated to the given doc to the specified folder.DocumentManager.createTicket(Ticket ticket, DocumentHistory transaction) Creates a new ticket.voidDocumentDAO.delete(long docId, int delCode, DocumentHistory transaction) This method deletes the document object and insert a new document history entry.voidDocumentDAO.delete(long docId, DocumentHistory transaction) Shortcut for delete(docId, 1, transaction)voidHibernateDocumentDAO.delete(long docId, int delCode, DocumentHistory transaction) voidHibernateDocumentDAO.delete(long docId, DocumentHistory transaction) voidDocumentDAO.deleteAll(Collection<Document> documents, int delCode, DocumentHistory transaction) Deletes all documents form the database and modifies the custom ids of all documentsvoidDocumentDAO.deleteAll(Collection<Document> documents, DocumentHistory transaction) Shortcut for deleteAll(documents, 1, transaction)voidHibernateDocumentDAO.deleteAll(Collection<Document> documents, int delCode, DocumentHistory transaction) voidHibernateDocumentDAO.deleteAll(Collection<Document> documents, DocumentHistory transaction) DocumentManager.deleteVersion(long versionId, DocumentHistory transaction) Deletes a specific version.intDocumentManager.enforceFilesIntoFolderStore(long rootFolderId, DocumentHistory transaction) Moves all the files of the documents in the given tree from it's original location to the store defined in the owning folderlongDocumentManager.index(long docId, String content, DocumentHistory transaction) Re-indexes an existing document in the full-text index.voidDocumentManager.lock(long docId, DocumentStatus status, DocumentHistory transaction) Locks the given documentvoidDocumentDAO.makeImmutable(long docId, DocumentHistory transaction) Marks the document, with the given docId, as immutable.voidDocumentManager.makeImmutable(long docId, DocumentHistory transaction) Marks the document, with the given docId, as immutable and save the given document historyvoidHibernateDocumentDAO.makeImmutable(long docId, DocumentHistory transaction) DocumentManager.merge(Collection<Document> documents, long targetFolderId, String fileName, DocumentHistory transaction) Merges a set of documents into a single PDF fileDocumentManager.moveToFolder(Document doc, Folder folder, DocumentHistory transaction) Moves a document to the specified folder.voidDocumentManager.promoteVersion(long docId, String version, DocumentHistory transaction) Promotes an old version to the current default one.DocumentManager.rename(long docId, String newName, DocumentHistory transaction) Rename an existing document filename.DocumentManager.replaceAlias(long aliasId, DocumentHistory transaction) Replaces an alias with a copy of the original fileDocumentManager.replaceFile(long docId, String fileVersion, File newFile, DocumentHistory transaction) Replaces the file of a given versionDocumentManager.replaceFile(long docId, String fileVersion, InputStream content, DocumentHistory transaction) Replaces the file of a given versionvoidDocumentDAO.restore(long docId, long folderId, DocumentHistory transaction) Restores a previously deleted documentvoidHibernateDocumentDAO.restore(long docId, long folderId, DocumentHistory transaction) voidDocumentDAO.saveDocumentHistory(Document doc, DocumentHistory transaction) Saves a document's historyvoidHibernateDocumentDAO.saveDocumentHistory(Document doc, DocumentHistory transaction) voidDocumentDAO.setPassword(long docId, String password, DocumentHistory transaction) Protects the document with a password.voidHibernateDocumentDAO.setPassword(long docId, String password, DocumentHistory transaction) voidDocumentDAO.store(Document doc, DocumentHistory transaction) This method persists the document object and insert a new document history entryvoidDocumentNoteDAO.store(DocumentNote note, DocumentHistory transaction) Stores a note and saves the document's historyvoidHibernateDocumentDAO.store(Document doc, DocumentHistory transaction) voidHibernateDocumentNoteDAO.store(DocumentNote note, DocumentHistory transaction) voidHibernateRatingDAO.store(Rating rating, DocumentHistory transaction) voidRatingDAO.store(Rating rating, DocumentHistory transaction) Stores a rating and saves the document's historyvoidDocumentDAO.unarchive(long docId, DocumentHistory transaction) Restores a previously archived documentvoidHibernateDocumentDAO.unarchive(long docId, DocumentHistory transaction) voidDocumentManager.unlock(long docId, DocumentHistory transaction) Unchecks out the given documentvoidDocumentDAO.unsetPassword(long docId, DocumentHistory transaction) Removes the password protection from the document.voidHibernateDocumentDAO.unsetPassword(long docId, DocumentHistory transaction) voidDocumentManager.update(Document document, Document docVO, DocumentHistory transaction) Updates an existing document and marks it to be re-indexedintHibernateRatingDAO.updateDocumentRating(long docId, DocumentHistory transaction) intRatingDAO.updateDocumentRating(long docId, DocumentHistory transaction) Updates the document's rating with the votes averageConstructors in com.logicaldoc.core.document with parameters of type DocumentHistory -
Uses of DocumentHistory in com.logicaldoc.core.ticket
Methods in com.logicaldoc.core.ticket with parameters of type DocumentHistoryModifier and TypeMethodDescriptionvoidHibernateTicketDAO.store(Ticket entity, DocumentHistory transaction) voidTicketDAO.store(Ticket ticket, DocumentHistory transaction) This method persists the download ticket object and insert a new document history entry -
Uses of DocumentHistory in com.logicaldoc.core.transfer
Methods in com.logicaldoc.core.transfer with parameters of type DocumentHistoryModifier and TypeMethodDescriptionZipExport.process(Long[] docIds, boolean pdfConversion, DocumentHistory transaction) Exports a selection of documentsvoidZipExport.process(Long[] docIds, OutputStream out, boolean pdfConversion, DocumentHistory transaction) Exports a selection of documents