Revision 6470
Added by Matt Jones over 12 years ago
MNodeService.java | ||
---|---|---|
167 | 167 |
* @throws NotImplemented |
168 | 168 |
* @throws InvalidRequest |
169 | 169 |
*/ |
170 |
@Override |
|
170 |
//@Override
|
|
171 | 171 |
public Identifier delete(Session session, Identifier pid) |
172 | 172 |
throws InvalidToken, ServiceFailure, NotAuthorized, NotFound, |
173 | 173 |
NotImplemented, InvalidRequest { |
... | ... | |
264 | 264 |
* @throws InvalidSystemMetadata |
265 | 265 |
* @throws InvalidRequest |
266 | 266 |
*/ |
267 |
@Override |
|
267 |
//@Override
|
|
268 | 268 |
public Identifier update(Session session, Identifier pid, InputStream object, |
269 | 269 |
Identifier newPid, SystemMetadata sysmeta) |
270 | 270 |
throws InvalidToken, ServiceFailure, NotAuthorized, IdentifierNotUnique, |
... | ... | |
409 | 409 |
* @throws InsufficientResources |
410 | 410 |
* @throws InvalidRequest |
411 | 411 |
*/ |
412 |
@Override |
|
413 | 412 |
public boolean replicate(Session session, SystemMetadata sysmeta, |
414 | 413 |
NodeReference sourceNode) |
415 | 414 |
throws NotImplemented, ServiceFailure, NotAuthorized, InvalidRequest, |
... | ... | |
475 | 474 |
* @throws NotImplemented |
476 | 475 |
* @throws InvalidRequest |
477 | 476 |
*/ |
478 |
@Override |
|
479 | 477 |
public DescribeResponse describe(Session session, Identifier pid) |
480 | 478 |
throws InvalidToken, ServiceFailure, NotAuthorized, NotFound, |
481 | 479 |
NotImplemented, InvalidRequest { |
... | ... | |
541 | 539 |
* @throws InvalidRequest |
542 | 540 |
* @throws NotImplemented |
543 | 541 |
*/ |
544 |
@Override |
|
545 | 542 |
public Checksum getChecksum(Session session, Identifier pid, String algorithm) |
546 | 543 |
throws InvalidToken, ServiceFailure, NotAuthorized, NotFound, |
547 | 544 |
InvalidRequest, NotImplemented { |
... | ... | |
625 | 622 |
* @throws InvalidRequest |
626 | 623 |
* @throws NotImplemented |
627 | 624 |
*/ |
628 |
@Override |
|
629 | 625 |
public ObjectList listObjects(Session session, Date startTime, Date endTime, |
630 | 626 |
ObjectFormatIdentifier objectFormatId, Boolean replicaStatus, Integer start, Integer count) |
631 | 627 |
throws NotAuthorized, InvalidRequest, NotImplemented, ServiceFailure, |
... | ... | |
653 | 649 |
* @throws InvalidRequest |
654 | 650 |
* @throws NotImplemented |
655 | 651 |
*/ |
656 |
@Override |
|
657 | 652 |
public Node getCapabilities() throws NotImplemented, NotAuthorized, |
658 | 653 |
ServiceFailure, InvalidRequest { |
659 | 654 |
|
... | ... | |
828 | 823 |
* @throws InvalidRequest |
829 | 824 |
* @throws NotImplemented |
830 | 825 |
*/ |
831 |
@Override |
|
832 | 826 |
public MonitorList getOperationStatistics(Session session, Date startTime, |
833 | 827 |
Date endTime, Subject requestor, Event event, ObjectFormatIdentifier formatId) |
834 | 828 |
throws NotImplemented, ServiceFailure, NotAuthorized, InvalidRequest, |
... | ... | |
881 | 875 |
* @throws InvalidRequest |
882 | 876 |
* @throws NotImplemented |
883 | 877 |
*/ |
884 |
@Override |
|
885 | 878 |
public boolean ping() |
886 | 879 |
throws NotImplemented, ServiceFailure, NotAuthorized, InvalidRequest, |
887 | 880 |
InsufficientResources, UnsupportedType { |
... | ... | |
921 | 914 |
* @throws InvalidRequest |
922 | 915 |
* @throws NotImplemented |
923 | 916 |
*/ |
924 |
@Override |
|
925 | 917 |
public void synchronizationFailed(Session session, SynchronizationFailed syncFailed) |
926 | 918 |
throws NotImplemented, ServiceFailure, NotAuthorized, InvalidRequest { |
927 | 919 |
|
... | ... | |
951 | 943 |
} |
952 | 944 |
|
953 | 945 |
/** |
954 |
* Essentially a get() but with different logging behavior |
|
946 |
* Essentially a get() but with different logging behavior and different access control.
|
|
955 | 947 |
*/ |
956 |
@Override |
|
957 | 948 |
public InputStream getReplica(Session session, Identifier pid) |
958 | 949 |
throws InvalidRequest, InvalidToken, NotAuthorized, NotImplemented, |
959 | 950 |
ServiceFailure, NotFound { |
Also available in: Unified diff
Removing incorrect @Override annotations that were preventing compilation. The methods marked did not actually override a method in the superclass, so they were not compiling. I think @Overrides was being mistaken for methods that implement an interface but aren't actually in the superclass.