code: public Date modifyDatastreamByReference(Context context,
                                              String pid,
                                              String datastreamID,
                                              String[] altIDs,
                                              String dsLabel,
                                              String mimeType,
                                              String formatURI,
                                              String dsLocation,
                                              String checksumType,
                                              String checksum,
                                              String logMessage,
                                              Date lastModifiedDate)
              throws ServerException {
          throw rejectCallsFromOutsideWhileInRecoveryMode();
      }
docs: Reject API calls from outside while we are in recovery mode.