function openSOD(){
    switch(currentmethod){
        case "file":
            openSODFile()
            break;

        case "webdav":
            openSODWebdav()
            break
    }
}
Method to invoke when there is reason to open. Controlled by the
currentmethod variable it calls the correct concrete implementation