Package de.xima.fc.handler.entity
Class DatenquelleHandler
- java.lang.Object
 - 
- de.xima.fc.handler.AMSApiHandler
 - 
- de.xima.fc.handler.entity.GenericHandler
 - 
- de.xima.fc.handler.entity.DatenquelleHandler
 
 
 
 
- 
- All Implemented Interfaces:
 IAPIHandler,IDatenquelleHandler,IGenericHandler,Serializable
public class DatenquelleHandler extends GenericHandler implements IDatenquelleHandler
The Class DataStoreHandler.- Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
- 
Fields inherited from class de.xima.fc.handler.entity.GenericHandler
LOG 
 - 
 
- 
Constructor Summary
Constructors Constructor Description DatenquelleHandler() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatenquellegetDatenquelleById(UserContext uc, Mandant mandant, int id)Gets adata sourceby its databaseID.DatenquellegetDatenquelleByName(UserContext uc, Mandant man, String name)Gets adata sourcewith a givenname.DatenquellegetDatenquelleByNameAndType(UserContext uc, Mandant mandant, String name, EDatenquellenTyp dataSourceType)List<Datenquelle>getDatenquellen(UserContext uc, Mandant mandant)Gets alldata sourcesowned by the givenclient.DatenquellegetPublicDatasource(UserContext uc, Mandant client, String name, EDatenquellenTyp type)Gets apublicdata sourceDatenquelleremoteUpdateDataSource(UserContext uc, Datenquelle datasource)Updates a data source.- 
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, update 
- 
Methods inherited from class de.xima.fc.handler.AMSApiHandler
getName 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName 
- 
Methods 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 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getDatenquellen
public List<Datenquelle> getDatenquellen(UserContext uc, Mandant mandant)
Description copied from interface:IDatenquelleHandlerGets alldata sourcesowned by the givenclient.- Specified by:
 getDatenquellenin interfaceIDatenquelleHandler- Parameters:
 uc- The user context of the user who requested the data sources.mandant- The client who owns the data sources.- Returns:
 - All data sources owned by the client, or an empty list if none are found.
 
 
- 
getDatenquelleByName
public Datenquelle getDatenquelleByName(UserContext uc, Mandant man, String name)
Description copied from interface:IDatenquelleHandlerGets adata sourcewith a givenname.- Specified by:
 getDatenquelleByNamein interfaceIDatenquelleHandler- Parameters:
 uc- The user context of the user who requested the data source.man- The client who owns the data source.name- The name of the data source.- Returns:
 - The data source with the given name, or null if not found.
 
 
- 
getDatenquelleById
public Datenquelle getDatenquelleById(UserContext uc, Mandant mandant, int id)
Description copied from interface:IDatenquelleHandlerGets adata sourceby its databaseID.- Specified by:
 getDatenquelleByIdin interfaceIDatenquelleHandler- Parameters:
 uc- The user context of the user who requested the data source.mandant- The client who owns the data source.id- The database ID of the data source.- Returns:
 - The data source with the given ID, or null if not found.
 
 
- 
getDatenquelleByNameAndType
public Datenquelle getDatenquelleByNameAndType(UserContext uc, Mandant mandant, String name, EDatenquellenTyp dataSourceType)
Description copied from interface:IDatenquelleHandler- Specified by:
 getDatenquelleByNameAndTypein interfaceIDatenquelleHandler- Parameters:
 uc- The user context of the user who requested the data source.mandant- The client who owns the data source.name- The name of the data source.dataSourceType- The type of the data source.- Returns:
 - The data source with the given name and type, or null if not found.
 
 
- 
getPublicDatasource
public Datenquelle getPublicDatasource(UserContext uc, Mandant client, String name, EDatenquellenTyp type)
Description copied from interface:IDatenquelleHandlerGets apublicdata source- Specified by:
 getPublicDatasourcein interfaceIDatenquelleHandler- Parameters:
 uc- The user context of the user who requested the data source.client- The client who owns the data source.name- The name of the data source.type- The type of the data source.- Returns:
 - The retrieved data source or null if not found or the data source is not public.
 
 
- 
remoteUpdateDataSource
public Datenquelle remoteUpdateDataSource(UserContext uc, Datenquelle datasource)
Description copied from interface:IDatenquelleHandlerUpdates a data source.- Specified by:
 remoteUpdateDataSourcein interfaceIDatenquelleHandler- Parameters:
 uc- The user context of the user who requested the update.datasource- The data source to update.- Returns:
 - The updated data source or null if the update failed.
 
 
 - 
 
 -