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
The Class DataStoreHandler.
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields inherited from class GenericHandler
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDatenquelleById(UserContext uc, Mandant mandant, int id) Gets adata sourceby its databaseID.getDatenquelleByName(UserContext uc, Mandant man, String name) Gets adata sourcewith a givenname.getDatenquelleByNameAndType(UserContext uc, Mandant mandant, String name, EDatenquellenTyp dataSourceType) getDatenquellen(UserContext uc, Mandant mandant) Gets alldata sourcesowned by the givenclient.getPublicDatasource(UserContext uc, Mandant client, String name, EDatenquellenTyp type) Gets apublicdata sourceremoteUpdateDataSource(UserContext uc, Datenquelle datasource) Updates a data source.Methods inherited from class GenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, serializableList, update, updateMethods inherited from class AMSApiHandler
getNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAPIHandler
getNameMethods inherited from interface IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
-
Constructor Details
-
DatenquelleHandler
public DatenquelleHandler()
-
-
Method Details
-
getDatenquellen
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
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
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
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.
-