public class TextbausteinHandler extends GenericHandler implements ITextbausteinHandler
LOG
Constructor and Description |
---|
TextbausteinHandler() |
Modifier and Type | Method and Description |
---|---|
Textbaustein |
getByMandantAndName(UserContext uc,
Mandant mandant,
String name) |
Map<String,String> |
getI18nValues(UserContext uc,
Textbaustein template)
Provides the i18n values from the template.
|
Textbaustein |
getTextbausteinBy(UserContext uc,
Mandant mandant,
String name,
ETextbausteinKategorie kategorie)
Gets the textbaustein by.
|
List<Textbaustein> |
getTextbausteine(UserContext uc,
Mandant mandant)
Gets the textbausteine.
|
List<Textbaustein> |
getTextbausteineByKategorie(UserContext uc,
Mandant mandant,
ETextbausteinKategorie kategorie)
Gets the textbausteine vom uebergebenen Typ.
|
String |
mandantSpecificMsg(UserContext uc,
Mandant mandant,
ETextbausteinMsgCode msgCode)
Mandant specific msg.
|
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getBy, getById, getById, getById, resultTotalCount, update, update
getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getBy, getById, getById, getById, resultTotalCount, update, update
getName
public List<Textbaustein> getTextbausteine(UserContext uc, Mandant mandant)
getTextbausteine
in interface ITextbausteinHandler
mandant
- the mandantpublic String mandantSpecificMsg(UserContext uc, Mandant mandant, ETextbausteinMsgCode msgCode)
mandantSpecificMsg
in interface ITextbausteinHandler
uc
- the ucmandant
- the mandantmsgCode
- the msg codepublic Textbaustein getTextbausteinBy(UserContext uc, Mandant mandant, String name, ETextbausteinKategorie kategorie)
getTextbausteinBy
in interface ITextbausteinHandler
mandant
- the mandantname
- the namepublic List<Textbaustein> getTextbausteineByKategorie(UserContext uc, Mandant mandant, ETextbausteinKategorie kategorie)
getTextbausteineByKategorie
in interface ITextbausteinHandler
uc
- Usercontext in welchem die Operation ausgeführt wirdmandant
- the mandantkategorie
- des textbausteinspublic Textbaustein getByMandantAndName(UserContext uc, Mandant mandant, String name)
getByMandantAndName
in interface ITextbausteinHandler
public Map<String,String> getI18nValues(UserContext uc, Textbaustein template)
ITextbausteinHandler
getI18nValues
in interface ITextbausteinHandler
uc
- user context in which the opration is performedtemplate
- the templateCopyright © 2019 XIMA MEDIA GmbH. All rights reserved.