String phone, String mobile, String homepage, String email) throws FenixServiceException, ExcepcaoPersistencia { IExternalPerson storedExternalPerson = null; IExternalPerson existingExternalPerson = null;  IWorkLocation storedWorkLocation = null;
String phone, String mobile, String homepage, String email) throws FenixServiceException, ExcepcaoPersistencia {
    public void run(Integer externalPersonID, String name, String address, Integer workLocationID,            String phone, String mobile, String homepage, String email) throws FenixServiceException, ExcepcaoPersistencia {        IExternalPerson storedExternalPerson = null;        IExternalPerson existingExternalPerson = null;        IWorkLocation storedWorkLocation = null;        ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport();        storedExternalPerson = (IExternalPerson) sp.getIPersistentExternalPerson().readByOID(                ExternalPerson.class, externalPersonID);                if (storedExternalPerson == null)            throw new NonExistingServiceException(                    "error.exception.externalPerson.nonExistingExternalPsrson");        List<IExternalPerson> allExternalPersons = (List<IExternalPerson>) sp.getIPersistentExternalPerson().readAll(ExternalPerson.class);        storedWorkLocation = (IWorkLocation) sp.getIPersistentWorkLocation().readByOID(WorkLocation.class, workLocationID);                storedExternalPerson.edit(name, address, phone, mobile, homepage, email, storedWorkLocation, allExternalPersons);    }