public class TextbausteinAPI extends AEntityAPI<Textbaustein>
Textbaustein entities.entityClass| Constructor and Description | 
|---|
TextbausteinAPI()  | 
| Modifier and Type | Method and Description | 
|---|---|
List<Textbaustein> | 
getAllByMandantAndTyp(UserContext uc,
                     Mandant client,
                     ETextbausteinKategorie category)
Method for reading all templates of a client and a specified type. 
 | 
Textbaustein | 
getByMandantAndName(UserContext uc,
                   int mandantID,
                   String templateName)  | 
Textbaustein | 
getByMandantAndName(UserContext uc,
                   Mandant mandant,
                   String name)  | 
Textbaustein | 
getByUUID(UserContext uc,
         Mandant client,
         String uuid)
Method for determining an  
Textbaustein by an UUID as String and the client | 
Textbaustein | 
getByUUID(UserContext uc,
         Mandant client,
         UUID uuid)
Method for determining an  
Textbaustein by an UUID and the client | 
Textbaustein | 
getFD2Theme(UserContext uc,
           Mandant mandant,
           String theme)
Method for reading a CSS template of a client by his name. 
 | 
Map<String,String> | 
getI18nValues(UserContext uc,
             Textbaustein tmpl)
Method for determining all i18n values of a  
Textbaustein. | 
Textbaustein | 
getTextbausteinBy(UserContext uc,
                 Mandant mandant,
                 String name,
                 ETextbausteinKategorie category)
Method for determining a  
Textbaustein by his name and category. | 
List<Textbaustein> | 
getTextbausteine(UserContext uc,
                Mandant mandant)
Method for determining all  
Textbaustein of a client. | 
String | 
mandantSpecificMsg(UserContext uc,
                  Mandant mandant,
                  ETextbausteinMsgCode textbausteinCode)
Method for determining a message based on a  
Mandant and a Textbaustein code. | 
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, updategetHandlerProviderpublic String mandantSpecificMsg(UserContext uc, Mandant mandant, ETextbausteinMsgCode textbausteinCode)
Mandant and a Textbaustein code.uc - UserContext the user context in which the action is to be performed.mandant - Mandant whose message is to be output.textbausteinCode - ETextbausteinMsgCode of the template to be issued.String the searched message of the templatepublic List<Textbaustein> getTextbausteine(UserContext uc, Mandant mandant)
Textbaustein of a client.uc - UserContext the user context in which the action is to be performed.mandant - Mandant whose templates are searched for.List of Textbausteins.public Textbaustein getTextbausteinBy(UserContext uc, Mandant mandant, String name, ETextbausteinKategorie category)
Textbaustein by his name and category.uc - UserContext the user context in which the action is to be performed.mandant - Mandant whose template is searched for.name - String of the template.category - ETextbausteinKategorie the type of the template.Textbaustein which is found for the parameters.public Textbaustein getByMandantAndName(UserContext uc, Mandant mandant, String name)
uc - UserContext the user context in which the action is to be performed.mandant - Mandant whose template is searched for.name - String of the template.Textbaustein which is found for the parameters. Deprecated use
 getTextbausteinBy(UserContext, Mandant, String, ETextbausteinKategorie)public Textbaustein getByMandantAndName(UserContext uc, int mandantID, String templateName)
uc - UserContext the user context in which the action is to be performed.mandantID - Integer id of the client whose templates is searched for.templateName - String name of the template.Textbaustein which is found for the parameters. Deprecated use
 getTextbausteinBy(UserContext, Mandant, String, ETextbausteinKategorie)public Textbaustein getFD2Theme(UserContext uc, Mandant mandant, String theme)
uc - UserContext the user context in which the action is to be performed.mandant - Mandant whose template are searched for.theme - String name of the themes.Textbaustein which is found for the parameters.public List<Textbaustein> getAllByMandantAndTyp(UserContext uc, Mandant client, ETextbausteinKategorie category)
uc - UserContext the user context in which the action is to be performed.client - Mandant whose templates are searched for.category - ETextbausteinKategorie the type of the template.List of Textbausteins.public Map<String,String> getI18nValues(UserContext uc, Textbaustein tmpl)
Textbaustein.uc - UserContext the user context in which the action is to be performed.tmpl - Textbaustein, whose custom attributes are to be determined.Map with elements.public Textbaustein getByUUID(UserContext uc, Mandant client, String uuid)
Textbaustein by an UUID as String and the clientuc - UserContext the user context in which the action is to be performed.client - Mandant whose templates are searched for.uuid - the UUID as StringTextbaustein or nullpublic Textbaustein getByUUID(UserContext uc, Mandant client, UUID uuid)
Textbaustein by an UUID and the clientuc - UserContext the user context in which the action is to be performed.client - Mandant whose templates are searched for.uuid - the UUIDTextbaustein or nullCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.