public class DMSTableAdapter extends java.lang.Object implements DMSTableHandler
ATTACH_NOTE, CHANGE_TYPE, CHANGED_AT, CLIPBOARD, COPY, CREATE_VERSION, CUT, DELETE, DOWNLOAD, FOLDER_FORM, FOLDER_PROPS, FORM, INFO, LINK, NAME, NEW, NOTES, OID, PASTE, REFRESH, REPLACE, RO, RO_REC, RW, SEARCH, SEARCH_ALL, SEARCH_FIELD, SEND_TO, SIGN, SIZE, SPACE, START_PROCESS, STATUS, TYPE, UPWARD, VERSIONS, WEBFOLDER
Constructor and Description |
---|
DMSTableAdapter() |
Modifier and Type | Method and Description |
---|---|
HTMLPage |
getHTMLPage()
returns null
|
java.util.List<DMSObject> |
getList(java.util.List<DMSObject> objects)
returns the list of passed objects unchanged
|
java.lang.String |
getTitle()
returns null
|
void |
init(javax.servlet.http.HttpServletRequest req,
DMSFolder folder,
User u,
int mode)
empty implementation
|
java.lang.String |
lineStyle(DMSObject obj,
java.lang.String style)
returns the passed style
|
void |
modifyActions(java.util.List<Pair<java.lang.String,java.lang.Object>> actions)
empty implementation
|
void |
modifyColumns(java.util.List<ColumnDescription> colDescs)
You get the columns as we suggest it as a list of
ColumnDescription (see the corresponding statics
defined in this interface as values for the ids of the ColumnDescriptions, e.g. |
void |
modifyTableHeader(java.util.List<Pair<java.lang.String,java.lang.Object>> header)
Deprecated.
since ep 8.0, implement
modifyColumns(List) instead |
void |
modifyTableLine(DMSObject obj,
java.util.Map<java.lang.String,java.lang.Object> line)
empty implementation
|
public void init(javax.servlet.http.HttpServletRequest req, DMSFolder folder, User u, int mode)
init
in interface DMSTableHandler
req
- the requestfolder
- the folderu
- the usermode
- is DMSTableHandler.RW
or DMSTableHandler.RO
public HTMLPage getHTMLPage()
getHTMLPage
in interface DMSTableHandler
public java.lang.String getTitle()
getTitle
in interface DMSTableHandler
public java.util.List<DMSObject> getList(java.util.List<DMSObject> objects)
getList
in interface DMSTableHandler
@Deprecated public void modifyTableHeader(java.util.List<Pair<java.lang.String,java.lang.Object>> header)
modifyColumns(List)
insteadpublic void modifyColumns(java.util.List<ColumnDescription> colDescs)
DMSTableHandler
ColumnDescription
(see the corresponding statics
defined in this interface as values for the ids of the ColumnDescriptions, e.g. DMSTableHandler.NAME
)
You can change these columns as you like. The resulting column list is used to
build the table: for all system definied columns we add the corresponding
column value, for other ids we add "null" elements.modifyColumns
in interface DMSTableHandler
colDescs
- a list of column descriptionspublic void modifyTableLine(DMSObject obj, java.util.Map<java.lang.String,java.lang.Object> line)
modifyTableLine
in interface DMSTableHandler
obj
- the DMSObjectline
- the line as map holding the ids and values of the columnspublic void modifyActions(java.util.List<Pair<java.lang.String,java.lang.Object>> actions)
modifyActions
in interface DMSTableHandler
actions
- a list of pairs holding the set of actions. Pair.first holds the identifier of the
action (see Programming Guide), Pair.second holds the actionpublic java.lang.String lineStyle(DMSObject obj, java.lang.String style)
lineStyle
in interface DMSTableHandler
@enterprise 9.0.33982 Copyright © 2001-2023 Groiss Informatics GmbH. All Rights Reserved.