Package de.xima.fc.api.system
Class PlaceholderAPI
java.lang.Object
de.xima.fc.api.ASubAPI
de.xima.fc.api.system.PlaceholderAPI
API helper class.
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(UserContext uc, String text, Vorgang formRecord, boolean encodeForHTML) Deprecated.replaceI18nValiable(UserContext uc, Mandant client, String i18nKey, String languageTag, Object... params) Deprecated.usereplaceI18nVariable.replaceI18nVariable(UserContext uc, Mandant client, String i18nKey, String languageTag, Object... params) replaceSessionValues(UserContext uc, String context, String sessionId, String templateText, Vorgang v) Deprecated.UsePlaceholderReplacerdirectly instead.Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
Constructor Details
-
PlaceholderAPI
public PlaceholderAPI()
-
-
Method Details
-
replaceSessionValues
@Deprecated public String replaceSessionValues(UserContext uc, String context, String sessionId, String templateText, Vorgang v) Deprecated.UsePlaceholderReplacerdirectly instead.Place system attributes at the location where the corresponding placeholders can be found.- Parameters:
uc-UserContextthe user context in which the action is to be performed.context-Stringthe current context.sessionId-Stringfor determining session attributes.templateText-StringString in the placeholder to be replaced occur.v- -Vorgangvia which the system attributes are determined.- Returns:
- parsed string.
- Since:
- 2.4.3
-
parse
@Deprecated public String parse(UserContext uc, String text, Vorgang formRecord, boolean encodeForHTML) Deprecated.UsePlaceholderReplacerdirectly instead. -
replaceI18nVariable
public String replaceI18nVariable(UserContext uc, Mandant client, String i18nKey, String languageTag, Object... params) - Parameters:
uc- User context for the replacment proces.client- Client context for retrieving placeholder plugins.i18nKey- Key to resolve.languageTag- Language to use.params- Additional parameters for arguments within the i18n message.- Returns:
- The message for the given i18n key.
-
replaceI18nValiable
@Deprecated public String replaceI18nValiable(UserContext uc, Mandant client, String i18nKey, String languageTag, Object... params) Deprecated.usereplaceI18nVariable.- Parameters:
uc- User context for the replacment proces.client- Client context for retrieving placeholder plugins.i18nKey- Key to resolve.languageTag- Language to use.params- Additional parameters for arguments within the i18n message.- Returns:
- The message for the given i18n key.
-
PlaceholderReplacerdirectly instead.