@Test public void testCreateThenDelete() throws IOException { SaveResult result = createTask(); conn.delete("Task", result.getId()); assertNotNull(result.getId()); assertTrue(result.isSuccess()); }
@Override public void delete(String sObjectType, Id id) throws IOException { Timer.Context context = deleteTimer.time(); try { this.getHttpApiClient().delete(sObjectType, id); } finally { context.stop(); } }
RestConnectionImpl implements RestConnection { @Override public void delete(String sObjectType, Id id) throws IOException { Timer.Context context = deleteTimer.time(); try { this.getHttpApiClient().delete(sObjectType, id); } finally { context.stop(); } } }
RestConnectionImpl implements RestConnection { @Override public void delete(String sObjectType, Id id) throws IOException { Timer.Context context = deleteTimer.time(); try { this.getHttpApiClient().delete(sObjectType, id); } finally { context.stop(); } } RestConnectionImpl(ObjectReader objectReader, HttpApiClientProvider httpApiClientProvider,
            MetricRegistry metricRegistry); }
RestConnectionImpl implements RestConnection { @Override public void delete(String sObjectType, Id id) throws IOException { Timer.Context context = deleteTimer.time(); try { this.getHttpApiClient().delete(sObjectType, id); } finally { context.stop(); } } RestConnectionImpl(ObjectReader objectReader, HttpApiClientProvider httpApiClientProvider,
            MetricRegistry metricRegistry); @Override @Nonnull SaveResult create(SObject sObject); @Override void delete(String sObjectType, Id id); @Override @Nonnull DescribeGlobalResult describeGlobal(); @Override @Nonnull SObjectDescription describeSObject(String sObjectType); @Override @Nonnull BasicSObjectMetadataResult getBasicObjectInfo(String sObjectType); @Override @Nonnull RestQueryResult query(String soql); @Override @Nonnull RestQueryResult queryMore(RestQueryLocator queryLocator); @Override @Nonnull SObject retrieve(String sObjectType, Id id, List<String> fields); @Override @Nonnull List<SObject> search(String sosl); @Override void update(SObject sObject); @Override @Nonnull UpsertResult upsert(SObject sObject, String externalIdField); }
RestConnectionImpl implements RestConnection { @Override public void delete(String sObjectType, Id id) throws IOException { Timer.Context context = deleteTimer.time(); try { this.getHttpApiClient().delete(sObjectType, id); } finally { context.stop(); } } RestConnectionImpl(ObjectReader objectReader, HttpApiClientProvider httpApiClientProvider,
            MetricRegistry metricRegistry); @Override @Nonnull SaveResult create(SObject sObject); @Override void delete(String sObjectType, Id id); @Override @Nonnull DescribeGlobalResult describeGlobal(); @Override @Nonnull SObjectDescription describeSObject(String sObjectType); @Override @Nonnull BasicSObjectMetadataResult getBasicObjectInfo(String sObjectType); @Override @Nonnull RestQueryResult query(String soql); @Override @Nonnull RestQueryResult queryMore(RestQueryLocator queryLocator); @Override @Nonnull SObject retrieve(String sObjectType, Id id, List<String> fields); @Override @Nonnull List<SObject> search(String sosl); @Override void update(SObject sObject); @Override @Nonnull UpsertResult upsert(SObject sObject, String externalIdField);  }