Package de.xima.fc.api.entity
Class DatenquelleAPI
API class for manipulation of
Datenquelle
entities.- Author:
- XIMA MEDIA GmbH, XIMA MEDIA GmbH
-
Field Summary
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.xima.cmn.db.model.SerializableResultSet
executeDBquery
(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) Deprecated.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) Methods inherited from class de.xima.fc.api.entity.AEntityAPI
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
Constructor Details
-
DatenquelleAPI
public DatenquelleAPI()
-
-
Method Details
-
getDatenquellen
Method for determining all data sources of aMandant
.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.mandant
- whoseDatenquelle
is to be determined.- Returns:
List
ofDatenquelle
.- Since:
- 2.4.3
-
getDatenquelleByName
Deprecated.Method for determining a data source of client by his name.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.mandant
- whoseDatenquelle
is to be determined.name
-String
the name of the data source.- Returns:
Datenquelle
the 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
-UserContext
the user context in which the action is to be performed.mandant
- whoseDatenquelle
is to be determined.name
-String
the name of the data source.datenquellenTyp
-EDatenquellenTyp
after being filtered.- Returns:
Datenquelle
the 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
-UserContext
the user context in which the action is to be performed.mandant
- whoseDatenquelle
is to be determined.id
-Integer
the ID of the data source.- Returns:
Datenquelle
the data source.- Since:
- 2.4.3
-
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
-UserContext
the user context in which the action is to be performed.mandant
- whoseDatenquelle
is 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.