} else if (status.<Object>getData("type").equals(0)) {
service.moveOnTopOf(source.getPath(), targetPath, callback);
} else if (status.<Object>getData("type").equals(1)) {
GWTJahiaNode node = status.getData(TARGET_NEXT_NODE);
if (node == null) {
service.moveAtEnd(source.getPath(), parent.getPath(), callback);
} else {
service.moveOnTopOf(source.getPath(), node.getPath(), callback);
}
}
}