Provides methods specific to manipulating files and folders. This service
provides a simple way of accessing simple trees of files and folders in
SkyVault.
Information | FileFolderService |
---|---|
Support Status | Full Support |
Architecture Information | Platform Architecture |
Description | The FileFolderService provides methods for dealing with Files and Folders.
Operations include:
The methods typically work with a NodeRef for the node that represents the target file or folder. |
Deployment - App Server | Deploy as AMP or Simple Module (JAR) package. |
Deployment - SDK Project | Use SDK archetypes to produce AMP or Simple Module. |
Java API | Java API documentation |
Java example |
// Creating a PDF (or other document) QName contentQName = QName.createQName("{http://www.alfresco.org/model/content/1.0}content"); FileInfo pdfInfo = fileFolderService.create(directory, filename, contentQName); NodeRef pdf = pdfInfo.getNodeRef(); |
More Information |