Package de.xima.fc.dao.interfaces
Interface IDatenquelleDao
-
- All Superinterfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<Datenquelle,Long,IEntityContext>,IGenericDao<Datenquelle>,IMandantDependentBaseDao<Datenquelle>
- All Known Implementing Classes:
DatenquelleDao
public interface IDatenquelleDao extends IMandantDependentBaseDao<Datenquelle>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringfindUniqueName(IEntityContext ec, Mandant client, String candidate, Datenquelle exclude)Returns a name that is not taken by anotherDatenquellein the given client other than the excluded data source.DatenquellegetByUUID(IEntityContext ec, Mandant client, String uuid)Returns the data source with the given UUID stringDatenquellegetByUUID(IEntityContext ec, Mandant client, UUID uuid)Returns the data source with the given UUIDDatenquellegetDatenquelleById(IEntityContext ec, Mandant mandant, int id)DatenquellegetDatenquelleByName(IEntityContext ec, Mandant mandant, String name)DatenquellegetDatenquelleByNameAndType(IEntityContext ec, Mandant mandant, String name, EDatenquellenTyp datenquellenTyp)List<Datenquelle>getDatenquellen(IEntityContext ec, Mandant mandant)DatenquellegetPublicDatasource(IEntityContext ec, Mandant client, String name, EDatenquellenTyp type)booleanisNameExisiting(IEntityContext ec, Mandant client, String name)Returns whether or not the given data source name exists within the given client-
Methods inherited from interface de.xima.cmn.dao.interfaces.IAbstractDao
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
-
Methods inherited from interface de.xima.fc.dao.interfaces.IGenericDao
getEntityRefs, read
-
-
-
-
Method Detail
-
getDatenquelleByName
Datenquelle getDatenquelleByName(IEntityContext ec, Mandant mandant, String name)
-
getDatenquelleByNameAndType
Datenquelle getDatenquelleByNameAndType(IEntityContext ec, Mandant mandant, String name, EDatenquellenTyp datenquellenTyp)
-
getDatenquellen
List<Datenquelle> getDatenquellen(IEntityContext ec, Mandant mandant)
-
getDatenquelleById
Datenquelle getDatenquelleById(IEntityContext ec, Mandant mandant, int id)
-
getPublicDatasource
Datenquelle getPublicDatasource(IEntityContext ec, Mandant client, String name, EDatenquellenTyp type)
-
findUniqueName
String findUniqueName(IEntityContext ec, Mandant client, String candidate, Datenquelle exclude)
Returns a name that is not taken by anotherDatenquellein the given client other than the excluded data source. An index will be added to the candidate if necessary.- Parameters:
ec-IEntityContextto be usedclient-Mandantfor which a unique data source name should be generatedcandidate-Stringdata source name candiate to be made uniqueexclude-Datenquelledata source to be excluded from search- Returns:
- unique data source name in the context of the given client
- Since:
- 6.6.0
-
isNameExisiting
boolean isNameExisiting(IEntityContext ec, Mandant client, String name)
Returns whether or not the given data source name exists within the given client- Parameters:
ec-IEntityContextto be usedclient-Mandantfor which to check uniquenessname- Data source name to check- Returns:
- whether or not the given name is unique
- Since:
- 6.4.0
-
getByUUID
Datenquelle getByUUID(IEntityContext ec, Mandant client, String uuid)
Returns the data source with the given UUID string- Parameters:
ec-IEntityContextto useclient-Mandantcontext in which to look for data sourceuuid-StringUUID of the data source- Returns:
Datenquellefor the given UUID and client- Since:
- 7.0.0
-
getByUUID
Datenquelle getByUUID(IEntityContext ec, Mandant client, UUID uuid)
Returns the data source with the given UUID- Parameters:
ec-IEntityContextto useclient-Mandantcontext in which to look for data sourceuuid-UUIDUUID of the data source- Returns:
Datenquellefor the given UUID and client- Since:
- 7.0.0
-
-