My outdoor dog, Caeser is being weaned of his time out doors. He's learning how to behave inside.
Right now, we have "indoor time" on the weekends. I have him on a leash so he has to follow me, and I can keep an eye on him.
Soon, we will have him have "indoor time" every day on the week.
The time will increase more and more, and eventually he should be pretty much an indoor dog.