Package de.xima.fc.api.entity
Class DatenquelleAPI
- java.lang.Object
 - 
- de.xima.fc.api.ASubAPI
 - 
- de.xima.fc.api.entity.AEntityAPI<Datenquelle>
 - 
- de.xima.fc.api.entity.DatenquelleAPI
 
 
 
 
- 
public class DatenquelleAPI extends AEntityAPI<Datenquelle>
API class for manipulation ofDatenquelleentities.- Author:
 - XIMA MEDIA GmbH, XIMA MEDIA GmbH
 
 
- 
- 
Field Summary
- 
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass 
 - 
 
- 
Constructor Summary
Constructors Constructor Description DatenquelleAPI() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description de.xima.cmn.db.model.SerializableResultSetexecuteDBquery(UserContext uc, Mandant mandant, String datenquellenName, Serializable... parameters)Deprecated.DatenquellegetDatenquelleById(UserContext uc, Mandant mandant, int id)Method for determining a data source of client by the ID.DatenquellegetDatenquelleByName(UserContext uc, Mandant mandant, String name)Deprecated.DatenquellegetDatenquelleByName(UserContext uc, Mandant mandant, String name, EDatenquellenTyp datenquellenTyp)Method for determining a data source of a client by the name and type.List<Datenquelle>getDatenquellen(UserContext uc, Mandant mandant)Method for determining all data sources of aMandant.DatenquellegetPublicDatasource(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, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update 
- 
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getDatenquellen
public List<Datenquelle> getDatenquellen(UserContext uc, Mandant mandant)
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
@Deprecated public Datenquelle getDatenquelleByName(UserContext uc, Mandant mandant, String name)
Deprecated.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
public Datenquelle getDatenquelleById(UserContext uc, Mandant mandant, int id)
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
 
 
- 
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.
 
 - 
 
 -