# Uses of Class
com.logicaldoc.core.folder.FolderHistory

Packages that use FolderHistory
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 class `Automation`
Please note the special annotation `AutomationDictionary` that is used to automatically put in the Dictionary whatever bean you need.
com.logicaldoc.core.document
Contains the definitions of `Document` and `Version` as well as other related objects
com.logicaldoc.core.folder
Contains the definitions of `Folder` as well as other related objects
com.logicaldoc.core.transfer

## Uses of FolderHistory in com.logicaldoc.core.automation

Methods in com.logicaldoc.core.automation with parameters of type FolderHistory
Modifier and Type
Method
Description
`String`
FolderTool.`displayUrl(FolderHistory history)`
Prints the URL to display the folder inside the User Interface

## Uses of FolderHistory in com.logicaldoc.core.document

Methods in com.logicaldoc.core.document with parameters of type FolderHistory
Modifier and Type
Method
Description
`void`
DocumentManager.`destroyDocument(long docId, FolderHistory transaction)`
Permanently deletes a document from the system, the document and all the dependent resources will not be recoverable in the future.

## Uses of FolderHistory in com.logicaldoc.core.folder

Methods in com.logicaldoc.core.folder that return types with arguments of type FolderHistory
Modifier and Type
Method
Description
`List<FolderHistory>`
FolderHistoryDAO.`findByFolderId(long folderId)`
This method selects all histories of a given folder.
`List<FolderHistory>`
HibernateFolderHistoryDAO.`findByFolderId(long folderId)`
`List<FolderHistory>`
FolderHistoryDAO.`findByFolderIdAndEvent(long folderId, String event, Date oldestDate)`
This method selects all histories of a given folder and event occurred after a given date.
`List<FolderHistory>`
HibernateFolderHistoryDAO.`findByFolderIdAndEvent(long folderId, String event, Date oldestDate)`
`List<FolderHistory>`
FolderHistoryDAO.`findByPath(String pathExpression, Date oldestDate, Collection<String> events, Integer max)`
This method finds all histories about a path (you can use expression)
`List<FolderHistory>`
HibernateFolderHistoryDAO.`findByPath(String pathExpression, Date oldestDate, Collection<String> events, Integer max)`
`List<FolderHistory>`
FolderHistoryDAO.`findByUserId(long userId)`
This method selects all histories of a given user.
`List<FolderHistory>`
HibernateFolderHistoryDAO.`findByUserId(long userId)`
`List<FolderHistory>`
FolderHistoryDAO.`findByUserIdAndEvent(long userId, String event)`
This method selects all histories of a given user and related to the given event.
`List<FolderHistory>`
HibernateFolderHistoryDAO.`findByUserIdAndEvent(long userId, String event)`
`List<FolderHistory>`
FolderHistoryDAO.`findNotNotified(Integer max)`
This method selects all histories not notified yet.
`List<FolderHistory>`
HibernateFolderHistoryDAO.`findNotNotified(Integer max)`
Methods in com.logicaldoc.core.folder with parameters of type FolderHistory
Modifier and Type
Method
Description
`void`
FolderInitializer.`afterStore(Folder document, FolderHistory transaction, Map<String,Object> dictionary)`
`void`
FolderListener.`afterStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary)`
Called after a folder is stored in the database
`void`
FolderValidator.`afterStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary)`
`void`
FolderDAO.`applyCaptureToTree(long id, FolderHistory transaction)`
Propagates the automated capture settings to the whole subree
`void`
HibernateFolderDAO.`applyCaptureToTree(long id, FolderHistory transaction)`
`void`
FolderDAO.`applyGridToTree(long rootId, FolderHistory transaction)`
Propagates the grid layout of a node to the whole sub-tree
`void`
HibernateFolderDAO.`applyGridToTree(long id, FolderHistory transaction)`
`void`
FolderDAO.`applyMetadataToTree(long id, FolderHistory transaction)`
Propagates the template metadata to the whole subree
`void`
HibernateFolderDAO.`applyMetadataToTree(long id, FolderHistory transaction)`
`void`
FolderDAO.`applySecurityToTree(long rootId, FolderHistory transaction)`
Propagates the security policies of a node to the whole sub-tree
`void`
HibernateFolderDAO.`applySecurityToTree(long rootId, FolderHistory transaction)`
`void`
FolderDAO.`applyStoreToTree(long id, FolderHistory transaction)`
Propagates the store setting to the whole subree
`void`
HibernateFolderDAO.`applyStoreToTree(long id, FolderHistory transaction)`
`void`
FolderDAO.`applyTagsToTree(long id, FolderHistory transaction)`
Propagates the tags to the whole subree
`void`
HibernateFolderDAO.`applyTagsToTree(long id, FolderHistory transaction)`
`void`
FolderInitializer.`beforeStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary)`
`void`
FolderListener.`beforeStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary)`
Called before a folder is stored in the database
`void`
FolderValidator.`beforeStore(Folder folder, FolderHistory transaction, Map<String,Object> dictionary)`
`Folder`
FolderDAO.`copy(Folder source, Folder target, String newName, boolean foldersOnly, String securityOption, FolderHistory transaction)`
Copies a folder into another folder
`Folder`
HibernateFolderDAO.`copy(Folder source, Folder target, String newName, boolean foldersOnly, String securityOption, FolderHistory transaction)`
`Folder`
FolderDAO.`create(Folder parent, Folder folderVO, boolean inheritSecurity, FolderHistory transaction)`
Creates a new folder in the parent Folder
`Folder`
HibernateFolderDAO.`create(Folder parent, Folder folderVO, boolean inheritSecurity, FolderHistory transaction)`
`Folder`
FolderDAO.`createAlias(long parentId, long foldRef, FolderHistory transaction)`
Creates a new folder folder alias
`Folder`
HibernateFolderDAO.`createAlias(long parentId, long foldRef, FolderHistory transaction)`
`Folder`
FolderDAO.`createPath(Folder parent, String path, boolean inheritSecurity, FolderHistory transaction)`
Creates the folder for the specified path.
`Folder`
HibernateFolderDAO.`createPath(Folder parent, String path, boolean inheritSecurity, FolderHistory transaction)`
`void`
FolderDAO.`delete(long id, int delCode, FolderHistory transaction)`
This method deletes the folder object and insert a new folder history entry
`void`
FolderDAO.`delete(long id, FolderHistory transaction)`
Shortcut for delete(id, 1, transaction)
`void`
HibernateFolderDAO.`delete(long folderId, int delCode, FolderHistory transaction)`
`void`
HibernateFolderDAO.`delete(long folderId, FolderHistory transaction)`
`void`
FolderDAO.`deleteAll(Collection<Folder> folders, int delCode, FolderHistory transaction)`
For each folder, save the folder delete history entry for each folder and delete the folder
`void`
FolderDAO.`deleteAll(Collection<Folder> folders, FolderHistory transaction)`
Shortcut for deleteAll(folders, 1, transaction)
`void`
HibernateFolderDAO.`deleteAll(Collection<Folder> folders, int code, FolderHistory transaction)`
`void`
HibernateFolderDAO.`deleteAll(Collection<Folder> folders, FolderHistory transaction)`
`List<Folder>`
FolderDAO.`deleteTree(long folderId, int delCode, FolderHistory transaction)`
Delete a folder and all its sub-folders that a user can delete.
`List<Folder>`
FolderDAO.`deleteTree(long folderId, FolderHistory transaction)`
Shortcut for deleteTree(folderId, 1, transaction)
`List<Folder>`
FolderDAO.`deleteTree(Folder folder, int delCode, FolderHistory transaction)`
Deletes a folder and all its sub-folders that a user can delete.
`List<Folder>`
HibernateFolderDAO.`deleteTree(long folderId, int delCode, FolderHistory transaction)`
`List<Folder>`
HibernateFolderDAO.`deleteTree(long folderId, FolderHistory transaction)`
`List<Folder>`
HibernateFolderDAO.`deleteTree(Folder folder, int delCode, FolderHistory transaction)`
`void`
FolderDAO.`merge(Folder source, Folder target, FolderHistory transaction)`
Merges the contents of two folders
`void`
HibernateFolderDAO.`merge(Folder source, Folder target, FolderHistory transaction)`
`void`
FolderDAO.`move(Folder source, Folder target, FolderHistory transaction)`
Moves a folder into another folder
`void`
HibernateFolderDAO.`move(Folder source, Folder target, FolderHistory transaction)`
`void`
FolderDAO.`restore(long folderId, long parentId, FolderHistory transaction)`
Restores a previously deleted folder
`void`
HibernateFolderDAO.`restore(long folderId, long parentId, FolderHistory transaction)`
`void`
FolderDAO.`saveFolderHistory(Folder folder, FolderHistory transaction)`
Utility method that logs into the DB the transaction that involved the passed folder.
`void`
HibernateFolderDAO.`saveFolderHistory(Folder folder, FolderHistory transaction)`
Utility method that logs into the DB the transaction that involved the passed folder.
`void`
FolderDAO.`store(Folder folder, FolderHistory transaction)`
Same as store(Folder, boolean, FolderHistory)
`void`
HibernateFolderDAO.`store(Folder folder, FolderHistory transaction)`
`void`
FolderDAO.`updateSecurityRef(long folderId, long rightsFolderId, FolderHistory transaction)`
Changes the securityRef of the given folder, all the other folders that inherits from this one will be changed accordingly.
`void`
HibernateFolderDAO.`updateSecurityRef(long folderId, long rightsFolderId, FolderHistory transaction)`
Constructors in com.logicaldoc.core.folder with parameters of type FolderHistory
Modifier
Constructor
Description
``
`FolderHistory(FolderHistory source)`

## Uses of FolderHistory in com.logicaldoc.core.transfer

Methods in com.logicaldoc.core.transfer with parameters of type FolderHistory
Modifier and Type
Method
Description
`ByteArrayOutputStream`
ZipExport.`process(FolderHistory transaction, boolean pdfConversion)`
Exports the specified folder content