com.groiss.dms
Class FormTableAdapter

java.lang.Object
  extended by com.groiss.dms.FormTableAdapter
All Implemented Interfaces:
FormTableHandler

public class FormTableAdapter
extends java.lang.Object
implements FormTableHandler


Constructor Summary
FormTableAdapter()
           
 
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 modifyTableHeader(java.util.List<Pair<java.lang.String,java.lang.Object>> header)
          Deprecated.  
 void modifyTableLine(DMSForm f, KeyedList<java.lang.String,java.lang.Object> line)
          Your chance to modify the line, called for each table line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormTableAdapter

public FormTableAdapter()
Method Detail

init

public void init(javax.servlet.http.HttpServletRequest req,
                 User u)
Description copied from interface: FormTableHandler
You can init your class with the request

Specified by:
init in interface FormTableHandler
Parameters:
req - the request
u - the user

getList

public java.util.List<DMSForm> getList(java.util.List<DMSForm> list)
Description copied from interface: FormTableHandler
Non null overwrites the list, should return list of forms

Specified by:
getList in interface FormTableHandler
Parameters:
list - the list of forms
Returns:
the modified list

modifyTableHeader

@Deprecated
public void modifyTableHeader(java.util.List<Pair<java.lang.String,java.lang.Object>> header)
Deprecated. 


modifyTableLine

public void modifyTableLine(DMSForm f,
                            KeyedList<java.lang.String,java.lang.Object> line)
Description copied from interface: FormTableHandler
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 FormTableHandler
Parameters:
f - the form
line - the line

lineStyle

public java.lang.String lineStyle(DMSForm f,
                                  java.lang.String style)
Description copied from interface: FormTableHandler
Change the style of the line.

Specified by:
lineStyle in interface FormTableHandler
Parameters:
f - the form
style - a style class

modifyColumns

public void modifyColumns(java.util.List<ColumnDescription> colDescs)
Description copied from interface: FormTableHandler
Allows modification of the table header

Specified by:
modifyColumns in interface FormTableHandler
Parameters:
colDescs - list of header fields


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