Friant Dam shall be constructed and used primarily for improvement of navigation, flood control, and storage and stabilization of the water supply of the San Joaquin River, for irrigation and domestic use, and secondarily for the generation of electric power and other beneficial uses.