public class JpaCommandAdapter extends Object implements CommandAdapter
| Constructor and Description |
|---|
JpaCommandAdapter(String contextName,
JpaEmFactory emFactory,
HandleableException handlerException) |
| Modifier and Type | Method and Description |
|---|---|
<T,R> Command |
asAddCommand(Queryable queryable) |
<T,R> Command |
asRemoveCommand(Queryable queryable) |
<T,R> Command |
asSelectCommand(Queryable queryable,
ResultRow<T,R> overloadResultRow) |
<T,R> Command |
asUpdateCommand(Queryable queryable) |
void |
close() |
String |
getContextName() |
String |
toString() |
public JpaCommandAdapter(String contextName, JpaEmFactory emFactory, HandleableException handlerException)
public String getContextName()
getContextName in interface CommandAdapterpublic void close()
close in interface CommandAdapterpublic <T,R> Command asSelectCommand(Queryable queryable, ResultRow<T,R> overloadResultRow)
asSelectCommand in interface CommandAdapterpublic <T,R> Command asUpdateCommand(Queryable queryable)
asUpdateCommand in interface CommandAdapterpublic <T,R> Command asRemoveCommand(Queryable queryable)
asRemoveCommand in interface CommandAdapterpublic <T,R> Command asAddCommand(Queryable queryable)
asAddCommand in interface CommandAdapterCopyright © 2012–2020 jkniv, copyleft code. All rights reserved.