Flying in and out of Oakland is not so bad, but it would probably be better to stay in SF, just because the area around the Oakland airport is pretty crappy unless you're into sideshows. Also, if you've never been to SF, you can take some time to check the city out while you're here.
I used to live in Oakland and commuted to SF everyday for work, took me about 45 min door to door via BART and bus. To get to UOP from Oakland, the easiest way would be to take BART and get off at Embarcadero, then take the 1 California bus. It'll drop you off right in front of the school.
Try using the trip planner on 511.org, it'll let you know how long it should take to get from one place to another via public transportation.