Interface HtmlItemContainer

All Superinterfaces:
jp.ecuacion.lib.core.item.EclibItemContainer
All Known Implementing Classes:
ConfigRecord, LoginRecord

public interface HtmlItemContainer extends jp.ecuacion.lib.core.item.EclibItemContainer
Has features related web environment.
  • Method Details

    • getHtmlItems

      HtmlItem[] getHtmlItems()
      Returns HtmlItem.
      Returns:
      HtmlItem[]
    • getItems

      default HtmlItem[] getItems()
      Returns HtmlItem.
      Specified by:
      getItems in interface jp.ecuacion.lib.core.item.EclibItemContainer
      Returns:
      HtmlItem[]
    • mergeHtmlItems

      default HtmlItem[] mergeHtmlItems(HtmlItem[] items1, HtmlItem[] items2)
      Merge htmlItems.
    • getHtmlItem

      default HtmlItem getHtmlItem(String itemPropertyPath)
      Returns HtmlItem from HtmlItem[] and fieldId.
      Parameters:
      itemPropertyPath - itemPropertyPath
      Returns:
      HtmlItem
    • getNewItem

      default HtmlItem getNewItem(String itemPropertyPath)
      Returns a new instance.
      Specified by:
      getNewItem in interface jp.ecuacion.lib.core.item.EclibItemContainer
    • needsCommas

      default boolean needsCommas(String rootRecordName, String itemPropertyPath)
      Returns whether the propertyPath needs comma.
      Parameters:
      itemPropertyPath - itemPropertyPath
      Returns:
      boolean
    • getNotEmptyItemPropertyPathList

      default List<String> getNotEmptyItemPropertyPathList(String loginState, SplibSecurityUtil.RolesAndAuthoritiesBean bean)
      Obtrains NotEmpty fields.
      Parameters:
      loginState - loginState
      bean - bean
      Returns:
      List<String>
    • isNotEmpty

      default boolean isNotEmpty(String itemPropertyPath, String loginState, String rolesOrAuthoritiesString)
      Returns whether isNotEmpty or not.
      Parameters:
      itemPropertyPath - itemPropertyPath
      loginState - loginState
      rolesOrAuthoritiesString - rolesOrAuthoritiesString
      Returns:
      boolean
    • getNotEmptyOnSearchItemPropertyPathList

      default List<String> getNotEmptyOnSearchItemPropertyPathList(String loginState, SplibSecurityUtil.RolesAndAuthoritiesBean bean)
      Obtrains NotEmpty fields.
      Parameters:
      loginState - loginState
      bean - bean
      Returns:
      List<String>
    • isNotEmptyOnSearch

      default boolean isNotEmptyOnSearch(String itemPropertyPath, String loginState, String rolesOrAuthoritiesString)
      Returns whether isNotEmpty or not.
      Parameters:
      itemPropertyPath - itemPropertyPath
      loginState - loginState
      rolesOrAuthoritiesString - rolesOrAuthoritiesString
      Returns:
      boolean
    • getSearchPatterns

      default Map<String, StringMatchingConditionBean> getSearchPatterns()
      Returns search pattern for each item.
    • getSearchPatternComment

      default String getSearchPatternComment(Locale locale, String itemPropertyPath)
      Gets SearchPatternComment.
      Parameters:
      locale - locale
      itemPropertyPath - itemPropertyPath
      Returns:
      String