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
- See Also:
-
Field Summary
Fields inherited from class de.xima.fc.handler.entity.GenericHandler
LOG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.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) getByUUID
(UserContext uc, Mandant client, String uuid) Returns the DB access with the given UUIDgetByUUID
(UserContext uc, Mandant client, UUID uuid) Returns the DB access with the given UUIDgetDatenbankzugriffByMandant
(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, getEntityRefs, 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, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
-
Constructor Details
-
DatenbankzugriffHandler
public DatenbankzugriffHandler()
-
-
Method Details
-
getDatenbankzugriffByMandant
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
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
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
-