Not necessarily. Temporary restraining orders are logged with the police in order to ensure that they are enforced but can be expunged if the judge finds no reason to instate a permanent restraining order.  However, if during the course of the permanent restraining order hearing the court finds reason to enact a permanent restraining order, then that will go on the permanent record of the individual it has been filed against.