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
- intIOException
void deleteDirectory(String dir, int fid) throws IOException
dir
- Stringfid
- intIOException
void renameFileDirectory(String curName, int fid, String newName, boolean isdir) throws IOException
curName
- Stringfid
- intnewName
- Stringisdir
- booleanIOException
void setFileInformation(String path, int fid, FileInfo finfo) throws IOException
path
- Stringfid
- intfinfo
- FileInfoIOException
Copyright © 2005–2018 Alfresco Software. All rights reserved.