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
-
Method Summary
Modifier and TypeMethodDescriptionfindUniqueName(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.getByUUID(IEntityContext ec, Mandant client, String uuid) Returns the data source with the given UUID stringgetByUUID(IEntityContext ec, Mandant client, UUID uuid) Returns the data source with the given UUIDgetDatenquelleById(IEntityContext ec, Mandant mandant, int id) getDatenquelleByName(IEntityContext ec, Mandant mandant, String name) getDatenquelleByNameAndType(IEntityContext ec, Mandant mandant, String name, EDatenquellenTyp datenquellenTyp) getDatenquellen(IEntityContext ec, Mandant mandant) getPublicDatasource(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 clientMethods 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, updateMethods inherited from interface de.xima.fc.dao.interfaces.IGenericDao
count, findAll, findSingle, getEntityRefs, read
-
Method Details
-
getDatenquelleByName
-
getDatenquelleByNameAndType
Datenquelle getDatenquelleByNameAndType(IEntityContext ec, Mandant mandant, String name, EDatenquellenTyp datenquellenTyp) -
getDatenquellen
-
getDatenquelleById
-
getPublicDatasource
Datenquelle getPublicDatasource(IEntityContext ec, Mandant client, String name, EDatenquellenTyp type) -
findUniqueName
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
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
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
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
-