Package de.xima.fc.handler.entity
Class TextbausteinHandler
java.lang.Object
de.xima.fc.handler.AMSApiHandler
de.xima.fc.handler.entity.GenericHandler
de.xima.fc.handler.entity.TextbausteinHandler
- All Implemented Interfaces:
IAPIHandler
,IGenericHandler
,ITextbausteinHandler
,Serializable
The Class TextbausteinHandler.
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields inherited from class de.xima.fc.handler.entity.GenericHandler
LOG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetByMandantAndName
(UserContext uc, Mandant mandant, String name) getByUUID
(UserContext uc, Mandant client, String uuid) getByUUID
(UserContext uc, Mandant client, UUID uuid) getI18nValues
(UserContext uc, Textbaustein template) Provides the i18n values from the template.getTextbausteinBy
(UserContext uc, Mandant mandant, String name, ETextbausteinKategorie kategorie) Gets the textbaustein by.getTextbausteine
(UserContext uc, Mandant mandant) Gets the textbausteine.getTextbausteineByKategorie
(UserContext uc, Mandant mandant, ETextbausteinKategorie kategorie) Gets the textbausteine vom uebergebenen Typ.mandantSpecificMsg
(UserContext uc, Mandant mandant, ETextbausteinMsgCode msgCode) Mandant specific msg.Methods inherited from class de.xima.fc.handler.entity.GenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, serializableList, update, update
Methods inherited from class de.xima.fc.handler.AMSApiHandler
getName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
-
Constructor Details
-
TextbausteinHandler
public TextbausteinHandler()
-
-
Method Details
-
getTextbausteine
Gets the textbausteine.- Specified by:
getTextbausteine
in interfaceITextbausteinHandler
mandant
- the mandant- Returns:
- the textbausteine
-
mandantSpecificMsg
Mandant specific msg.- Specified by:
mandantSpecificMsg
in interfaceITextbausteinHandler
- Parameters:
uc
- the ucmandant
- the mandantmsgCode
- the msg code- Returns:
- the string @
-
getTextbausteinBy
public Textbaustein getTextbausteinBy(UserContext uc, Mandant mandant, String name, ETextbausteinKategorie kategorie) Gets the textbaustein by.- Specified by:
getTextbausteinBy
in interfaceITextbausteinHandler
mandant
- the mandantname
- the namekategorie
- the category of theTextbaustein
- Returns:
- the
Textbaustein
-
getTextbausteineByKategorie
public List<Textbaustein> getTextbausteineByKategorie(UserContext uc, Mandant mandant, ETextbausteinKategorie kategorie) Gets the textbausteine vom uebergebenen Typ.- Specified by:
getTextbausteineByKategorie
in interfaceITextbausteinHandler
- Parameters:
uc
- Usercontext in welchem die Operation ausgeführt wirdmandant
- the mandantkategorie
- des textbausteins- Returns:
- list of Textbaustein
-
getByMandantAndName
- Specified by:
getByMandantAndName
in interfaceITextbausteinHandler
-
getI18nValues
Description copied from interface:ITextbausteinHandler
Provides the i18n values from the template.- Specified by:
getI18nValues
in interfaceITextbausteinHandler
- Parameters:
uc
- user context in which the opration is performedtemplate
- the template- Returns:
- map of i18n values
-
getByUUID
- Specified by:
getByUUID
in interfaceITextbausteinHandler
-
getByUUID
- Specified by:
getByUUID
in interfaceITextbausteinHandler
-