@Override public final QueryResultList<Representation> find(FieldQuery query) throws YardException{ return entityhubYard.find(query); } @Override
@Override public final void deleteAll() throws EntityhubException { entityhubYard.removeAll(); } @Override
@Override public final QueryResultList<String> findEntityReferences(FieldQuery query) throws YardException{ return entityhubYard.findReferences(query); } @Override
@Override public void removeAll() throws YardException { //ensure that the baseConfig (if present) is not deleted by this //operation Representation baseConfig = yard.getRepresentation(Cache.BASE_CONFIGURATION_URI); yard.removeAll(); if(baseConfig != null){ yard.store(baseConfig); } }
@Override protected Representation getRepresentation(String id) throws EntityhubException { return yard.getRepresentation(id); } @Override
@Override protected ValueFactory getValueFactory() { return yard.getValueFactory(); } @Override
@Override public void remove(Iterable<String> ids) throws IllegalArgumentException, YardException { yard.remove(ids); } @Override
@Override public Iterable<Representation> update(Iterable<Representation> representations) throws YardException, IllegalArgumentException { return yard.update(representations); } }
@Override public Representation create() throws YardException { return yard.create(); }
@Override public String getName() { return yard.getName() + " Cache"; }
@Override public void removeAll() throws YardException { //ensure that the baseConfig (if present) is not deleted by this //operation Representation baseConfig = yard.getRepresentation(Cache.BASE_CONFIGURATION_URI); yard.removeAll(); if(baseConfig != null){ yard.store(baseConfig); } }
@Override protected QueryResultList<String> query(FieldQuery query) throws EntityhubException { return yard.findReferences(query); } }
@Override public final QueryResultList<Representation> find(FieldQuery query) throws YardException{ return entityhubYard.find(query); } @Override
@Override public void remove(Iterable<String> ids) throws IllegalArgumentException, YardException { yard.remove(ids); } @Override
@Override public final void deleteAll() throws EntityhubException { entityhubYard.removeAll(); } @Override
@Override public Iterable<Representation> update(Iterable<Representation> representations) throws YardException, IllegalArgumentException { return yard.update(representations); } }
@Override public final QueryResultList<String> findEntityReferences(FieldQuery query) throws YardException{ return entityhubYard.findReferences(query); } @Override
@Override public QueryResultList<Representation> find(FieldQuery query) throws YardException, IllegalArgumentException { return yard.find(query); }
@Override public void remove(String id) throws IllegalArgumentException, YardException { yard.remove(id); }
@Override public QueryResultList<Representation> find(FieldQuery query) throws YardException, IllegalArgumentException { return yard.find(query); }