public interface DMSTableHandler
Modifier and Type | Field and Description |
---|---|
static String |
ATTACH_NOTE
key for the action 'Attach Note'
|
static String |
CHANGE_TYPE
key for the action 'Change type'
|
static String |
CHANGED_AT
key for the column holding the date of the last change of the DMSObject
|
static String |
CLIPBOARD
key for the action 'Clipboard'
|
static String |
COPY
key for the action 'Copy'
|
static String |
CREATE_VERSION
key for the action 'Create Version'
|
static String |
CUT
key for the action 'Cut'
|
static String |
DELETE
key for the action 'Delete'
|
static String |
DOWNLOAD
key for the action 'Download'
|
static String |
FOLDER_FORM
key for the action 'Folder properties'
|
static String |
FOLDER_PROPS
key for the action 'Folder properties'
|
static String |
FORM
key for the column holding the form link of the DMSObject
|
static String |
INFO
key for the column holding the link to the detailed information of the DMSObject
|
static String |
LINK
key for the action 'Link'
|
static String |
NAME
key for the column holding the name of the DMSObject and the link to its content
|
static String |
NEW
key for the action 'New'
|
static String |
NOTES
key for the column holding the link to the attached notes of the DMSObject
|
static String |
OID
key for the column holding the oid of the DMSObject
|
static String |
PASTE
key for the action 'Paste'
|
static String |
REFRESH
key for the action 'Refresh'
|
static String |
REPLACE
key for the action 'Replace'
|
static int |
RO
Determines that the user has only view right for the folder.
|
static int |
RO_REC
Deprecated.
will not be used and supported since version 8.0
|
static int |
RW
Determines that the user has edit right for the folder.
|
static String |
SEARCH
key for triggering the search
|
static String |
SEARCH_ALL
key for clearing the search (= shows all entries)
|
static String |
SEARCH_FIELD
key for search input field
|
static String |
SEND_TO
key for the action 'Send to'
|
static String |
SIGN
key for the action 'Sign'
|
static String |
SIZE
key for the column holding the size of the DMSObject
|
static String |
SPACE
key for the action separator
|
static String |
START_PROCESS
key for the action 'Start process'
|
static String |
STATUS
key for the column holding the status of the DMSObject
|
static String |
TYPE
key for the column holding the formtype of the DMSObject
|
static String |
UPWARD
key for the action 'Upward'
|
static String |
VERSIONS
key for the column holding the link to the versions of the DMSObject
|
static String |
WEBFOLDER
key for the action 'Web-Folder'
|
Modifier and Type | Method and Description |
---|---|
default List<DMSObject> |
getList(List<DMSObject> objects)
Your chance to modify the list of the table entries and to collect additional data for them.
|
default void |
init(HttpServletRequest req,
DMSFolder folder,
User u,
int mode)
You can init your class with the request
|
default String |
lineStyle(DMSObject obj,
String style)
Change the style of the line by returning the name of the style class to use.
|
default void |
modifyActions(List<Pair<String,Object>> actions)
Your chance to modify the set of provided actions, called for each table line.
|
default void |
modifyColumns(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. |
default void |
modifyTableLine(DMSObject obj,
Map<String,Object> line)
Your chance to modify the line, called for each table line.
|
static final int RW
static final int RO
@Deprecated static final int RO_REC
static final String OID
static final String NAME
static final String FORM
static final String TYPE
static final String SIZE
static final String CHANGED_AT
static final String STATUS
static final String INFO
static final String VERSIONS
static final String NOTES
static final String SPACE
static final String NEW
static final String CUT
static final String COPY
static final String PASTE
static final String LINK
static final String DELETE
static final String REFRESH
static final String SEND_TO
static final String START_PROCESS
static final String CHANGE_TYPE
static final String REPLACE
static final String CREATE_VERSION
static final String ATTACH_NOTE
static final String SIGN
static final String FOLDER_PROPS
static final String FOLDER_FORM
static final String WEBFOLDER
static final String UPWARD
static final String CLIPBOARD
static final String DOWNLOAD
static final String SEARCH_FIELD
static final String SEARCH
static final String SEARCH_ALL
default void init(HttpServletRequest req, DMSFolder folder, User u, int mode)
default List<DMSObject> getList(List<DMSObject> objects)
default void modifyColumns(List<ColumnDescription> colDescs)
ColumnDescription
(see the corresponding statics
defined in this interface as values for the ids of the ColumnDescriptions, e.g. 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.colDescs
- a list of column descriptionsdefault void modifyTableLine(DMSObject obj, Map<String,Object> line)
obj
- the DMSObjectline
- the line as map holding the ids and values of the columnsdefault void modifyActions(List<Pair<String,Object>> actions)
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 action@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.