public class TextbausteinDao extends MandantDependentBaseDao<Textbaustein> implements ITextbausteinDao
| Constructor and Description |
|---|
TextbausteinDao() |
readall, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadall, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getTransactionHandler, read, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, update, updatepublic Set<de.xima.cmn.dao.interfaces.IEntity<Long>> getEntityRefs(IEntityContext ec, Textbaustein template)
getEntityRefs in interface IGenericDao<Textbaustein>getEntityRefs in class GenericDao<Textbaustein>public Textbaustein getTextbausteinByMsgCode(IEntityContext ec, Mandant m, ETextbausteinMsgCode msgCode)
getTextbausteinByMsgCode in interface ITextbausteinDaopublic List<Textbaustein> getAll(IEntityContext ec, Mandant mandant)
getAll in interface ITextbausteinDaopublic Textbaustein getByName(IEntityContext ec, Mandant mandant, String name)
getByName in interface ITextbausteinDaopublic List<Textbaustein> getAllByKat(IEntityContext ec, Mandant mandant, ETextbausteinKategorie kategorie)
getAllByKat in interface ITextbausteinDaopublic Textbaustein getByMsgCode(IEntityContext ec, Mandant m, String msgCode)
getByMsgCode in interface ITextbausteinDaopublic Textbaustein getByKatAndName(IEntityContext ec, Mandant mandant, ETextbausteinKategorie kategorie, String name)
getByKatAndName in interface ITextbausteinDaopublic Textbaustein getByUUID(IEntityContext ec, Mandant client, String uuid)
ITextbausteinDaogetByUUID in interface ITextbausteinDaoec - IEntityContext to useclient - Mandant context in which to look for templateuuid - String UUID of the templateTextbaustein for the given UUID and clientpublic Textbaustein getByUUID(IEntityContext ec, Mandant client, UUID uuid)
ITextbausteinDaogetByUUID in interface ITextbausteinDaoec - IEntityContext to useclient - Mandant context in which to look for templateuuid - UUID UUID of the templateTextbaustein for the given UUID and clientpublic List<Textbaustein> getAllByProject(IEntityContext ec, Projekt project)
ITextbausteinDaogetAllByProject in interface ITextbausteinDaoec - IEntityContext to be usedproject - Projekt project to search for templatesList of Textbausteins that are being used by the projectpublic String findUniqueName(IEntityContext ec, Mandant client, String candidate)
ITextbausteinDaoTextbaustein in the given client. An index will be added to the
candidate if necessary.findUniqueName in interface ITextbausteinDaoec - IEntityContext to be usedclient - Mandant for which a unique template name should be generatedcandidate - String template name candiate to be made uniquepublic boolean isNameExisiting(IEntityContext ec, Mandant client, String name)
ITextbausteinDaoisNameExisiting in interface ITextbausteinDaoec - IEntityContext to be usedclient - Mandant for which to check uniquenessprotected IFCDaoActionHook<Textbaustein> getPreActionHook()
getPreActionHook in class GenericDao<Textbaustein>protected IFCDaoActionHook<Textbaustein> getPostActionHook()
getPostActionHook in class GenericDao<Textbaustein>Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.