Project

General

Profile

« Previous | Next » 

Revision 53199

1. Project.java: Remove 'token' field from 'Project' entity.
2. FetchProjectHandler.java, ProjectHandler.java, TestClass.java: Remove methods related to 'token' field.
3. FetchProjectHandler.java: Add 'fetchProjectIdsAndNamesByProjectManagerMail' method | Change 'fetchContactEmailsByProjectId' method (mails are returned as List from DAO).

View differences:

TestClass.java
453 453
//        boolean updated = claimHandler.updateClaimCurationInfo("argiro@gmail.com","1",true);
454 454
//        System.out.println(updated);
455 455
    }
456

  
456
/*
457 457
    @Test
458 458
    public void testFetchProjectIdByTokenAndEmail() throws Exception, SQLStoreException {
459 459
        String openaireId = this.fetchProjectHandler.fetchProjectIdByTokenAndEmail("dedc6979-1967-4ea2-a2ad-5135f95285ae", "test11111@mail.com");
......
465 465
        String openaireId = this.fetchProjectHandler.fetchProjectIdByToken("dedc6979-1967-4ea2-a2ad-5135f95285ae");
466 466
        System.out.println(openaireId);
467 467
    }
468

  
468
*/
469 469
    @Test
470 470
    public void directIndexClaim() throws Exception {
471 471
        System.out.println(this.claimValidation.getPathToSaveReport());

Also available in: Unified diff