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, String 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 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) voidDocumentManager.archiveDocuments(long[] docIds, DocumentHistory transaction) Archives all the documents in a folder's treevoidDocumentManagerImpl.archiveDocuments(long[] docIds, DocumentHistory transaction) longDocumentManager.archiveFolder(long folderId, DocumentHistory transaction) Archives all the documents in a folder's treelongDocumentManagerImpl.archiveFolder(long folderId, DocumentHistory transaction) voidDocumentInitializer.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) voidDocumentManager.checkin(long docId, File file, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction) Checks in the given documentvoidDocumentManager.checkin(long docId, InputStream fileInputStream, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction) Checks in the given documentvoidDocumentManagerImpl.checkin(long docId, File file, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction) voidDocumentManagerImpl.checkin(long docId, InputStream content, String filename, boolean release, AbstractDocument docVO, DocumentHistory transaction) voidDocumentManager.checkout(long docId, DocumentHistory transaction) Checks out the given documentvoidDocumentManagerImpl.checkout(long docId, DocumentHistory transaction) DocumentManager.copyToFolder(Document doc, Folder folder, DocumentHistory transaction) Copy a document to the specified folder.DocumentManagerImpl.copyToFolder(Document doc, Folder folder, DocumentHistory transaction) DocumentManager.create(File file, Document docVO, DocumentHistory transaction) Creates a new Document.DocumentManager.create(InputStream content, Document docVO, DocumentHistory transaction) Creates a new Document.DocumentManagerImpl.create(File file, Document docVO, DocumentHistory transaction) DocumentManagerImpl.create(InputStream content, Document docVO, DocumentHistory transaction) DocumentManager.createAlias(Document doc, Folder folder, String type, DocumentHistory transaction) Create an alias(shortcut) associated to the given doc to the specified folder.DocumentManagerImpl.createAlias(Document doc, Folder folder, String aliasType, DocumentHistory transaction) DocumentManager.createDownloadTicket(long docId, String suffix, Integer expireHours, Date expireDate, Integer maxDownloads, String urlPrefix, DocumentHistory transaction) Creates a new download ticket.DocumentManagerImpl.createDownloadTicket(long docId, String suffix, Integer expireHours, Date expireDate, Integer maxDownloads, String urlPrefix, DocumentHistory transaction) DocumentManager.deleteVersion(long versionId, DocumentHistory transaction) Deletes a specific version.DocumentManagerImpl.deleteVersion(long versionId, DocumentHistory transaction) intDocumentManager.enforceFilesIntoFolderStorage(long rootFolderId, DocumentHistory transaction) Moves all the files of the documents in the given tree from it's original location to the storage defined in the owning folderintDocumentManagerImpl.enforceFilesIntoFolderStorage(long rootFolderId, DocumentHistory transaction) longDocumentManager.index(long docId, String content, DocumentHistory transaction) Re-indexes an existing document in the full-text index.longDocumentManagerImpl.index(long docId, String content, DocumentHistory transaction) voidDocumentManager.lock(long docId, int status, DocumentHistory transaction) Locks the given documentvoidDocumentManagerImpl.lock(long docId, int status, DocumentHistory transaction) voidDocumentManager.makeImmutable(long docId, DocumentHistory transaction) Marks the document, with the given docId, as immutable and save the given document historyvoidDocumentManagerImpl.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 fileDocumentManagerImpl.merge(Collection<Document> documents, long targetFolderId, String fileName, DocumentHistory transaction) voidDocumentManager.moveToFolder(Document doc, Folder folder, DocumentHistory transaction) Moves a document to the specified folder.voidDocumentManagerImpl.moveToFolder(Document doc, Folder folder, DocumentHistory transaction) voidDocumentManager.promoteVersion(long docId, String version, DocumentHistory transaction) Promotes an old version to the current default one.voidDocumentManagerImpl.promoteVersion(long docId, String version, DocumentHistory transaction) voidDocumentManager.rename(long docId, String newName, DocumentHistory transaction) Rename an existing document filename.voidDocumentManagerImpl.rename(long docId, String newName, DocumentHistory transaction) DocumentManager.replaceAlias(long aliasId, DocumentHistory transaction) Replaces an alias with a copy of the original fileDocumentManagerImpl.replaceAlias(long aliasId, DocumentHistory transaction) voidDocumentManager.replaceFile(long docId, String fileVersion, File newFile, DocumentHistory transaction) Replaces the file of a given versionvoidDocumentManager.replaceFile(long docId, String fileVersion, InputStream newFile, DocumentHistory transaction) Replaces the file of a given versionvoidDocumentManagerImpl.replaceFile(long docId, String fileVersion, File newFile, DocumentHistory transaction) voidDocumentManagerImpl.replaceFile(long docId, String fileVersion, InputStream content, DocumentHistory transaction) voidDocumentManager.unlock(long docId, DocumentHistory transaction) UNChecks out the given documentvoidDocumentManagerImpl.unlock(long docId, DocumentHistory transaction) voidDocumentManager.update(Document doc, Document docVO, DocumentHistory transaction) Updates an existing document and marks it to be re-indexedvoidDocumentManagerImpl.update(Document document, Document docVO, DocumentHistory transaction) Constructors in com.logicaldoc.core.document with parameters of type DocumentHistory -
Uses of DocumentHistory in com.logicaldoc.core.document.dao
Methods in com.logicaldoc.core.document.dao 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, String event) This method selects all histories of a given document.HibernateDocumentHistoryDAO.findByDocIdAndEvent(long docId, String 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.dao with parameters of type DocumentHistoryModifier and TypeMethodDescriptionvoidDocumentDAO.archive(long docId, DocumentHistory transaction) Archives a documentvoidHibernateDocumentDAO.archive(long docId, DocumentHistory transaction) 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) voidDocumentDAO.makeImmutable(long docId, DocumentHistory transaction) Marks the document, with the given docId, as immutable.voidHibernateDocumentDAO.makeImmutable(long docId, DocumentHistory transaction) voidDocumentDAO.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) voidHibernateDocumentHistoryDAO.store(DocumentHistory history) 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) voidDocumentDAO.unsetPassword(long docId, DocumentHistory transaction) Removes the password protection from the document.voidHibernateDocumentDAO.unsetPassword(long docId, DocumentHistory transaction) intHibernateRatingDAO.updateDocumentRating(long docId, DocumentHistory transaction) intRatingDAO.updateDocumentRating(long docId, DocumentHistory transaction) Updates the document's rating with the votes average -
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