package pt.utl.ist.scripts.runOnce.phd; import net.sourceforge.fenixedu.domain.phd.ExternalPhdProgram; import net.sourceforge.fenixedu.domain.phd.PhdIndividualProgramCollaborationType; import pt.utl.ist.scripts.commons.AtomicScript; public class CreateExternalPhdPrograms extends AtomicScript { @Override protected void run() throws Exception { ExternalPhdProgram.createExternalPhdProgram("EDAR - Architecture, city, history", "EDAR - Architecture, city, history", "EDAR", PhdIndividualProgramCollaborationType.EPFL); ExternalPhdProgram.createExternalPhdProgram("EDBB - Biotechonology & Bioengineering", "EDBB - Biotechonology & Bioengineering", "EDBB", PhdIndividualProgramCollaborationType.EPFL); ExternalPhdProgram.createExternalPhdProgram("EDCE - Civil and Environmental Engineering", "EDCE - Civil and Environmental Engineering", "EDCE", PhdIndividualProgramCollaborationType.EPFL); ExternalPhdProgram.createExternalPhdProgram("EDCH - Chemistry and Chemical Engineering", "EDCH - Chemistry and Chemical Engineering", "EDCH", PhdIndividualProgramCollaborationType.EPFL); ExternalPhdProgram.createExternalPhdProgram("EDCI - Molecular Biology of Cancer and Infection", "EDCI - Molecular Biology of Cancer and Infection", "EDCI", PhdIndividualProgramCollaborationType.EPFL); ExternalPhdProgram.createExternalPhdProgram("EDEE - Electrical Engineering", "EDEE - Electrical Engineering", "EDEE", PhdIndividualProgramCollaborationType.EPFL); ExternalPhdProgram.createExternalPhdProgram("EDEY - Energy", "EDEY - Energy", "EDEY", PhdIndividualProgramCollaborationType.EPFL); ExternalPhdProgram.createExternalPhdProgram("EDFI - Finance", "EDFI - Finance", "EDFI", PhdIndividualProgramCollaborationType.EPFL); ExternalPhdProgram.createExternalPhdProgram("EDIC - Computer, Communication and Information Sciences", "EDIC - Computer, Communication and Information Sciences", "EDIC", PhdIndividualProgramCollaborationType.EPFL); ExternalPhdProgram.createExternalPhdProgram("EDMA - Mathematics", "EDMA - Mathematics", "EDMA", PhdIndividualProgramCollaborationType.EPFL); ExternalPhdProgram.createExternalPhdProgram("EDME - Mechanics", "EDME - Mechanics", "EDME", PhdIndividualProgramCollaborationType.EPFL); ExternalPhdProgram.createExternalPhdProgram("EDMI - Microsystems and Microelectronics", "EDMI - Microsystems and Microelectronics", "EDMI", PhdIndividualProgramCollaborationType.EPFL); ExternalPhdProgram.createExternalPhdProgram("EDMT - Management of Techonology", "EDMT - Management of Techonology", "EDMT", PhdIndividualProgramCollaborationType.EPFL); ExternalPhdProgram.createExternalPhdProgram("EDMX - Materials Science and Engineering", "EDMX - Materials Science and Engineering", "EDMX", PhdIndividualProgramCollaborationType.EPFL); ExternalPhdProgram.createExternalPhdProgram("EDNE - Neurosciences", "EDNE - Neurosciences", "EDNE", PhdIndividualProgramCollaborationType.EPFL); ExternalPhdProgram.createExternalPhdProgram("EDPO - Photonics", "EDPO - Photonics", "EDPO", PhdIndividualProgramCollaborationType.EPFL); ExternalPhdProgram.createExternalPhdProgram("EDPR - Manufacturing Systems and Robotics", "EDPR - Manufacturing Systems and Robotics", "EDPR", PhdIndividualProgramCollaborationType.EPFL); ExternalPhdProgram.createExternalPhdProgram("EDPY - Physics", "EDPY - Physics", "EDPY", PhdIndividualProgramCollaborationType.EPFL); } /** * @param args */ public static void main(String[] args) { processWriteTransaction(new CreateExternalPhdPrograms()); } }