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.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) 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.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, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, serializableList, update, updateMethods inherited from class de.xima.fc.handler.AMSApiHandler
getNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getNameMethods 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:IDatenbankzugriffHandlerGets the Datenbankzugriff by.- Specified by:
getDatenbankzugriffByMandantin interfaceIDatenbankzugriffHandler- Parameters:
uc- theUserContextto usemandant-Mandantder Mandantenname- the name- Returns:
- the Datenbankzugriff by @
-
getByUUID
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
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
-