Package org.apache.openjpa.kernel
Interface FindCallbacks
-
- All Known Implementing Classes:
BrokerImpl,DistributedBrokerImpl,EntityManagerImpl,FinalizingBrokerImpl
public interface FindCallbacksAllows facades to control the particulars of the find operation through callbacks.- Author:
- Abe White
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectprocessArgument(Object oid)Process find argument.ObjectprocessReturn(Object oid, OpenJPAStateManager sm)Process operation return value.
-
-
-
Method Detail
-
processArgument
Object processArgument(Object oid)
Process find argument. Throw properOpenJPAExceptionfor illegal value.- Returns:
- the id to look up, or null to ignore this argument
-
processReturn
Object processReturn(Object oid, OpenJPAStateManager sm)
Process operation return value.- Returns:
- the object to return
-
-