java.lang.Object
jp.ecuacion.splib.web.util.SplibRecordUtil
Provides utility methods on records and fields.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHtmlItem(HtmlItem[] htmlItems, String rootRecordName, String itemPropertyPath) ReturnsHtmlItemfromHtmlItem[]andfieldId.getHtmlItem(SplibGeneralForm[] forms, String rootRecordId, String itemKindId) ReturnsHtmlItemfromSplibGeneralForm,rootRecordIdandfieldId.getHtmlItem(SplibGeneralForm form, String rootRecordName, String itemPropertyPath) ReturnsHtmlItemfromSplibGeneralForm,rootRecordIdandfieldId.
-
Constructor Details
-
SplibRecordUtil
public SplibRecordUtil()
-
-
Method Details
-
getHtmlItem
ReturnsHtmlItemfromSplibGeneralForm,rootRecordIdandfieldId.- Parameters:
form- formrootRecordName- rootRecordNameitemPropertyPath- propertyPath- Returns:
- HtmlItem
-
getHtmlItem
ReturnsHtmlItemfromSplibGeneralForm,rootRecordIdandfieldId.Actually more accurate code is needed in the future but for now just 0th form of the forms is used.
- Parameters:
forms- formsrootRecordId- rootRecordIditemKindId- itemKindId- Returns:
- HtmlItem
-
getHtmlItem
ReturnsHtmlItemfromHtmlItem[]andfieldId.- Parameters:
htmlItems- htmlItemsitemPropertyPath- itemPropertyPath- Returns:
- HtmlItem
-