Package de.xima.fc.handler.entity
Class DatenbankzugriffHandler
- java.lang.Object
-
- de.xima.fc.handler.AMSApiHandler
-
- de.xima.fc.handler.entity.GenericHandler
-
- de.xima.fc.handler.entity.DatenbankzugriffHandler
-
- All Implemented Interfaces:
IAPIHandler
,IDatenbankzugriffHandler
,IGenericHandler
,Serializable
public class DatenbankzugriffHandler extends GenericHandler implements IDatenbankzugriffHandler
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.xima.fc.handler.entity.GenericHandler
LOG
-
-
Constructor Summary
Constructors Constructor Description DatenbankzugriffHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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, IReplacerParams replacerParams)
DatenbankZugriff
getByUUID(UserContext uc, Mandant client, String uuid)
Returns the DB access with the given UUIDDatenbankZugriff
getByUUID(UserContext uc, Mandant client, UUID uuid)
Returns the DB access with the given UUIDDatenbankZugriff
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)
-
Methods inherited from class de.xima.fc.handler.entity.GenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, serializableList, update, update
-
Methods inherited from class de.xima.fc.handler.AMSApiHandler
getName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName
-
Methods inherited from interface de.xima.fc.handler.interfaces.entity.IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
-
-
-
-
Method Detail
-
getDatenbankzugriffByMandant
public DatenbankZugriff getDatenbankzugriffByMandant(UserContext uc, Mandant mandant, String name)
Description copied from interface:IDatenbankzugriffHandler
Gets the Datenbankzugriff by.- Specified by:
getDatenbankzugriffByMandant
in interfaceIDatenbankzugriffHandler
- Parameters:
uc
- theUserContext
to usemandant
-Mandant
der Mandantenname
- the name- Returns:
- the Datenbankzugriff by @
-
getByUUID
public DatenbankZugriff getByUUID(UserContext uc, Mandant client, String uuid)
Description copied from interface:IDatenbankzugriffHandler
Returns the DB access with the given UUID- Specified by:
getByUUID
in interfaceIDatenbankzugriffHandler
- Parameters:
uc
-UserContext
to useclient
-Mandant
context in which to look for DB accessuuid
-String
UUID of the DB access- Returns:
DatenbankZugriff
for the given UUID and client
-
getByUUID
public DatenbankZugriff getByUUID(UserContext uc, Mandant client, UUID uuid)
Description copied from interface:IDatenbankzugriffHandler
Returns the DB access with the given UUID- Specified by:
getByUUID
in interfaceIDatenbankzugriffHandler
- Parameters:
uc
-UserContext
to useclient
-Mandant
context in which to look for DB accessuuid
-UUID
UUID of the DB access- Returns:
DatenbankZugriff
for the given UUID and client
-
update
public int update(UserContext uc, Integer dbZugriffId, String sql, Serializable... args) throws PropertyVetoException
- Specified by:
update
in interfaceIDatenbankzugriffHandler
- Throws:
PropertyVetoException
-
query
public de.xima.cmn.db.model.SerializableResultSet query(UserContext uc, Integer dbZugriffId, String sql, boolean suppressStatementLimits, Serializable... args) throws PropertyVetoException
- Specified by:
query
in interfaceIDatenbankzugriffHandler
- Throws:
PropertyVetoException
-
executeDBquery
public de.xima.cmn.db.model.SerializableResultSet executeDBquery(UserContext uc, Mandant mandant, String datenquellenName, IReplacerParams placeholderParams, boolean suppressStatementLimits, Serializable... parameters) throws PropertyVetoException, IllegalArgumentException
- Specified by:
executeDBquery
in interfaceIDatenbankzugriffHandler
- Throws:
PropertyVetoException
IllegalArgumentException
-
executePublicDBquery
public de.xima.cmn.db.model.SerializableResultSet executePublicDBquery(UserContext uc, Mandant client, String queryName, boolean suppressStatementLimits, Serializable[] parameters, IReplacerParams replacerParams) throws PropertyVetoException
- Specified by:
executePublicDBquery
in interfaceIDatenbankzugriffHandler
- Throws:
PropertyVetoException
-
-