Package de.xima.fc.api.system
Class PlaceholderAPI
- java.lang.Object
-
- de.xima.fc.api.ASubAPI
-
- de.xima.fc.api.system.PlaceholderAPI
-
public class PlaceholderAPI extends ASubAPI
API helper class.- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description PlaceholderAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Stringparse(UserContext uc, String text, Vorgang formRecord, boolean encodeForHTML)Deprecated.UsePlaceholderReplacerdirectly instead.StringreplaceI18nValiable(UserContext uc, Mandant client, String i18nKey, String languageTag, Object... params)Deprecated.usereplaceI18nVariable.StringreplaceI18nVariable(UserContext uc, Mandant client, String i18nKey, String languageTag, Object... params)StringreplaceSessionValues(UserContext uc, String context, String sessionId, String templateText, Vorgang v)Deprecated.UsePlaceholderReplacerdirectly instead.-
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
-
-
-
Method Detail
-
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.
-
-