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 String
parse(UserContext uc, String text, Vorgang formRecord, boolean encodeForHTML)
Deprecated.UsePlaceholderReplacer
directly instead.String
replaceI18nValiable(UserContext uc, Mandant client, String i18nKey, String languageTag, Object... params)
String
replaceSessionValues(UserContext uc, String context, String sessionId, String templateText, Vorgang v)
Deprecated.UsePlaceholderReplacer
directly 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.UsePlaceholderReplacer
directly instead.Place system attributes at the location where the corresponding placeholders can be found.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.context
-String
the current context.sessionId
-String
for determining session attributes.templateText
-String
String in the placeholder to be replaced occur.v
- -Vorgang
via 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.UsePlaceholderReplacer
directly instead.
-
-