All assistant and full-time deputy attorneys general of the State of Alabama appointed by the Attorney General are hereby prohibited from engaging in the private practice of the law during the time they are such assistant or full-time deputy attorneys general. All assistant and full-time deputy attorneys general appointed by the Attorney General are hereby prohibited from maintaining private law offices during such time.