Uses of Class
com.logicaldoc.core.folder.Folder
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.Classes that model emails and messages and the machinery to work with them.
Contains the definitions of
Folder
as well
as other related objectsGWT services implementations.
-
Uses of Folder in com.logicaldoc.cmis
-
Uses of Folder in com.logicaldoc.core.automation
Modifier and TypeMethodDescriptionFolderTool.copy
(Folder source, String targetPath, boolean foldersOnly, String securityOption, String username) Copies a folder into another folderDocTool.createPath
(Document doc, String targetPath, String username) Creates a path, all existing nodes in the specified path will be reusedFolderTool.createPath
(Folder folder, String targetPath, String username) Creates a path, all existing nodes in the specified path will be reusedFolderTool.findById
(long id) Finds the folder by it's identifierFolderTool.findByPath
(String path) Finds the folder by it's pathFolderTool.findByPath
(String path, Long tenantId) Finds the folder by it's pathModifier and TypeMethodDescriptionFolderTool.copy
(Folder source, String targetPath, boolean foldersOnly, String securityOption, String username) Copies a folder into another folderDocTool.createAlias
(Document originalDoc, Folder targetFolder, String type, String username) Creates an alias to a documentFolderTool.createPath
(Folder folder, String targetPath, String username) Creates a path, all existing nodes in the specified path will be reusedFolderTool.displayUrl
(Folder folder) Prints the URL to display the folder inside the User Interfacevoid
FolderTool.initialize
(Folder folder) Initializes lazy loaded collectionsvoid
Merges a folder into another foldervoid
Moves a folder into a target foldervoid
Saves / updates a folder into the databasevoid
Saves / updates a folder into the database -
Uses of Folder in com.logicaldoc.core.communication
-
Uses of Folder in com.logicaldoc.core.document
Modifier and TypeMethodDescriptionAbstractDocument.getFolder()
Retrieve the folder owning this documentDocumentDAO.getWorkspace
(long docId) Retrieves, the workspace where the document(or alias) is storedHibernateDocumentDAO.getWorkspace
(long docId) Modifier and TypeMethodDescriptionDocumentManager.copyToFolder
(Document doc, Folder folder, DocumentHistory transaction, boolean links, boolean notes, boolean security) Copy a document to the specified folder.DocumentManagerImpl.copyToFolder
(Document doc, Folder folder, DocumentHistory transaction, boolean links, boolean notes, boolean security) 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) void
DocumentManager.moveToFolder
(Document doc, Folder folder, DocumentHistory transaction) Moves a document to the specified folder.void
DocumentManagerImpl.moveToFolder
(Document doc, Folder folder, DocumentHistory transaction) void
-
Uses of Folder in com.logicaldoc.core.folder
Modifier and TypeMethodDescriptionFolderDAO.copy
(Folder source, Folder target, String newName, boolean foldersOnly, String securityOption, FolderHistory transaction) Copies a folder into another folderHibernateFolderDAO.copy
(Folder source, Folder target, String newName, boolean foldersOnly, String securityOption, FolderHistory transaction) FolderDAO.create
(Folder parent, Folder folderVO, boolean inheritSecurity, FolderHistory transaction) Creates a new folder in the parent FolderHibernateFolderDAO.create
(Folder parent, Folder folderVO, boolean inheritSecurity, FolderHistory transaction) FolderDAO.createAlias
(long parentId, long foldRef, FolderHistory transaction) Creates a new folder folder aliasHibernateFolderDAO.createAlias
(long parentId, long foldRef, FolderHistory transaction) FolderDAO.createPath
(Folder parent, String path, boolean inheritSecurity, FolderHistory transaction) Creates the folder for the specified path.HibernateFolderDAO.createPath
(Folder parent, String path, boolean inheritSecurity, FolderHistory transaction) FolderDAO.findByPathExtended
(String pathExtended, long tenantId) Retrieval of a folder by the extended pathHibernateFolderDAO.findByPathExtended
(String pathExtended, long tenantId) FolderDAO.findDefaultWorkspace
(long tenantId) Retrieves the Default workspace of the given tenantHibernateFolderDAO.findDefaultWorkspace
(long tenantId) FolderDAO.findFolder
(long folderId) Gets a folder by a given ID if it is an alias, the referenced folder is returned.HibernateFolderDAO.findFolder
(long folderId) FolderDAO.findRoot
(long tenantId) Retrieves the root folder of the given tenantHibernateFolderDAO.findRoot
(long tenantId) FolderDAO.findWorkspace
(long folderId) Returns the workspace that contains the given folderHibernateFolderDAO.findWorkspace
(long folderId) Modifier and TypeMethodDescriptionFolderDAO.deleteTree
(long folderId, int delCode, FolderHistory transaction) Delete a folder and all its sub-folders that a user can delete.FolderDAO.deleteTree
(long folderId, FolderHistory transaction) Shortcut for deleteTree(folderId, 1, transaction)FolderDAO.deleteTree
(Folder folder, int delCode, FolderHistory transaction) Deletes a folder and all its sub-folders that a user can delete.HibernateFolderDAO.deleteTree
(long folderId, int delCode, FolderHistory transaction) HibernateFolderDAO.deleteTree
(long folderId, FolderHistory transaction) HibernateFolderDAO.deleteTree
(Folder folder, int delCode, FolderHistory transaction) Useful method that allows to find all folders that contains the given name into their text.FolderDAO.findAliases
(Long foldRef, long tenantId) Finds all the aliasesHibernateFolderDAO.findAliases
(Long foldRef, long tenantId) FolderDAO.findByGroupId
(long groupId) Finds all folders accessible by the passed groupHibernateFolderDAO.findByGroupId
(long groupId) FolderDAO.findByName
(Folder parent, String name, Long tenantId, boolean caseSensitive) Finds all folders by folder text, contained in the parent folder.FolderDAO.findByName
(String name, Long tenantId) Finds all folders by folder nameHibernateFolderDAO.findByName
(Folder parent, String name, Long tenantId, boolean caseSensitive) HibernateFolderDAO.findByName
(String name, Long tenantId) FolderDAO.findByNameAndParentId
(String name, long parentId) Finds that folder that lies under a specific parent (given by the id) an with a given name(like operator is used)HibernateFolderDAO.findByNameAndParentId
(String name, long parentId) FolderDAO.findByParentId
(long parentId) Finds all children(direct and indirect) by parentIdHibernateFolderDAO.findByParentId
(long parentId) FolderDAO.findByUserId
(long userId) Finds authorized folders for a userFolderDAO.findByUserId
(long userId, long parentId) Finds direct children of a folder.HibernateFolderDAO.findByUserId
(long userId) HibernateFolderDAO.findByUserId
(long userId, long parentId) FolderDAO.findByUserIdAndTag
(long userId, String tag, Integer max) Finds authorized folders for a user having a specified tag.HibernateFolderDAO.findByUserIdAndTag
(long userId, String tag, Integer max) FolderDAO.findChildren
(long parentId, long userId) Finds direct children of a folder accessible by the given userFolderDAO.findChildren
(long parentId, Integer max) Finds direct children of a folderHibernateFolderDAO.findChildren
(long parentId, long userId) HibernateFolderDAO.findChildren
(long parentId, Integer max) FolderDAO.findDeleted
(long userId, Integer maxHits) Finds all deleted folders of a specific user.HibernateFolderDAO.findDeleted
(long userId, Integer maxHits) FolderDAO.findParents
(long id) Returns a List of folders being a parent of the given folder.HibernateFolderDAO.findParents
(long folderId) FolderDAO.findWorkspaces
(long tanantId) Retrieves all the workspaces in the system, that are the first-level folders of typeTYPE_WORKSPACE
HibernateFolderDAO.findWorkspaces
(long tenantId) static Comparator
<Folder> FolderComparator.getComparator
(FolderComparator... multipleOptions) static Comparator
<Folder> FolderComparator.getComparator
(String sort) static Comparator
<Folder> FolderComparator.getComparator
(List<FolderComparator> multipleOptions) Modifier and TypeMethodDescriptionvoid
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 databasevoid
FolderValidator.afterStore
(Folder folder, FolderHistory transaction, Map<String, Object> dictionary) 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 databasevoid
FolderValidator.beforeStore
(Folder folder, FolderHistory transaction, Map<String, Object> dictionary) int
FolderDAO.computePath
(Folder folder) Dynamically computes the path for the specified folder.HibernateFolderDAO.computePath
(Folder folder) FolderDAO.computePathExtended
(Folder folder) Dynamically computes the path extended for the specified folder.HibernateFolderDAO.computePathExtended
(Folder folder) FolderDAO.copy
(Folder source, Folder target, String newName, boolean foldersOnly, String securityOption, FolderHistory transaction) Copies a folder into another folderHibernateFolderDAO.copy
(Folder source, Folder target, String newName, boolean foldersOnly, String securityOption, FolderHistory transaction) FolderDAO.create
(Folder parent, Folder folderVO, boolean inheritSecurity, FolderHistory transaction) Creates a new folder in the parent FolderHibernateFolderDAO.create
(Folder parent, Folder folderVO, boolean inheritSecurity, FolderHistory transaction) FolderDAO.createPath
(Folder parent, String path, boolean inheritSecurity, FolderHistory transaction) Creates the folder for the specified path.HibernateFolderDAO.createPath
(Folder parent, String path, boolean inheritSecurity, FolderHistory transaction) FolderDAO.deleteTree
(Folder folder, int delCode, FolderHistory transaction) Deletes a folder and all its sub-folders that a user can delete.HibernateFolderDAO.deleteTree
(Folder folder, int delCode, FolderHistory transaction) FolderDAO.findByName
(Folder parent, String name, Long tenantId, boolean caseSensitive) Finds all folders by folder text, contained in the parent folder.HibernateFolderDAO.findByName
(Folder parent, String name, Long tenantId, boolean caseSensitive) boolean
FolderDAO.hasWriteAccess
(Folder folder, long userId) Checks that the user has write access to the folder and all its sub-itemsboolean
HibernateFolderDAO.hasWriteAccess
(Folder folder, long userId) void
FolderDAO.initialize
(Folder folder) Initializes lazy loaded collectionsvoid
HibernateFolderDAO.initialize
(Folder folder) void
FolderDAO.merge
(Folder source, Folder target, FolderHistory transaction) Merges the contents of two foldersvoid
HibernateFolderDAO.merge
(Folder source, Folder target, FolderHistory transaction) void
FolderDAO.move
(Folder source, Folder target, FolderHistory transaction) Moves a folder into another foldervoid
HibernateFolderDAO.move
(Folder source, Folder target, 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
void
HibernateFolderDAO.store
(Folder folder, FolderHistory transaction) Modifier and TypeMethodDescriptionvoid
FolderDAO.deleteAll
(Collection<Folder> folders, int delCode, FolderHistory transaction) For each folder, save the folder delete history entry for each folder and delete the foldervoid
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) -
Uses of Folder in com.logicaldoc.core.history
-
Uses of Folder in com.logicaldoc.core.transfer
Modifier and TypeMethodDescriptionvoid
void
void
-
Uses of Folder in com.logicaldoc.web.service
Modifier and TypeMethodDescriptionFolderServiceImpl.fromFolder
(Folder folder, boolean computePath) -
Uses of Folder in com.logicaldoc.webservice.model
Modifier and TypeMethodDescriptionstatic WSFolder
WSFolder.fromFolder
(Folder folder) static WSFolder
WSFolder.fromFolder
(Folder folder, boolean withCollections) void
WSFolder.updateAttributes
(Folder folder)