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 CommandAdapter
public void close()
close
in interface CommandAdapter
public <T,R> Command asSelectCommand(Queryable queryable, ResultRow<T,R> overloadResultRow)
asSelectCommand
in interface CommandAdapter
public <T,R> Command asUpdateCommand(Queryable queryable)
asUpdateCommand
in interface CommandAdapter
public <T,R> Command asRemoveCommand(Queryable queryable)
asRemoveCommand
in interface CommandAdapter
public <T,R> Command asAddCommand(Queryable queryable)
asAddCommand
in interface CommandAdapter
Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.