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 getList(java.util.List 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 modifyTableHeader(java.util.List header)
          Allows modification of the table header
 void modifyTableLine(DMSForm f, KeyedList 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 getList(java.util.List list)
Non null overwrites the list, should return list of forms

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

modifyTableHeader

void modifyTableHeader(java.util.List header)
Allows modification of the table header

Parameters:
header - list of header fields (strings)

modifyTableLine

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


Copyright © 2001-2006 Groiss Informatics GmbH. All Rights Reserved.