Interface ObjectTableHandler<T extends Persistent>

All Known Implementing Classes:
ObjectTableAdapter

public interface ObjectTableHandler<T extends Persistent>
Interface that allows implementers to customize the form table. Methods are called in the given order.
  • Method Details

    • init

      default void init(HttpServletRequest req)
      You can init your class with the request
      Parameters:
      req - the request
    • getList

      default List<T> getList(List<T> list)
      Non null overwrites the list, should return list of forms
      Parameters:
      list - the list of forms
      Returns:
      the modified list
    • modifyColumns

      default void modifyColumns(List<ColumnDescription> colDescs)
      Allows modification of the table header
      Parameters:
      colDescs - list of header fields
    • modifyTableLine

      default void modifyTableLine(T f, Map<String,Object> line)
      Your chance to modify the line, called for each table line. Making the list empty removes the item from the worklist.
      Parameters:
      f - the form
      line - the line
    • lineStyle

      default String lineStyle(T f, String style)
      Change the style of the line.
      Parameters:
      f - the form
      style - a style class