Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.openjpa.kernel
Interface FindCallbacks

All Known Implementing Classes:
  BrokerImpl, DistributedBrokerImpl, EntityManagerImpl, FinalizingBrokerImpl

    public interface FindCallbacks

Allows facades to control the particulars of the find operation through callbacks.

Author:
  Abe White

Method Summary
`Object` | `processArgument(Object oid)` Process find argument.
`Object` | `processReturn(Object oid, OpenJPAStateManager sm)` Process operation return value.

Method Detail

### processArgument

    Object processArgument(Object oid)

  Process find argument. Throw proper `OpenJPAException` for 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.