public class DatenbankzugriffHandler extends GenericHandler implements IDatenbankzugriffHandler
LOG
Constructor and Description |
---|
DatenbankzugriffHandler() |
Modifier and Type | Method and Description |
---|---|
de.xima.cmn.db.model.SerializableResultSet |
executeDBquery(UserContext uc,
Mandant mandant,
String datenquellenName,
IReplacerParams placeholderParams,
boolean suppressStatementLimits,
Serializable... parameters) |
de.xima.cmn.db.model.SerializableResultSet |
executePublicDBquery(UserContext uc,
Mandant client,
String queryName,
boolean suppressStatementLimits,
Serializable[] parameters) |
DatenbankZugriff |
getByUUID(UserContext uc,
Mandant client,
String uuid)
Returns the DB access with the given UUID
|
DatenbankZugriff |
getByUUID(UserContext uc,
Mandant client,
UUID uuid)
Returns the DB access with the given UUID
|
DatenbankZugriff |
getDatenbankzugriffByMandant(UserContext uc,
Mandant mandant,
String name)
Gets the Datenbankzugriff by.
|
de.xima.cmn.db.model.SerializableResultSet |
query(UserContext uc,
Integer dbZugriffId,
String sql,
boolean suppressStatementLimits,
Serializable... args) |
int |
update(UserContext uc,
Integer dbZugriffId,
String sql,
Serializable... args) |
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, serializableList, update, update
getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
getName
public DatenbankZugriff getDatenbankzugriffByMandant(UserContext uc, Mandant mandant, String name)
IDatenbankzugriffHandler
getDatenbankzugriffByMandant
in interface IDatenbankzugriffHandler
uc
- the UserContext
to usemandant
- Mandant
der Mandantenname
- the namepublic DatenbankZugriff getByUUID(UserContext uc, Mandant client, String uuid)
IDatenbankzugriffHandler
getByUUID
in interface IDatenbankzugriffHandler
uc
- UserContext
to useclient
- Mandant
context in which to look for DB accessuuid
- String
UUID of the DB accessDatenbankZugriff
for the given UUID and clientpublic DatenbankZugriff getByUUID(UserContext uc, Mandant client, UUID uuid)
IDatenbankzugriffHandler
getByUUID
in interface IDatenbankzugriffHandler
uc
- UserContext
to useclient
- Mandant
context in which to look for DB accessuuid
- UUID
UUID of the DB accessDatenbankZugriff
for the given UUID and clientpublic int update(UserContext uc, Integer dbZugriffId, String sql, Serializable... args) throws PropertyVetoException
update
in interface IDatenbankzugriffHandler
PropertyVetoException
public de.xima.cmn.db.model.SerializableResultSet query(UserContext uc, Integer dbZugriffId, String sql, boolean suppressStatementLimits, Serializable... args) throws PropertyVetoException
query
in interface IDatenbankzugriffHandler
PropertyVetoException
public de.xima.cmn.db.model.SerializableResultSet executeDBquery(UserContext uc, Mandant mandant, String datenquellenName, IReplacerParams placeholderParams, boolean suppressStatementLimits, Serializable... parameters) throws PropertyVetoException, IllegalArgumentException
executeDBquery
in interface IDatenbankzugriffHandler
PropertyVetoException
IllegalArgumentException
public de.xima.cmn.db.model.SerializableResultSet executePublicDBquery(UserContext uc, Mandant client, String queryName, boolean suppressStatementLimits, Serializable[] parameters) throws PropertyVetoException
executePublicDBquery
in interface IDatenbankzugriffHandler
PropertyVetoException
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.