@Test public void test_CreateOrModify_NullCollection() throws Exception { assertFalse(processingProfileDao.createOrModify((Collection) null, WriteConcern.NONE).iterator().hasNext()); }
@Override public void createOrModify (SourceDocumentReferenceProcessingProfile sourceDocumentReferenceProcessingProfile, WriteConcern writeConcern) { datastore.save(sourceDocumentReferenceProcessingProfile, writeConcern); }
SourceDocumentReferenceProcessingProfileDaoImpl implements SourceDocumentReferenceProcessingProfileDao { @Override public void createOrModify (SourceDocumentReferenceProcessingProfile sourceDocumentReferenceProcessingProfile, WriteConcern writeConcern) { datastore.save(sourceDocumentReferenceProcessingProfile, writeConcern); } }
SourceDocumentReferenceProcessingProfileDaoImpl implements SourceDocumentReferenceProcessingProfileDao { @Override public void createOrModify (SourceDocumentReferenceProcessingProfile sourceDocumentReferenceProcessingProfile, WriteConcern writeConcern) { datastore.save(sourceDocumentReferenceProcessingProfile, writeConcern); } SourceDocumentReferenceProcessingProfileDaoImpl(Datastore datastore); }
SourceDocumentReferenceProcessingProfileDaoImpl implements SourceDocumentReferenceProcessingProfileDao { @Override public void createOrModify (SourceDocumentReferenceProcessingProfile sourceDocumentReferenceProcessingProfile, WriteConcern writeConcern) { datastore.save(sourceDocumentReferenceProcessingProfile, writeConcern); } SourceDocumentReferenceProcessingProfileDaoImpl(Datastore datastore); @Override Long getCount(); @Override boolean create(SourceDocumentReferenceProcessingProfile sourceDocumentReferenceProcessingProfile,
                           WriteConcern writeConcern); @Override void createOrModify(SourceDocumentReferenceProcessingProfile sourceDocumentReferenceProcessingProfile,
                                WriteConcern writeConcern); @Override Iterable<Key<SourceDocumentReferenceProcessingProfile>> createOrModify(Collection<SourceDocumentReferenceProcessingProfile> sourceDocumentReferenceProcessingProfiles,
                                                                                   WriteConcern writeConcern); @Override SourceDocumentReferenceProcessingProfile read(String id); @Override List<SourceDocumentReferenceProcessingProfile> read(List<String> ids); @Override boolean update(SourceDocumentReferenceProcessingProfile sourceDocumentReferenceProcessingProfile,
                           WriteConcern writeConcern); @Override WriteResult delete(String id); @Override List<SourceDocumentReferenceProcessingProfile> findByRecordID(String recordID); @Override List<SourceDocumentReferenceProcessingProfile> getJobToBeEvaluated(); @Override List<SourceDocumentReferenceProcessingProfile> deactivateDocuments(ReferenceOwner owner, WriteConcern concern); }
SourceDocumentReferenceProcessingProfileDaoImpl implements SourceDocumentReferenceProcessingProfileDao { @Override public void createOrModify (SourceDocumentReferenceProcessingProfile sourceDocumentReferenceProcessingProfile, WriteConcern writeConcern) { datastore.save(sourceDocumentReferenceProcessingProfile, writeConcern); } SourceDocumentReferenceProcessingProfileDaoImpl(Datastore datastore); @Override Long getCount(); @Override boolean create(SourceDocumentReferenceProcessingProfile sourceDocumentReferenceProcessingProfile,
                           WriteConcern writeConcern); @Override void createOrModify(SourceDocumentReferenceProcessingProfile sourceDocumentReferenceProcessingProfile,
                                WriteConcern writeConcern); @Override Iterable<Key<SourceDocumentReferenceProcessingProfile>> createOrModify(Collection<SourceDocumentReferenceProcessingProfile> sourceDocumentReferenceProcessingProfiles,
                                                                                   WriteConcern writeConcern); @Override SourceDocumentReferenceProcessingProfile read(String id); @Override List<SourceDocumentReferenceProcessingProfile> read(List<String> ids); @Override boolean update(SourceDocumentReferenceProcessingProfile sourceDocumentReferenceProcessingProfile,
                           WriteConcern writeConcern); @Override WriteResult delete(String id); @Override List<SourceDocumentReferenceProcessingProfile> findByRecordID(String recordID); @Override List<SourceDocumentReferenceProcessingProfile> getJobToBeEvaluated(); @Override List<SourceDocumentReferenceProcessingProfile> deactivateDocuments(ReferenceOwner owner, WriteConcern concern);  }