code: public Date setDatastreamVersionable(Context context,
                                           String pid,
                                           String dsID,
                                           boolean versionable,
                                           String logMessage)
              throws ServerException {
          throw rejectCallsFromOutsideWhileInRecoveryMode();
      }
docs: Reject API calls from outside while we are in recovery mode.