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
 List<DMSForm> getList(List<DMSForm> list)
          Non null overwrites the list, should return list of forms
 void init(HttpServletRequest req, User u)
          You can init your class with the request
 String lineStyle(DMSForm f, String style)
          Change the style of the line.
 void modifyColumns(List<ColumnDescription> colDescs)
          Allows modification of the table header
 void modifyTableLine(DMSForm f, KeyedList<String,Object> line)
          Your chance to modify the line, called for each table line.
 

Method Detail

init

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

Parameters:
req - the request
u - the user

getList

List<DMSForm> getList(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(List<ColumnDescription> colDescs)
Allows modification of the table header

Parameters:
colDescs - list of header fields

modifyTableLine

void modifyTableLine(DMSForm f,
                     KeyedList<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

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

Parameters:
f - the form
style - a style class


@enterprise 8.0.10078 Copyright © 2001-2011 Groiss Informatics GmbH. All Rights Reserved.