public class FormTableAdapter extends java.lang.Object implements FormTableHandler
Constructor and Description |
---|
FormTableAdapter() |
Modifier and Type | Method and Description |
---|---|
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,
FormContext ctx)
You can init your class with the request
|
void |
init(javax.servlet.http.HttpServletRequest req,
User u)
Deprecated.
since 9.0, replaced by
init(HttpServletRequest, FormContext) |
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,
java.util.Map<java.lang.String,java.lang.Object> line)
Your chance to modify the line, called for each table line.
|
public void init(javax.servlet.http.HttpServletRequest req, FormContext ctx)
FormTableHandler
init
in interface FormTableHandler
req
- the requestctx
- holds context information for the form@Deprecated public void init(javax.servlet.http.HttpServletRequest req, User u)
init(HttpServletRequest, FormContext)
public java.util.List<DMSForm> getList(java.util.List<DMSForm> list)
FormTableHandler
getList
in interface FormTableHandler
list
- the list of forms@Deprecated public void modifyTableHeader(java.util.List<Pair<java.lang.String,java.lang.Object>> header)
public void modifyTableLine(DMSForm f, java.util.Map<java.lang.String,java.lang.Object> line)
FormTableHandler
modifyTableLine
in interface FormTableHandler
f
- the formline
- the linepublic java.lang.String lineStyle(DMSForm f, java.lang.String style)
FormTableHandler
lineStyle
in interface FormTableHandler
f
- the formstyle
- a style classpublic void modifyColumns(java.util.List<ColumnDescription> colDescs)
FormTableHandler
modifyColumns
in interface FormTableHandler
colDescs
- list of header fields@enterprise 9.0.33982 Copyright © 2001-2023 Groiss Informatics GmbH. All Rights Reserved.