@Override public <T> Object getRelation( Object entity, RelationshipType relationshipType, String relationName, Class<T> relationClass, EntityDictionary dictionary, Set<Predicate> filters) { DataStoreTransaction transaction = getTransaction(entity.getClass()); return transaction.getRelation( entity, relationshipType, relationName, relationClass, dictionary, filters); }
@Override public <T> Object getRelation( Object entity, RelationshipType relationshipType, String relationName, Class<T> relationClass, EntityDictionary dictionary, Optional<FilterExpression> filterExpression, Sorting sorting, Pagination pagination) { DataStoreTransaction transaction = getTransaction(entity.getClass()); return transaction.getRelation( entity, relationshipType, relationName, relationClass, dictionary, filterExpression, sorting, pagination); }