public class DatenbankZugriffAPI extends AEntityAPI<DatenbankZugriff>
DatenbankZugriff entities.entityClass| Constructor and Description | 
|---|
DatenbankZugriffAPI()  | 
| Modifier and Type | Method and Description | 
|---|---|
de.xima.cmn.db.model.SerializableResultSet | 
executeDBquery(UserContext uc,
              Mandant mandant,
              String abfrageName,
              boolean suppressStatementLimits,
              Serializable... parameters)
Method for executing a query with parameter. 
 | 
de.xima.cmn.db.model.SerializableResultSet | 
executeDBquery(UserContext uc,
              Mandant mandant,
              String abfrageName,
              IReplacerParams placeholderParams,
              boolean suppressStatementLimits,
              Serializable... parameters)  | 
de.xima.cmn.db.model.SerializableResultSet | 
executePublicDBquery(UserContext uc,
                    Mandant client,
                    String queryName,
                    boolean suppressStatementLimits,
                    Serializable[] parameters)  | 
Integer | 
executeSQL(UserContext uc,
          Integer dbZugriffId,
          String sql)
Deprecated. 
 
 | 
de.xima.cmn.db.model.SerializableResultSet | 
executeSQL(UserContext uc,
          Integer dbZugriffID,
          String sql,
          boolean suppressStatementLimits,
          Serializable... args)
Method for executing a Query  
PreparedStatement on the Master-Server. | 
DatenbankZugriff | 
getByMandantAndName(UserContext uc,
                   Mandant mandant,
                   String name)
 | 
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 
 | 
de.xima.cmn.db.model.SerializableResultSet | 
query(UserContext uc,
     Integer dbZugriffID,
     String sql,
     Serializable... args)
Deprecated. 
 
use  
executeSQL(UserContext, Integer, String, boolean, Serializable...). Suppression of
 statement-limits disabled! | 
de.xima.cmn.db.model.SerializableResultSet | 
query(UserContext uc,
     Mandant mandant,
     String abfrageName,
     Serializable... parameters)
Deprecated. 
 
use  
executeDBquery(UserContext, Mandant, String, boolean, Serializable...). Suppression of
 statement-limits disabled! | 
int | 
update(UserContext uc,
      Integer dbZugriffID,
      String sql,
      Serializable... args)
Method for executing a update  
PreparedStatement on the Master-Server. | 
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, updategetHandlerProviderpublic de.xima.cmn.db.model.SerializableResultSet executeSQL(UserContext uc, Integer dbZugriffID, String sql, boolean suppressStatementLimits, Serializable... args) throws PropertyVetoException
PreparedStatement on the Master-Server.uc - UserContext the user context in which the action is to be performed.dbZugriffID - Integer the DatenbankZugriff ID to which the PreparedStatement to be
 executed.sql - String the SQL string of the PreparedStatements.suppressStatementLimits - Boolean flag to suppress the global result limit of the SQL query.args - Array of Serializable for setting the parameter of PreparedStatements.PropertyVetoException - if a error occurs.@Deprecated public de.xima.cmn.db.model.SerializableResultSet query(UserContext uc, Integer dbZugriffID, String sql, Serializable... args) throws PropertyVetoException
executeSQL(UserContext, Integer, String, boolean, Serializable...). Suppression of
 statement-limits disabled!PreparedStatement on the Master-Server.uc - UserContext the user context in which the action is to be performed.dbZugriffID - Integer the DatenbankZugriff ID to which the PreparedStatement to be
 executed.sql - String the SQL string of the PreparedStatements.args - Array of Serializable for setting the parameter of PreparedStatements.PropertyVetoException - if a error occurs.public int update(UserContext uc, Integer dbZugriffID, String sql, Serializable... args) throws PropertyVetoException
PreparedStatement on the Master-Server.uc - UserContext the user context in which the action is to be performed.dbZugriffID - Integer the DatenbankZugriff ID to which the PreparedStatement to be
 executed.sql - String the SQL string of the PreparedStatements.args - Array of Serializable for setting the parameter of PreparedStatements.PropertyVetoException - if a error occurs.public DatenbankZugriff getByMandantAndName(UserContext uc, Mandant mandant, String name)
uc - UserContext the user context in which the action is to be performed.mandant - to which the DatenbankZugriff is associated.name - String the name of DatenbankZugriffsDatenbankZugriff which was searched.public DatenbankZugriff getByUUID(UserContext uc, Mandant client, String uuid)
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)
uc - UserContext to useclient - Mandant context in which to look for DB accessuuid - UUID UUID of the DB accessDatenbankZugriff for the given UUID and client@Deprecated public Integer executeSQL(UserContext uc, Integer dbZugriffId, String sql) throws PropertyVetoException
update(UserContext, Integer, String, Serializable...)PreparedStatement on the Master-Server.uc - UserContext the user context in which the action is to be performed.dbZugriffId - Integer the DatenbankZugriff ID to which the PreparedStatement to be
 executed.sql - String the SQL string of the PreparedStatements.PropertyVetoException - if a error occurs.public de.xima.cmn.db.model.SerializableResultSet executeDBquery(UserContext uc, Mandant mandant, String abfrageName, boolean suppressStatementLimits, Serializable... parameters) throws PropertyVetoException, IllegalArgumentException
uc - UserContext the user context in which the action is to be performed.mandant - whose query is executed.abfrageName - name of the data source to be executed.suppressStatementLimits - Boolean flag to suppress the global result limit of the SQL query.parameters - to be passed to the data source query.PropertyVetoException - if a error occurs.IllegalArgumentException - if a error occurs.public de.xima.cmn.db.model.SerializableResultSet executeDBquery(UserContext uc, Mandant mandant, String abfrageName, IReplacerParams placeholderParams, boolean suppressStatementLimits, Serializable... parameters) throws PropertyVetoException, IllegalArgumentException
@Deprecated public de.xima.cmn.db.model.SerializableResultSet query(UserContext uc, Mandant mandant, String abfrageName, Serializable... parameters) throws PropertyVetoException, IllegalArgumentException
executeDBquery(UserContext, Mandant, String, boolean, Serializable...). Suppression of
 statement-limits disabled!uc - UserContext the user context in which the action is to be performed.mandant - whose query is executed.abfrageName - name of the data source to be executed.parameters - to be passed to the data source query.PropertyVetoException - if a error occurs.IllegalArgumentException - if a error occurs.public de.xima.cmn.db.model.SerializableResultSet executePublicDBquery(UserContext uc, Mandant client, String queryName, boolean suppressStatementLimits, Serializable[] parameters) throws PropertyVetoException, IllegalArgumentException
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.