Group
- Target
- public class AbstractUpdateProcessor<Group,Target> extends AbstractRepositoryWriter<Group,Target>
AbstractRepositoryWriter.OP
Modifier and Type | Field and Description |
---|---|
protected net.idea.modbcum.i.query.IQueryUpdate<Group,Target> |
queryCreate |
protected net.idea.modbcum.i.query.IQueryUpdate<Group,Target> |
queryDelete |
protected net.idea.modbcum.i.query.IQueryUpdate<Group,Target> |
queryUpdate |
exec, operation, queryexec
Constructor and Description |
---|
AbstractUpdateProcessor() |
AbstractUpdateProcessor(AbstractRepositoryWriter.OP operation,
net.idea.modbcum.i.query.IQueryUpdate<Group,Target> query) |
Modifier and Type | Method and Description |
---|---|
Target |
create(Group group) |
Target |
delete(Group group) |
protected Target |
execute(Group group,
net.idea.modbcum.i.query.IQueryUpdate<Group,Target> query) |
net.idea.modbcum.i.query.IQueryUpdate<Group,Target> |
getQueryCreate() |
net.idea.modbcum.i.query.IQueryUpdate<Group,Target> |
getQueryDelete() |
net.idea.modbcum.i.query.IQueryUpdate<Group,Target> |
getQueryUpdate() |
Target |
getTarget() |
void |
setQueryCreate(net.idea.modbcum.i.query.IQueryUpdate<Group,Target> queryCreate) |
void |
setQueryDelete(net.idea.modbcum.i.query.IQueryUpdate<Group,Target> queryDelete) |
void |
setQueryUpdate(net.idea.modbcum.i.query.IQueryUpdate<Group,Target> queryUpdate) |
void |
setTarget(Target target) |
Target |
update(Group group) |
close, getOperation, open, prepareStatement, process, read, setConnection, setOperation, transaction, write
getConnection, isCloseConnection, isEnabled, setCloseConnection
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
public AbstractUpdateProcessor()
public AbstractUpdateProcessor(AbstractRepositoryWriter.OP operation, net.idea.modbcum.i.query.IQueryUpdate<Group,Target> query)
public void setQueryCreate(net.idea.modbcum.i.query.IQueryUpdate<Group,Target> queryCreate)
public void setQueryDelete(net.idea.modbcum.i.query.IQueryUpdate<Group,Target> queryDelete)
public void setQueryUpdate(net.idea.modbcum.i.query.IQueryUpdate<Group,Target> queryUpdate)
public Target getTarget()
public void setTarget(Target target)
protected Target execute(Group group, net.idea.modbcum.i.query.IQueryUpdate<Group,Target> query) throws SQLException, OperationNotSupportedException, net.idea.modbcum.i.exceptions.AmbitException
SQLException
OperationNotSupportedException
net.idea.modbcum.i.exceptions.AmbitException
public Target create(Group group) throws SQLException, OperationNotSupportedException, net.idea.modbcum.i.exceptions.AmbitException
create
in class AbstractRepositoryWriter<Group,Target>
SQLException
OperationNotSupportedException
net.idea.modbcum.i.exceptions.AmbitException
public Target delete(Group group) throws SQLException, OperationNotSupportedException, net.idea.modbcum.i.exceptions.AmbitException
delete
in class AbstractRepositoryWriter<Group,Target>
SQLException
OperationNotSupportedException
net.idea.modbcum.i.exceptions.AmbitException
public Target update(Group group) throws SQLException, OperationNotSupportedException, net.idea.modbcum.i.exceptions.AmbitException
update
in class AbstractRepositoryWriter<Group,Target>
SQLException
OperationNotSupportedException
net.idea.modbcum.i.exceptions.AmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.