A Temporary Ex Parte Protective Order is only good for 20 days unless there is a request for an extension of the order.
No hearing is required for it to be signed by a Judge unless you are trying to exclude the Respondent from the residence.
If the Respondent violates the order, he is in contempt of court and the Judge can have the Respondent arrested and fined.
A Final Protective Order after a hearing is good for up to 2 years.
The Respondent must be served with notice of the hearing at least 48 hours prior to the court setting. He is entitled to a hearing if he chooses.
If the Judge grants the Final Protective Order after a hearing and the Respondent violates the Protective Order, then he has committed a criminal offense and can be arrested.