In each judicial circuit a state attorney shall be elected for a term of four years. Except as otherwise provided in this constitution, the state attorney shall be the prosecuting officer of all trial courts in that circuit and shall perform other duties prescribed by general law; provided, however, when authorized by general law, the violations of all municipal ordinances may be prosecuted by municipal prosecutors. A state attorney shall be an elector of the state and reside in the territorial jurisdiction of the circuit; shall be and have been a member of the bar of Florida for the preceding five years; shall devote full time to the duties of the office; and shall not engage in the private practice of law. State attorneys shall appoint such assistant state attorneys as may be authorized by law.