Package com.groiss.dms
Interface DMSTableHandler
- All Known Implementing Classes:
DMSTableAdapter
public interface DMSTableHandler
Implement this class for modifying a DMS table.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
key for the action 'Attach Note'static final String
key for the action 'Change type'static final String
key for the column holding the date of the last change of the DMSObjectstatic final String
key for the action 'Clipboard'static final String
key for the action 'Copy'static final String
key for the action 'Create Version'static final String
key for the action 'Cut'static final String
key for the action 'Delete'static final String
key for the action 'Download'static final String
key for the action 'Folder properties'static final String
key for the action 'Folder properties'static final String
key for the column holding the form link of the DMSObjectstatic final String
key for the column holding the link to the detailed information of the DMSObjectstatic final String
key for the action 'Link'static final String
key for the column holding the name of the DMSObject and the link to its contentstatic final String
key for the action 'New'static final String
key for the column holding the link to the attached notes of the DMSObjectstatic final String
key for the column holding the oid of the DMSObjectstatic final String
key for the action 'Paste'static final String
Deprecated, for removal: This API element is subject to removal in a future version.since ep 11; is not needed in smartclient UIstatic final String
key for the action 'Replace'static final int
Determines that the user has only view right for the folder.static final int
Deprecated.will not be used and supported since version 8.0static final int
Determines that the user has edit right for the folder.static final String
Deprecated, for removal: This API element is subject to removal in a future version.since ep 11; is not needed in smartclient UIstatic final String
Deprecated, for removal: This API element is subject to removal in a future version.since ep 11; is not needed in smartclient UIstatic final String
Deprecated, for removal: This API element is subject to removal in a future version.since ep 11; is not needed in smartclient UIstatic final String
key for the action 'Send to'static final String
key for the action 'Sign'static final String
key for the column holding the size of the DMSObjectstatic final String
key for the action separatorstatic final String
key for the action 'Start process'static final String
key for the column holding the status of the DMSObjectstatic final String
key for the column holding the formtype of the DMSObjectstatic final String
Deprecated, for removal: This API element is subject to removal in a future version.since ep 11; is not needed in smartclient UIstatic final String
key for the column holding the link to the versions of the DMSObjectstatic final String
Deprecated, for removal: This API element is subject to removal in a future version.since ep 11; is not supported in smartclient UI -
Method Summary
Modifier and TypeMethodDescriptionYour 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 requestdefault String
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 ofColumnDescription
(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.
-
Field Details
-
RW
static final int RWDetermines that the user has edit right for the folder.- See Also:
-
RO
static final int RODetermines that the user has only view right for the folder.- See Also:
-
RO_REC
Deprecated.will not be used and supported since version 8.0Determines that the user has only view right for the folder and all its content elements.- See Also:
-
OID
key for the column holding the oid of the DMSObject- See Also:
-
NAME
key for the column holding the name of the DMSObject and the link to its content- See Also:
-
FORM
key for the column holding the form link of the DMSObject- See Also:
-
TYPE
key for the column holding the formtype of the DMSObject- See Also:
-
SIZE
key for the column holding the size of the DMSObject- See Also:
-
CHANGED_AT
key for the column holding the date of the last change of the DMSObject- See Also:
-
STATUS
key for the column holding the status of the DMSObject- See Also:
-
INFO
key for the column holding the link to the detailed information of the DMSObject- See Also:
-
VERSIONS
key for the column holding the link to the versions of the DMSObject- See Also:
-
NOTES
key for the column holding the link to the attached notes of the DMSObject- See Also:
-
SPACE
key for the action separator- See Also:
-
NEW
key for the action 'New'- See Also:
-
CUT
key for the action 'Cut'- See Also:
-
COPY
key for the action 'Copy'- See Also:
-
PASTE
key for the action 'Paste'- See Also:
-
LINK
key for the action 'Link'- See Also:
-
DELETE
key for the action 'Delete'- See Also:
-
REFRESH
Deprecated, for removal: This API element is subject to removal in a future version.since ep 11; is not needed in smartclient UIkey for the action 'Refresh'- See Also:
-
SEND_TO
key for the action 'Send to'- See Also:
-
START_PROCESS
key for the action 'Start process'- See Also:
-
CHANGE_TYPE
key for the action 'Change type'- See Also:
-
REPLACE
key for the action 'Replace'- See Also:
-
CREATE_VERSION
key for the action 'Create Version'- See Also:
-
ATTACH_NOTE
key for the action 'Attach Note'- See Also:
-
SIGN
key for the action 'Sign'- See Also:
-
FOLDER_PROPS
key for the action 'Folder properties'- See Also:
-
FOLDER_FORM
key for the action 'Folder properties'- See Also:
-
WEBFOLDER
Deprecated, for removal: This API element is subject to removal in a future version.since ep 11; is not supported in smartclient UIkey for the action 'Web-Folder'- See Also:
-
UPWARD
Deprecated, for removal: This API element is subject to removal in a future version.since ep 11; is not needed in smartclient UIkey for the action 'Upward'- See Also:
-
CLIPBOARD
key for the action 'Clipboard'- See Also:
-
DOWNLOAD
key for the action 'Download'- See Also:
-
SEARCH_FIELD
Deprecated, for removal: This API element is subject to removal in a future version.since ep 11; is not needed in smartclient UIkey for search input field- See Also:
-
SEARCH
Deprecated, for removal: This API element is subject to removal in a future version.since ep 11; is not needed in smartclient UIkey for triggering the search- See Also:
-
SEARCH_ALL
Deprecated, for removal: This API element is subject to removal in a future version.since ep 11; is not needed in smartclient UIkey for clearing the search (= shows all entries)- See Also:
-
-
Method Details
-
init
You can init your class with the request -
getList
Your chance to modify the list of the table entries and to collect additional data for them.- Returns:
- Default returns passed objects unmodified.
-
modifyColumns
You get the columns as we suggest it as a list ofColumnDescription
(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.- Parameters:
colDescs
- a list of column descriptions
-
modifyTableLine
Your chance to modify the line, called for each table line. Making the list empty removes the item from the worklist.- Parameters:
obj
- the DMSObjectline
- the line as map holding the ids and values of the columns
-
modifyActions
Your chance to modify the set of provided actions, called for each table line.- Parameters:
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
-
lineStyle
Change the style of the line by returning the name of the style class to use.- Returns:
- Default returns the passed style.
-