public interface ITextbausteinDao extends IMandantDependentBaseDao<Textbaustein>
| Modifier and Type | Method and Description |
|---|---|
String |
findUniqueName(IEntityContext ec,
Mandant client,
String candidate)
Returns a name that is not taken by another
Textbaustein in the given client. |
String |
findUniqueName(IEntityContext ec,
Mandant client,
String candidate,
Textbaustein exclude)
Returns a name that is not taken by another
Textbaustein in the given client other than the excluded
template. |
List<Textbaustein> |
getAll(IEntityContext ec,
Mandant m) |
List<Textbaustein> |
getAllByKat(IEntityContext ec,
Mandant mandant,
ETextbausteinKategorie kategorie) |
List<Textbaustein> |
getAllByProject(IEntityContext ec,
Projekt project)
Returns all templates that are being used by the given project
|
Textbaustein |
getByKatAndName(IEntityContext ec,
Mandant mandant,
ETextbausteinKategorie kategorie,
String name) |
Textbaustein |
getByMsgCode(IEntityContext ec,
Mandant m,
String msgCode) |
Textbaustein |
getByName(IEntityContext ec,
Mandant mandant,
String name) |
Textbaustein |
getByUUID(IEntityContext ec,
Mandant client,
String uuid)
Returns the template with the given UUID string
|
Textbaustein |
getByUUID(IEntityContext ec,
Mandant client,
UUID uuid)
Returns the template with the given UUID
|
Textbaustein |
getTextbausteinByMsgCode(IEntityContext ec,
Mandant m,
ETextbausteinMsgCode msgCode) |
boolean |
isNameExisiting(IEntityContext ec,
Mandant client,
String name)
Returns whether or not the given template name exists within the given client
|
getEntityRefs, readall, 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, updateTextbaustein getByMsgCode(IEntityContext ec, Mandant m, String msgCode)
Textbaustein getTextbausteinByMsgCode(IEntityContext ec, Mandant m, ETextbausteinMsgCode msgCode)
List<Textbaustein> getAll(IEntityContext ec, Mandant m)
Textbaustein getByName(IEntityContext ec, Mandant mandant, String name)
List<Textbaustein> getAllByKat(IEntityContext ec, Mandant mandant, ETextbausteinKategorie kategorie)
Textbaustein getByKatAndName(IEntityContext ec, Mandant mandant, ETextbausteinKategorie kategorie, String name)
Textbaustein getByUUID(IEntityContext ec, Mandant client, String uuid)
ec - IEntityContext to useclient - Mandant context in which to look for templateuuid - String UUID of the templateTextbaustein for the given UUID and clientTextbaustein getByUUID(IEntityContext ec, Mandant client, UUID uuid)
ec - IEntityContext to useclient - Mandant context in which to look for templateuuid - UUID UUID of the templateTextbaustein for the given UUID and clientList<Textbaustein> getAllByProject(IEntityContext ec, Projekt project)
ec - IEntityContext to be usedproject - Projekt project to search for templatesList of Textbausteins that are being used by the projectString findUniqueName(IEntityContext ec, Mandant client, String candidate)
Textbaustein in the given client. An index will be added to the
candidate if necessary.ec - IEntityContext to be usedclient - Mandant for which a unique template name should be generatedcandidate - String template name candiate to be made uniqueString findUniqueName(IEntityContext ec, Mandant client, String candidate, Textbaustein exclude)
Textbaustein in the given client other than the excluded
template. An index will be added to the candidate if necessary.ec - IEntityContext to be usedclient - Mandant for which a unique template name should be generatedcandidate - String template name candiate to be made uniqueexclude - Textbaustein template to be excluded from searchboolean isNameExisiting(IEntityContext ec, Mandant client, String name)
ec - IEntityContext to be usedclient - Mandant for which to check uniquenessname - String template name to checkCopyright © 2021 XIMA MEDIA GmbH. All rights reserved.