| java.lang.Object |
| ↳ |
org.mule.module.jpa.command.Find |
Class Overview
Perform a JPA find operation
Summary
| Public Constructors |
|
|
Find()
|
| Public Methods |
|
Object
|
execute(EntityManager entityManager, Object message, Map<String, Object> parameters, Boolean flush)
Performs the JPA operations exposed by implementing classes (ie, persist, merge, etc.)
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
org.mule.module.jpa.command.JPACommand
|
abstract
Object
|
execute(EntityManager entityManager, Object payload, Map<String, Object> parameters, Boolean flush)
Performs the JPA operations exposed by implementing classes (ie, persist, merge, etc.)
|
|
Fields
Public Constructors
Public Methods
public
Object
execute
(EntityManager entityManager, Object message, Map<String, Object> parameters, Boolean flush)
Performs the JPA operations exposed by implementing classes (ie, persist, merge, etc.)
Parameters
| entityManager
| The entityManager |
| message
| The message's payload. Typically an instance of an entity class, but could also be a primary key
or query parameters depending on the operation. |
| parameters
| Additional parameters to pass to the request |
| flush
| If set to true then call flush() on the entityManager |
Returns
- the result of the JPA operation