@Test public void deleteTerm() { assertEquals(148L, repo.count()); boolean deleted = repo.delete("berbatik_birucinta"); assertTrue(deleted); assertEquals(147L, repo.count()); }
@Override public long count() { return catalog.getTerms().size(); }
XmiTermRepository extends PagingAndSortingRepositoryBase<Term, String> implements TermRepository { @Override public long count() { return catalog.getTerms().size(); } }
XmiTermRepository extends PagingAndSortingRepositoryBase<Term, String> implements TermRepository { @Override public long count() { return catalog.getTerms().size(); } XmiTermRepository(String kindNsPrefix, String kindName, List<URL> xmiResources, 
			Map<String, File> xmiFiles, EventBus eventBus); }
XmiTermRepository extends PagingAndSortingRepositoryBase<Term, String> implements TermRepository { @Override public long count() { return catalog.getTerms().size(); } XmiTermRepository(String kindNsPrefix, String kindName, List<URL> xmiResources, 
			Map<String, File> xmiFiles, EventBus eventBus); @Override long count(); @Override Collection<S> add(Collection<S> entities); @Override Collection<S> modify(Map<String, S> entities); @Override Set<String> exists(final Collection<String> ids); @Override List<Term> findAll(final Collection<String> ids, Sort sort); @Override long deleteIds(Collection<String> ids); @Override Page<String> findAllIds(Pageable pageable); @Override Page<Term> findAll(Pageable pageable); @Override DataCatalog getDataCatalog(); }
XmiTermRepository extends PagingAndSortingRepositoryBase<Term, String> implements TermRepository { @Override public long count() { return catalog.getTerms().size(); } XmiTermRepository(String kindNsPrefix, String kindName, List<URL> xmiResources, 
			Map<String, File> xmiFiles, EventBus eventBus); @Override long count(); @Override Collection<S> add(Collection<S> entities); @Override Collection<S> modify(Map<String, S> entities); @Override Set<String> exists(final Collection<String> ids); @Override List<Term> findAll(final Collection<String> ids, Sort sort); @Override long deleteIds(Collection<String> ids); @Override Page<String> findAllIds(Pageable pageable); @Override Page<Term> findAll(Pageable pageable); @Override DataCatalog getDataCatalog();  }