Uses of Class
com.logicaldoc.core.document.DocumentHistory
-
Packages that use DocumentHistory Package Description com.logicaldoc.core.automation Automation subsystem that allows you to program your own logic inside the platform.
The automation engine can be accessed through the classAutomation
Please note the special annotationAutomationDictionarythat is used to automatically put in the Dictionary whatever bean you need.com.logicaldoc.core.conversion Machinery for converting documents to different formats.com.logicaldoc.core.document com.logicaldoc.core.document.dao com.logicaldoc.core.ticket com.logicaldoc.core.transfer -
-
Uses of DocumentHistory in com.logicaldoc.core.automation
Methods in com.logicaldoc.core.automation that return types with arguments of type DocumentHistory Modifier and Type Method Description List<DocumentHistory>DocTool. getHistories(long docId, String event)Retrieve the list of events of a documentMethods in com.logicaldoc.core.automation with parameters of type DocumentHistory Modifier and Type Method Description StringDocTool. displayUrl(DocumentHistory history)Builds the display url of a document(display permalink)StringDocTool. 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 DocumentHistory Modifier and Type Method Description DocumentFormatConverterManager. 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 DocumentHistory Modifier and Type Method Description voidDocumentInitializer. 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)DocumentDocumentManager. copyToFolder(Document doc, Folder folder, DocumentHistory transaction)Copy a document to the specified folder.DocumentDocumentManagerImpl. copyToFolder(Document doc, Folder folder, DocumentHistory transaction)DocumentDocumentManager. create(File file, Document docVO, DocumentHistory transaction)Creates a new Document.DocumentDocumentManager. create(InputStream content, Document docVO, DocumentHistory transaction)Creates a new Document.DocumentDocumentManagerImpl. create(File file, Document docVO, DocumentHistory transaction)DocumentDocumentManagerImpl. create(InputStream content, Document docVO, DocumentHistory transaction)DocumentDocumentManager. createAlias(Document doc, Folder folder, String type, DocumentHistory transaction)Create an alias(shortcut) associated to the given doc to the specified folder.DocumentDocumentManagerImpl. createAlias(Document doc, Folder folder, String aliasType, DocumentHistory transaction)TicketDocumentManager. createDownloadTicket(long docId, String suffix, Integer expireHours, Date expireDate, Integer maxDownloads, String urlPrefix, DocumentHistory transaction)Creates a new download ticket.TicketDocumentManagerImpl. createDownloadTicket(long docId, String suffix, Integer expireHours, Date expireDate, Integer maxDownloads, String urlPrefix, DocumentHistory transaction)VersionDocumentManager. deleteVersion(long versionId, DocumentHistory transaction)Deletes a specific version.VersionDocumentManagerImpl. 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)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)DocumentDocumentManager. merge(Collection<Document> documents, long targetFolderId, String fileName, DocumentHistory transaction)Merges a set of documents into a single PDF fileDocumentDocumentManagerImpl. 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)longDocumentManager. reindex(long docId, String content, DocumentHistory transaction)Re-indexes an existing document in the full-text index.longDocumentManagerImpl. reindex(long docId, String content, DocumentHistory transaction)voidDocumentManager. rename(long docId, String newName, DocumentHistory transaction)Rename an existing document filename.voidDocumentManagerImpl. rename(long docId, String newName, DocumentHistory transaction)DocumentDocumentManager. replaceAlias(long aliasId, DocumentHistory transaction)Replaces an alias with a copy of the original fileDocumentDocumentManagerImpl. 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 Constructor Description DocumentHistory(DocumentHistory source) -
Uses of DocumentHistory in com.logicaldoc.core.document.dao
Methods in com.logicaldoc.core.document.dao that return types with arguments of type DocumentHistory Modifier and Type Method Description List<DocumentHistory>DocumentHistoryDAO. findByDocId(long docId)This method selects all histories of a given document.List<DocumentHistory>HibernateDocumentHistoryDAO. findByDocId(long docId)List<DocumentHistory>DocumentHistoryDAO. findByDocIdAndEvent(long docId, String event)This method selects all histories of a given document.List<DocumentHistory>HibernateDocumentHistoryDAO. findByDocIdAndEvent(long docId, String event)List<DocumentHistory>DocumentHistoryDAO. findByFolderId(long folderId)This method selects all histories of a given folder.List<DocumentHistory>HibernateDocumentHistoryDAO. findByFolderId(long folderId)List<DocumentHistory>DocumentHistoryDAO. findByPath(String pathExpression, Date oldestDate, Collection<String> events, Integer max)This method finds all histories about a path (you can use expression)List<DocumentHistory>HibernateDocumentHistoryDAO. findByPath(String pathExpression, Date oldestDate, Collection<String> events, Integer max)List<DocumentHistory>DocumentHistoryDAO. findByUserId(long userId)This method selects all histories of a given user.List<DocumentHistory>HibernateDocumentHistoryDAO. findByUserId(long userId)List<DocumentHistory>DocumentHistoryDAO. findByUserIdAndEvent(long userId, String event, String sessionId)This method selects all histories of a given user and related to the given event.List<DocumentHistory>HibernateDocumentHistoryDAO. findByUserIdAndEvent(long userId, String event, String sessionId)List<DocumentHistory>DocumentHistoryDAO. findNotNotified(Integer max)This method selects all histories not notified yet.List<DocumentHistory>HibernateDocumentHistoryDAO. findNotNotified(Integer max)Methods in com.logicaldoc.core.document.dao with parameters of type DocumentHistory Modifier and Type Method Description voidDocumentDAO. 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 DocumentHistory Modifier and Type Method Description voidHibernateTicketDAO. 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 DocumentHistory Modifier and Type Method Description ByteArrayOutputStreamZipExport. 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
-