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.SerializableResultSetexecuteDBquery(UserContext uc, Mandant mandant, String datenquellenName, IReplacerParams placeholderParams, boolean suppressStatementLimits, Serializable... parameters)de.xima.cmn.db.model.SerializableResultSetexecutePublicDBquery(UserContext uc, Mandant client, String queryName, boolean suppressStatementLimits, Serializable[] parameters, IReplacerParams replacerParams)DatenbankZugriffgetByUUID(UserContext uc, Mandant client, String uuid)Returns the DB access with the given UUIDDatenbankZugriffgetByUUID(UserContext uc, Mandant client, UUID uuid)Returns the DB access with the given UUIDDatenbankZugriffgetDatenbankzugriffByMandant(UserContext uc, Mandant mandant, String name)Gets the Datenbankzugriff by.de.xima.cmn.db.model.SerializableResultSetquery(UserContext uc, Integer dbZugriffId, String sql, boolean suppressStatementLimits, Serializable... args)intupdate(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:IDatenbankzugriffHandlerGets the Datenbankzugriff by.- Specified by:
getDatenbankzugriffByMandantin interfaceIDatenbankzugriffHandler- Parameters:
uc- theUserContextto usemandant-Mandantder Mandantenname- the name- Returns:
- the Datenbankzugriff by @
-
getByUUID
public DatenbankZugriff getByUUID(UserContext uc, Mandant client, String uuid)
Description copied from interface:IDatenbankzugriffHandlerReturns the DB access with the given UUID- Specified by:
getByUUIDin interfaceIDatenbankzugriffHandler- Parameters:
uc-UserContextto useclient-Mandantcontext in which to look for DB accessuuid-StringUUID of the DB access- Returns:
DatenbankZugrifffor the given UUID and client
-
getByUUID
public DatenbankZugriff getByUUID(UserContext uc, Mandant client, UUID uuid)
Description copied from interface:IDatenbankzugriffHandlerReturns the DB access with the given UUID- Specified by:
getByUUIDin interfaceIDatenbankzugriffHandler- Parameters:
uc-UserContextto useclient-Mandantcontext in which to look for DB accessuuid-UUIDUUID of the DB access- Returns:
DatenbankZugrifffor the given UUID and client
-
update
public int update(UserContext uc, Integer dbZugriffId, String sql, Serializable... args) throws PropertyVetoException
- Specified by:
updatein 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:
queryin 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:
executeDBqueryin interfaceIDatenbankzugriffHandler- Throws:
PropertyVetoExceptionIllegalArgumentException
-
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:
executePublicDBqueryin interfaceIDatenbankzugriffHandler- Throws:
PropertyVetoException
-
-