Interface ITextbausteinHandler
- 
- All Superinterfaces:
 IAPIHandler,IGenericHandler,Serializable
- All Known Implementing Classes:
 TextbausteinHandler
public interface ITextbausteinHandler extends IGenericHandler
- Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Method Summary
- 
Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName 
- 
Methods inherited from interface de.xima.fc.handler.interfaces.entity.IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getTextbausteine
List<Textbaustein> getTextbausteine(UserContext uc, Mandant client)
Gets the alltext templatesof aclient. 
- 
mandantSpecificMsg
String mandantSpecificMsg(UserContext uc, Mandant client, ETextbausteinMsgCode messageCode)
Mandant specific msg.- Parameters:
 uc- the ucclient- the mandantmessageCode- the msg code- Returns:
 - the string @
 
 
- 
getTextbausteinBy
Textbaustein getTextbausteinBy(UserContext uc, Mandant client, String name, ETextbausteinKategorie category)
Gets the textbaustein by.- Parameters:
 uc- The user context of the user who requested the text template.client- the mandantname- the namecategory- the category of theTextbaustein- Returns:
 - the 
Textbaustein 
 
- 
getTextbausteineByKategorie
List<Textbaustein> getTextbausteineByKategorie(UserContext uc, Mandant mandant, ETextbausteinKategorie kategorie)
Gets the textbausteine vom uebergebenen Typ.- Parameters:
 uc- Usercontext in welchem die Operation ausgeführt wirdmandant- the mandantkategorie- des textbausteins- Returns:
 - list of Textbaustein
 
 
- 
getByMandantAndName
Textbaustein getByMandantAndName(UserContext uc, Mandant mandant, String name)
 
- 
getI18nValues
Map<String,String> getI18nValues(UserContext uc, Textbaustein template)
Provides the i18n values from the template.- Parameters:
 uc- user context in which the opration is performedtemplate- the template- Returns:
 - map of i18n values
 
 
- 
getByUUID
Textbaustein getByUUID(UserContext uc, Mandant client, String uuid)
 
- 
getByUUID
Textbaustein getByUUID(UserContext uc, Mandant client, UUID uuid)
 
- 
getByClientAndMessageCode
Textbaustein getByClientAndMessageCode(UserContext uc, Mandant client, ETextbausteinMsgCode messageCode)
Finds atext templateby itsmessage code.- Parameters:
 uc- The user context of the user who requested the message.client- Theclientwho owns thetemplate.messageCode- Themessage codeof thetemplate.- Returns:
 - The 
templateor null if no template was found. - Since:
 - 8.3.0
 
 
 - 
 
 -