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 anotherDatenquelle
in 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) boolean
isNameExisiting
(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, update
Methods 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 anotherDatenquelle
in the given client other than the excluded data source. An index will be added to the candidate if necessary.- Parameters:
ec
-IEntityContext
to be usedclient
-Mandant
for which a unique data source name should be generatedcandidate
-String
data source name candiate to be made uniqueexclude
-Datenquelle
data 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
-IEntityContext
to be usedclient
-Mandant
for 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
-IEntityContext
to useclient
-Mandant
context in which to look for data sourceuuid
-String
UUID of the data source- Returns:
Datenquelle
for the given UUID and client- Since:
- 7.0.0
-
getByUUID
Returns the data source with the given UUID- Parameters:
ec
-IEntityContext
to useclient
-Mandant
context in which to look for data sourceuuid
-UUID
UUID of the data source- Returns:
Datenquelle
for the given UUID and client- Since:
- 7.0.0
-