com.groiss.dms
Interface FormTableHandler

All Known Implementing Classes:
FormTableAdapter

public interface FormTableHandler

Interface that allows implementers to customize the form table. Methods are called in the given order.


Method Summary
 java.util.List<DMSForm> getList(java.util.List<DMSForm> list)
          Non null overwrites the list, should return list of forms
 void init(javax.servlet.http.HttpServletRequest req, User u)
          You can init your class with the request
 java.lang.String lineStyle(DMSForm f, java.lang.String style)
          Change the style of the line.
 void modifyColumns(java.util.List<ColumnDescription> colDescs)
          Allows modification of the table header
 void modifyTableLine(DMSForm f, KeyedList<java.lang.String,java.lang.Object> line)
          Your chance to modify the line, called for each table line.
 

Method Detail

init

void init(javax.servlet.http.HttpServletRequest req,
          User u)
You can init your class with the request

Parameters:
req - the request
u - the user

getList

java.util.List<DMSForm> getList(java.util.List<DMSForm> list)
Non null overwrites the list, should return list of forms

Parameters:
list - the list of forms
Returns:
the modified list

modifyColumns

void modifyColumns(java.util.List<ColumnDescription> colDescs)
Allows modification of the table header

Parameters:
colDescs - list of header fields

modifyTableLine

void modifyTableLine(DMSForm f,
                     KeyedList<java.lang.String,java.lang.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

java.lang.String lineStyle(DMSForm f,
                           java.lang.String style)
Change the style of the line.

Parameters:
f - the form
style - a style class


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.