public interface ITextbausteinDao extends IMandantDependentBaseDao<Textbaustein>
getEntityRefs, read
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getTransactionHandler, read, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, update, update
Textbaustein 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 Textbaustein
s 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 uniqueboolean isNameExisiting(IEntityContext ec, Mandant client, String name)
ec
- IEntityContext
to be usedclient
- Mandant
for which to check uniquenessname
- String
template name to checkCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.