/* (non-Javadoc)
@see com.popbill.api.TaxinvoiceService#delete(java.lang.String, com.popbill.api.taxinvoice.MgtKeyType, java.lang.String, java.lang.String)
330122
@Override
    public Response delete(String CorpNum, MgtKeyType KeyType, String MgtKey,
                           String UserID) throws PopbillException {
        if (KeyType == null)
            throw new PopbillException(-99999999, "관리번호형태가 입력되지 않았습니다.");
        if (MgtKey == null || MgtKey.isEmpty())
            throw new PopbillException(-99999999, "관리번호가 입력되지 않았습니다.");

        return httppost("/Taxinvoice/" + KeyType.name() + "/" + MgtKey,
                CorpNum, null, UserID, "DELETE", Response.class);
    }
1138420
@Nonnull
  public T delete(
      @Nonnull DocumentReference documentReference, @Nonnull Precondition precondition) {
    return performDelete(documentReference, precondition);
  }
1041456
public int delete(String sql, Object value) {
        Class<?> parameterType = value != null ? value.getClass() : null;
        String msId = msUtils.deleteDynamic(sql, parameterType);
        return sqlSession.delete(msId, value);
    }
712788
public void delete(String statement,
                       Object parameter,
                       Class<? extends Entity> entityClass) {
        if (!bulkDeleteOperations.containsKey(entityClass)) {
            bulkDeleteOperations.put(entityClass,
                                     new ArrayList<BulkDeleteOperation>(1));
        }
        bulkDeleteOperations.get(entityClass).add(new BulkDeleteOperation(dbSqlSessionFactory.mapStatement(statement),
                                                                          parameter));
    }
53758
@Deprecated
  @Override
  public boolean remove(@Nullable final Object rowKey, @Nullable final Object columnKey,
      final Object value) {
    throw new UnsupportedOperationException();
  }
1035231
@DeleteMapping("/{entityTypeId}")
  @ResponseStatus(NO_CONTENT)
  public void deleteAll(@PathVariable("entityTypeId") String entityTypeId) {
    dataService.deleteAll(entityTypeId);
  }
398865
@Override
    public void delete(T entity) {
        Assert.notNull(entity, "entity to be deleted should not be null");

        final String partitionKeyValue = information.getPartitionKeyFieldValue(entity);

        operation.deleteById(information.getCollectionName(),
                information.getId(entity),
                partitionKeyValue == null ? null : new PartitionKey(partitionKeyValue));
    }
1142307
@Override
	public CPOption removeByG_K(long groupId, String key)
		throws NoSuchCPOptionException {
		CPOption cpOption = findByG_K(groupId, key);

		return remove(cpOption);
	}
619055
public void delete(final K key, final long maxTime, final TimeUnit timeUnit) {
        collectionWithWriteTimeout(maxTime, timeUnit).deleteOne(byId(key));
    }
935377
@Override
	public CPMeasurementUnit removeByG_K_T(long groupId, String key, int type)
		throws NoSuchCPMeasurementUnitException {
		CPMeasurementUnit cpMeasurementUnit = findByG_K_T(groupId, key, type);

		return remove(cpMeasurementUnit);
	}
1016861
@Override
	public int delete(MetadataReference metadataReference) throws SQLException {

		DeleteBuilder<MetadataReference, Void> db = deleteBuilder();

		setFkWhere(db.where(), metadataReference.getFileId(),
				metadataReference.getParentId());

		int deleted = db.delete();

		return deleted;
	}
275452
@Override
    public void delete(Object entity, Object pKey)
    {
        s = getStatelessSession();
        Transaction tx = null;
        tx = onBegin();
        s.delete(entity);
        onCommit(tx);

        EntityMetadata metadata = KunderaMetadataManager.getEntityMetadata(kunderaMetadata, entity.getClass());
        MetamodelImpl metamodel = (MetamodelImpl) KunderaMetadataManager.getMetamodel(kunderaMetadata,
                metadata.getPersistenceUnit());
        if (!MetadataUtils.useSecondryIndex(getClientMetadata()))
        {
            getIndexManager().remove(metadata, entity, pKey);
        }
    }
957840
@Override
	public void delete() throws JMSException
    {
        BlockBasedDataStoreTools.delete(queueDef.getName(), 
                                        queueDef.getDataFolder(), 
                                        false);  
    }
858282
public void serviceName_phonebooks_bookKey_DELETE(String serviceName, String bookKey) throws IOException {
		String qPath = "/sms/{serviceName}/phonebooks/{bookKey}";
		StringBuilder sb = path(qPath, serviceName, bookKey);
		exec(qPath, "DELETE", sb.toString(), null);
	}
365162
public static void delete(String url, HttpConsumer<HttpExchange> endpoint, MediaTypes... mediaTypes) {
        addResource(Methods.DELETE, url, endpoint, mediaTypes);
    }
78511
@Override
    public TaxinvoiceInfo[] getInfos(String CorpNum, MgtKeyType KeyType,
                                     String[] MgtKeyList) throws PopbillException {
        if (KeyType == null)
            throw new PopbillException(-99999999, "관리번호형태가 입력되지 않았습니다.");
        if (MgtKeyList == null || MgtKeyList.length == 0)
            throw new PopbillException(-99999999, "관리번호 목록이 입력되지 않았습니다.");

        String PostData = toJsonString(MgtKeyList);

        return httppost("/Taxinvoice/" + KeyType.name(), CorpNum, PostData,
                null, TaxinvoiceInfo[].class);
    }
262880
public Response assignMgtKey(String corpNum, MgtKeyType keyType, String itemKey,
                                 String mgtKey, String userID) throws PopbillException {
        if (itemKey == null || itemKey.isEmpty())
            throw new PopbillException(-99999999, "아이템키(ItemKey)가 입력되지 않았습니다.");

        if (mgtKey == null || mgtKey.isEmpty())
            throw new PopbillException(-99999999, "문서관리번호(MgtKey)가 입력되지 않았습니다.");

        String PostData = "MgtKey=" + mgtKey;

        return httppost("/Taxinvoice/" + itemKey + "/" + keyType.name(),
                corpNum, PostData, userID, "", Response.class, "application/x-www-form-urlencoded; charset=utf-8");
    }