Banned guns??

I am not a California resident but will be living there temporarily. I have heard of certain guns that people cannot have, like a shotgun with a barrel under 18.5 inches.

Do these rules apply if I am a nonresident, brining my own firearms from a different state where I legally bought them?

And if any one could be so kind as to link a list of these banned guns, I would greatly appreciate that.