use of org.obiba.mica.file.AttachmentState in project mica2 by obiba.
the class FileSystemService method move.
/**
* Move a file to another path location.
*
* @param path
* @param name
* @param newPath
*/
public void move(String path, String name, String newPath) {
AttachmentState state = getAttachmentState(path, name, false);
move(state, newPath, state.getName());
}
use of org.obiba.mica.file.AttachmentState in project mica2 by obiba.
the class FileSystemService method copy.
/**
* Copy a file into another path location.
*
* @param path
* @param name
* @param newPath
*/
public void copy(String path, String name, String newPath) {
AttachmentState state = getAttachmentState(path, name, false);
copy(state, newPath, state.getName(), false);
}
Aggregations