Package org.imixs.marty.profile
Class TextUsernameAdapter
java.lang.Object
org.imixs.marty.profile.TextUsernameAdapter
The TextUsernameAdapter replaces text fragments with the tag
.. . The values of the item will be replaced with the
display name from the corresponding user profile display name.
Example:
Workitem updated by: <username>namcurrenteditor</username>.
This will replace the namcurrenteditor with the corrsponding profile full username. If the username item value is a multiValue object the single values can be spearated by a separator
Example:
Team List: <username separator="<br />">txtTeam</username>
- Author:
- rsoika
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonEvent(org.imixs.workflow.engine.TextEvent event) This method reacts on CDI events of the type TextEvent and parses a string for xml tag.
-
Constructor Details
-
TextUsernameAdapter
public TextUsernameAdapter()
-
-
Method Details
-
onEvent
public void onEvent(@Observes org.imixs.workflow.engine.TextEvent event) This method reacts on CDI events of the type TextEvent and parses a string for xml tag. Those tags will be replaced with the corresponding display name of the user profile.
-