[Neo4j] overriding protected I underlyingObjectToObject(T object) return null

2011-11-11 Thread jbeau
Hello all, I stuck with returning null in underlyingObjectToObject. First of all, I have this class: public class ClosableIterableAdapterI, T extends IterableWrapperI, T implements IClosableIterable { private final ClosableIterableT closableNodeIterable; public static IF, TY

Re: [Neo4j] overriding protected I underlyingObjectToObject(T object) return null

2011-11-11 Thread Michael Hunger
Jack, can you provide some more context? Where do you want to use it and what is what you are trying to achieve? Thanks a lot Michael Am 11.11.2011 um 11:51 schrieb jbeau: Hello all, I stuck with returning null in underlyingObjectToObject. First of all, I have this class: public

Re: [Neo4j] overriding protected I underlyingObjectToObject(T object) return null

2011-11-11 Thread jbeau
Hello Michael, greetings to the Neustadt :) I try to realize a multi tenancy environment and started with a first approach. In a abstract repository I call methods like this: @Override public IClosableIterable findByName(final String name) { return

Re: [Neo4j] overriding protected I underlyingObjectToObject(T object) return null

2011-11-11 Thread Michael Hunger
Hey Jack, actually it is Dresden(Striesen) right now :) you might look into org.neo4j.helpers.collection.FilteringIterable, which takes a predicate to allow you arbitrary filtering. class FilteringClosableIterableT extends FilteringIterableT implements ClosableIterableT {

Re: [Neo4j] overriding protected I underlyingObjectToObject(T object) return null

2011-11-11 Thread jbeau
Thx a lot for your advice! Multitenancy by API would be a great feature. I favor the idea of partitionated repos found here: http://blog.vivekprahlad.com/multitenancy-with-neo4jrb Striesen is ooch schön! -- View this message in context:

Re: [Neo4j] overriding protected I underlyingObjectToObject(T object) return null

2011-11-11 Thread Peter Neubauer
True, nice approach! The https://github.com/neo4j/community/pull/51 is now merged, so the way is free for doing a Java version as a component of this if you want to get coding? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn  

Re: [Neo4j] overriding protected I underlyingObjectToObject(T object) return null

2011-11-11 Thread jbeau
I'll talk with James (ractive) about that :) -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/overriding-protected-I-underlyingObjectToObject-T-object-return-null-tp3499362p3499476.html Sent from the Neo4j Community Discussions mailing list archive at