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 String
findUniqueName(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.Datenquelle
getByUUID(IEntityContext ec, Mandant client, String uuid)
Returns the data source with the given UUID stringDatenquelle
getByUUID(IEntityContext ec, Mandant client, UUID uuid)
Returns the data source with the given UUIDDatenquelle
getDatenquelleById(IEntityContext ec, Mandant mandant, int id)
Datenquelle
getDatenquelleByName(IEntityContext ec, Mandant mandant, String name)
Datenquelle
getDatenquelleByNameAndType(IEntityContext ec, Mandant mandant, String name, EDatenquellenTyp datenquellenTyp)
List<Datenquelle>
getDatenquellen(IEntityContext ec, Mandant mandant)
Datenquelle
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 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
count, findAll, findSingle, 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 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
boolean isNameExisiting(IEntityContext ec, Mandant client, String name)
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
Datenquelle getByUUID(IEntityContext ec, Mandant client, String uuid)
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
Datenquelle getByUUID(IEntityContext ec, Mandant client, UUID uuid)
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
-
-