Uses of Class
com.logicaldoc.impex.Archive
-
Uses of Archive in com.logicaldoc.impex
Modifier and TypeMethodDescriptionArchiveDAO.findByName
(String name, long tenantId) Retrieves the archive by the given nameHibernateArchiveDAO.findByName
(String name, long tenantId) Index.getArchive()
IndexHandler.getArchive()
Modifier and TypeMethodDescriptionArchiveDAO.findByMode
(int mode, Long tenantId) Retrieves all the archive with the given modeHibernateArchiveDAO.findByMode
(int mode, Long tenantId) ArchiveDAO.findByModeAndName
(int mode, String name, Long tenantId) Retrieves all the archive with the given mode and the given nameHibernateArchiveDAO.findByModeAndName
(int mode, String name, Long tenantId) ArchiveDAO.findByModeAndStatus
(int mode, int status, Long tenantId) Retrieves all the archive with the given mode and the given statusHibernateArchiveDAO.findByModeAndStatus
(int mode, int status, Long tenantId) ArchiveDAO.findByModeAndStatusAndType
(int mode, int status, int type, Long tenantId) Retrieves all the archive with the given mode and the given typeHibernateArchiveDAO.findByModeAndStatusAndType
(int mode, int status, int type, Long tenantId) ArchiveDAO.findByModeAndType
(int mode, int type, Long tenantId) Retrieves all the archive with the given mode and the given typeHibernateArchiveDAO.findByModeAndType
(int mode, int type, Long tenantId) ArchiveDAO.findByStatus
(int status, Long tenantId) Retrieves all the archive with the given statusHibernateArchiveDAO.findByStatus
(int status, Long tenantId) Modifier and TypeMethodDescriptionboolean
ArchiveManager.addEntry
(Archive archive, com.logicaldoc.core.document.Version version, com.logicaldoc.core.security.user.User user, String sid) Adds a new entry taking care of locking the document, a default comment will be usedboolean
ArchiveManager.addEntry
(Archive archive, com.logicaldoc.core.document.Version version, com.logicaldoc.core.security.user.User user, String comment, String sid) Adds a new entry taking care of locking the documentvoid
ArchiveCacheManager.deleteCache
(Archive archive) ArchiveManager.getArchiveDirectory
(Archive archive) Retrieves the archive directory from/in which will be import/copied the archive's documentRetrieves the cache for the specified archivevoid
ArchiveDAO.initialize
(Archive archive) Initializes lazy loaded collectionsvoid
HibernateArchiveDAO.initialize
(Archive archive) void
Index.setArchive
(Archive archive) void
This method persists the entity object and updates the whole sizevoid
void
long
ArchiveImporter.updateSizeAndType
(Archive archive) Used to update the archive number of documents and the archive type reading the attributes 'count' on index filevoid
ArchiveManager.writeHtmlIndex
(Archive archive) Writes the index.html file.void
ArchiveManager.writeIndex
(Archive archive) Writes the XML and CSV index files for the archive.void
ArchiveManager.writeIndex
(Archive archive, Writer writer) Writes the XML index file for the archive in the specified writerModifierConstructorDescriptionIndexImportHandler
(Archive archive, ArchiveImporter importer, Map<String, com.logicaldoc.core.metadata.Template> templates, Collection<com.logicaldoc.core.folder.Folder> workspaces, com.logicaldoc.core.security.Tenant tenant)