public void insertOrUpdate( FileConfigToRole entity, RequestOptionCall<IndexRequestBuilder> opLambda) { if (entity instanceof EsAbstractEntity) { entity.asDocMeta().indexOption(opLambda); } doInsertOrUpdate(entity, null, null); }
public void delete(FileConfigToRole entity, RequestOptionCall<DeleteRequestBuilder> opLambda) { if (entity instanceof EsAbstractEntity) { entity.asDocMeta().deleteOption(opLambda); } doDelete(entity, null); }