* not available
* @throws FileNotFoundException
*/
public void doMoveFiles( String destPathId, String params ) throws FileNotFoundException {
String idToPath = idToPath( destPathId );
RepositoryFileDto repositoryFileDto = getRepoWs().getFile( idToPath );
if ( repositoryFileDto == null ) {
throw new FileNotFoundException( idToPath );
}
String[] sourceFileIds = params.split( "[,]" );
int i = 0;
try {
for ( ; i < sourceFileIds.length; i++ ) {
getRepoWs().moveFile( sourceFileIds[ i ], repositoryFileDto.getPath(), null );
}
} catch ( IllegalArgumentException e ) {
throw e;
} catch ( Exception e ) {
throw new InternalError();