Project

General

Profile

« Previous | Next » 

Revision 6934

use RC-1 Dataone jars

View differences:

MockCNode.java
29 29
import org.dataone.service.exceptions.ServiceFailure;
30 30
import org.dataone.service.types.v1.Identifier;
31 31
import org.dataone.service.types.v1.Session;
32
import org.dataone.service.types.v1.Subject;
32 33
import org.dataone.service.types.v1.SystemMetadata;
33 34

  
34 35
/**
......
57 58
     * Always return true that the reservation exists
58 59
     */
59 60
    @Override
60
    public boolean hasReservation(Session session, Identifier pid) 
61
    public boolean hasReservation(Session session, Subject subject, Identifier pid) 
61 62
    	throws InvalidToken, ServiceFailure, NotFound,
62 63
        NotAuthorized, IdentifierNotUnique, NotImplemented {
63 64
    	// always return true

Also available in: Unified diff