com.silverpeas.form
Class DataRecordUtil
java.lang.Object
com.silverpeas.form.DataRecordUtil
public class DataRecordUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataRecordUtil
public DataRecordUtil()
updateFields
public static void updateFields(String[] fieldNames,
DataRecord updatedRecord,
DataRecord copiedRecord)
throws FormException
- Updates the specified fields.
- Throws:
FormException
applySubstitution
public static String applySubstitution(String text,
DataRecord data,
String lang)
- Returns : "But who is xoxox ?" for : "But who is ${foo}" when xoxox is the value of the foo
field, The resolvedVar is used to detect recursive call like : foo = "${foo}"
Copyright © 2016 Silverpeas. All Rights Reserved.