public interface IDatenquelleDao extends IMandantDependentBaseDao<Datenquelle>
Modifier and Type | Method and Description |
---|---|
String |
findUniqueName(IEntityContext ec,
Mandant client,
String candidate,
Datenquelle exclude)
Returns a name that is not taken by another
Datenquelle in the given client other than the excluded data
source. |
Datenquelle |
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
|
getEntityRefs, read
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
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 getDatenquelleById(IEntityContext ec, Mandant mandant, int id)
Datenquelle getPublicDatasource(IEntityContext ec, Mandant client, String name, EDatenquellenTyp type)
String findUniqueName(IEntityContext ec, Mandant client, String candidate, Datenquelle exclude)
Datenquelle
in the given client other than the excluded data
source. An index will be added to the candidate if necessary.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 searchboolean isNameExisiting(IEntityContext ec, Mandant client, String name)
ec
- IEntityContext
to be usedclient
- Mandant
for which to check uniquenesscandidate
- String
data source name to checkCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.