public interface NamedFileLoader
The NamedFileLoader adds methods that are required to keep track of directory trees and renaming of files/directories by a FileLoader.
| Modifier and Type | Method and Description |
|---|---|
void |
createDirectory(String dir,
int fid)
Create a directory
|
void |
deleteDirectory(String dir,
int fid)
Delete a directory
|
void |
renameFileDirectory(String curName,
int fid,
String newName,
boolean isdir)
Rename a file or directory
|
void |
setFileInformation(String path,
int fid,
FileInfo finfo)
Change file attributes/settings
|
void createDirectory(String dir, int fid) throws IOException
dir - Stringfid - intIOExceptionvoid deleteDirectory(String dir, int fid) throws IOException
dir - Stringfid - intIOExceptionvoid renameFileDirectory(String curName, int fid, String newName, boolean isdir) throws IOException
curName - Stringfid - intnewName - Stringisdir - booleanIOExceptionvoid setFileInformation(String path, int fid, FileInfo finfo) throws IOException
path - Stringfid - intfinfo - FileInfoIOExceptionCopyright © 2005–2014 Alfresco Software. All rights reserved.