Class DatenquelleAPI
API class for manipulation of
Datenquelle entities.- Author:
- XIMA MEDIA GmbH, XIMA MEDIA GmbH
-
Field Summary
Fields inherited from class AEntityAPI
entityClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.xima.cmn.db.model.SerializableResultSetexecuteDBquery(UserContext uc, Mandant mandant, String datenquellenName, Serializable... parameters) Deprecated.getDatenquelleById(UserContext uc, Mandant mandant, int id) Method for determining a data source of client by the ID.getDatenquelleByName(UserContext uc, Mandant mandant, String name) Method for determining a data source of client by his name.getDatenquelleByName(UserContext uc, Mandant mandant, String name, EDatenquellenTyp datenquellenTyp) Method for determining a data source of a client by the name and type.getDatenquellen(UserContext uc, Mandant mandant) Method for determining all data sources of aMandant.getPublicDatasource(UserContext uc, Mandant mandant, String name, EDatenquellenTyp datenquellenTyp) remoteUpdateDataSource(UserContext uc, Datenquelle datenquelle) Method to update a data source.Methods inherited from class AEntityAPI
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getEntityRefs, getPagedResult, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, updateMethods inherited from class ASubAPI
getHandlerProvider
-
Constructor Details
-
DatenquelleAPI
public DatenquelleAPI()
-
-
Method Details
-
getDatenquellen
Method for determining all data sources of aMandant.- Parameters:
uc-UserContextthe user context in which the action is to be performed.mandant- whoseDatenquelleis to be determined.- Returns:
ListofDatenquelle.- Since:
- 2.4.3
-
getDatenquelleByName
Method for determining a data source of client by his name.- Parameters:
uc-UserContextthe user context in which the action is to be performed.mandant- whoseDatenquelleis to be determined.name-Stringthe name of the data source.- Returns:
Datenquellethe data source.- Since:
- 2.4.3
-
getDatenquelleByName
public Datenquelle getDatenquelleByName(UserContext uc, Mandant mandant, String name, EDatenquellenTyp datenquellenTyp) Method for determining a data source of a client by the name and type.- Parameters:
uc-UserContextthe user context in which the action is to be performed.mandant- whoseDatenquelleis to be determined.name-Stringthe name of the data source.datenquellenTyp-EDatenquellenTypafter being filtered.- Returns:
Datenquellethe data source.- Since:
- 5.1.0
-
getPublicDatasource
public Datenquelle getPublicDatasource(UserContext uc, Mandant mandant, String name, EDatenquellenTyp datenquellenTyp) -
getDatenquelleById
Method for determining a data source of client by the ID.- Parameters:
uc-UserContextthe user context in which the action is to be performed.mandant- whoseDatenquelleis to be determined.id-Integerthe ID of the data source.- Returns:
Datenquellethe data source.- Since:
- 2.4.3
-
remoteUpdateDataSource
Method to update a data source.- Parameters:
uc-UserContextthe user context in which the action is to be performed.datenquelle-Datenquellethe data source to be updated.- Returns:
Datenquellethe updated data source.
-
executeDBquery
@Deprecated public de.xima.cmn.db.model.SerializableResultSet executeDBquery(UserContext uc, Mandant mandant, String datenquellenName, Serializable... parameters) throws PropertyVetoException Deprecated.Method for determining a data source with parameters.- Parameters:
uc-UserContextthe user context in which the action is to be performed.mandant- whoseDatenquelleis to be determined.datenquellenName- name of the data source to be executed.parameters- to be passed to the data source query.- Returns:
- Serializable database result object with the query result.
- Throws:
PropertyVetoException- will occur when a proposed change to a property represents an unacceptable value.
-
DatenbankZugriffAPI.executeDBquery(UserContext, Mandant, String, boolean, Serializable...)instead.