Class WorklistAdapter

java.lang.Object
com.groiss.wf.html.WorklistAdapter
All Implemented Interfaces:
Worklist

@Deprecated(since="11.0", forRemoval=true) public class WorklistAdapter extends Object implements Worklist
Deprecated, for removal: This API element is subject to removal in a future version.
implement interface Worklist directly
Adapter for Worklist interface with empty methods. This class is for compatibility: The methods init, modifyColumns, and modifyTableLine call the older, long deprecated methods which have other parameter types.
  • Constructor Details

    • WorklistAdapter

      public WorklistAdapter()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • init

      public void init(HttpServletRequest req, WorklistDescription wl, User u)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Worklist
      You can init your class with the request. For your convenience, we tell you the kind of the worklist and the user
      Specified by:
      init in interface Worklist
      Parameters:
      req - the request; may be null when called from notification threads
      wl - the worklist description
      u - the user
    • init

      @Deprecated public void init(HttpServletRequest req, int wltype, Application appl, User u)
      Deprecated.
    • modifyTableHeader

      @Deprecated public void modifyTableHeader(List<Pair<String,Object>> header)
      Deprecated.
      since 8.0 use modifyColumns(List) instead
    • modifyColumns

      public void modifyColumns(List<ColumnDescription> colDescs)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Worklist
      You get the header as we suggest it, a list of reserved keywords, like "id","process", "task". You can change this header as you like. The resulting header is used to build the table lines: for the keywords we add the corresponding column, for other names we add "null" elements. For smartclient this method is called when building the main-page
      Specified by:
      modifyColumns in interface Worklist
      Parameters:
      colDescs - list of header fields
    • modifyTableLine

      public void modifyTableLine(ActivityInstance ai, Map<String,Object> line)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Worklist
      Your chance to modify the line, called for each table line. Making the list empty removes the item from the worklist.
      Specified by:
      modifyTableLine in interface Worklist
      Parameters:
      ai - the activity instance
      line - the line
    • modifyTableLine

      @Deprecated public void modifyTableLine(ActivityInstance ai, List<Object> line)
      Deprecated.
      since 6.3