|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DMSTableHandler
| Field Summary | |
|---|---|
static java.lang.String |
ATTACH_NOTE
key for the action 'Attach Note' |
static java.lang.String |
CHANGE_TYPE
key for the action 'Change type' |
static java.lang.String |
CHANGED_AT
key for the column holding the date of the last change of the DMSObject |
static java.lang.String |
CLIPBOARD
key for the action 'Clipboard' |
static java.lang.String |
COPY
key for the action 'Copy' |
static java.lang.String |
CREATE_VERSION
key for the action 'Create Version' |
static java.lang.String |
CUT
key for the action 'Cut' |
static java.lang.String |
DELETE
key for the action 'Delete' |
static java.lang.String |
FOLDER_PROPS
key for the action 'Folder properties' |
static java.lang.String |
FORM
key for the column holding the form link of the DMSObject |
static java.lang.String |
INFO
key for the column holding the link to the detailed information of the DMSObject |
static java.lang.String |
LINK
key for the action 'Link' |
static java.lang.String |
NAME
key for the column holding the name of the DMSObject and the link to its content |
static java.lang.String |
NEW
key for the action 'New' |
static java.lang.String |
NOTES
key for the column holding the link to the attached notes of the DMSObject |
static java.lang.String |
OID
key for the column holding the oid of the DMSObject |
static java.lang.String |
PASTE
key for the action 'Paste' |
static java.lang.String |
REFRESH
key for the action 'Refresh' |
static java.lang.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
Determines that the user has only view right for the folder and all its content elements. |
static int |
RW
Determines that the user has edit right for the folder. |
static java.lang.String |
SEND_TO
key for the action 'Send to' |
static java.lang.String |
SIGN
key for the action 'Sign' |
static java.lang.String |
SIZE
key for the column holding the size of the DMSObject |
static java.lang.String |
SPACE
key for the action separator |
static java.lang.String |
START_PROCESS
key for the action 'Start process' |
static java.lang.String |
STATUS
key for the column holding the status of the DMSObject |
static java.lang.String |
TYPE
key for the column holding the formtype of the DMSObject |
static java.lang.String |
UPWARD
key for the action 'Upward' |
static java.lang.String |
VERSIONS
key for the column holding the link to the versions of the DMSObject |
static java.lang.String |
WEBFOLDER
key for the action 'Web-Folder' |
| Method Summary | |
|---|---|
HTMLPage |
getHTMLPage()
replace the standard page or return null. |
java.util.List |
getList(java.util.List objects)
Your chance to modify the list of the table entries and to collect additional data for them |
java.lang.String |
getTitle()
non null overwrites the title. |
void |
init(javax.servlet.http.HttpServletRequest req,
DMSFolder folder,
User u,
int mode)
You can init your class with the request |
java.lang.String |
lineStyle(DMSObject obj,
java.lang.String style)
Change the style of the line by returning the name of the style class to use. |
void |
modifyActions(java.util.List actions)
Your chance to modify the set of provided actions, called for each table line. |
void |
modifyTableHeader(java.util.List header)
You get the header as we suggest it, a list of reserved keywords (see the corresponding statics defined in this interface, e.g. |
void |
modifyTableLine(DMSObject obj,
java.util.Map line)
Your chance to modify the line, called for each table line. |
| Field Detail |
|---|
static final int RW
static final int RO
static final int RO_REC
static final java.lang.String OID
static final java.lang.String NAME
static final java.lang.String FORM
static final java.lang.String TYPE
static final java.lang.String SIZE
static final java.lang.String CHANGED_AT
static final java.lang.String STATUS
static final java.lang.String INFO
static final java.lang.String VERSIONS
static final java.lang.String NOTES
static final java.lang.String SPACE
static final java.lang.String NEW
static final java.lang.String CUT
static final java.lang.String COPY
static final java.lang.String PASTE
static final java.lang.String LINK
static final java.lang.String DELETE
static final java.lang.String REFRESH
static final java.lang.String SEND_TO
static final java.lang.String START_PROCESS
static final java.lang.String CHANGE_TYPE
static final java.lang.String REPLACE
static final java.lang.String CREATE_VERSION
static final java.lang.String ATTACH_NOTE
static final java.lang.String SIGN
static final java.lang.String FOLDER_PROPS
static final java.lang.String WEBFOLDER
static final java.lang.String UPWARD
static final java.lang.String CLIPBOARD
| Method Detail |
|---|
void init(javax.servlet.http.HttpServletRequest req,
DMSFolder folder,
User u,
int mode)
req - the requestfolder - the folderu - the usermode - one of RW, RO or RO_REC,HTMLPage getHTMLPage()
java.lang.String getTitle()
java.util.List getList(java.util.List objects)
void modifyTableHeader(java.util.List header)
NAME
You can change this header as you like. The resulting header is used to
build the table lines: for the keywords we add the corresponding column,
for other names we add "null" elements.
header - a list of pairs with keyword and label
void modifyTableLine(DMSObject obj,
java.util.Map line)
obj - the DMSObjectline - the line as map holding the ids and values of the columnsvoid modifyActions(java.util.List 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
java.lang.String lineStyle(DMSObject obj,
java.lang.String style)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||