|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groiss.dms.DMSTableAdapter
public class DMSTableAdapter
The default implementation of a DMSTableHandler.
| Field Summary |
|---|
| Fields inherited from interface com.groiss.dms.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, SEND_TO, SIGN, SIZE, SPACE, START_PROCESS, STATUS, TYPE, UPWARD, VERSIONS, WEBFOLDER |
| Constructor Summary | |
|---|---|
DMSTableAdapter()
|
|
| Method Summary | |
|---|---|
HTMLPage |
getHTMLPage()
returns null |
List<DMSObject> |
getList(List<DMSObject> objects)
returns the list of passed objects unchanged |
String |
getTitle()
returns null |
void |
init(HttpServletRequest req,
DMSFolder folder,
User u,
int mode)
empty implementation |
String |
lineStyle(DMSObject obj,
String style)
returns the passed style |
void |
modifyActions(List<Pair<String,Object>> actions)
empty implementation |
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. |
void |
modifyTableHeader(List<Pair<String,Object>> header)
Deprecated. since ep 8.0, implement modifyColumns(List) instead |
void |
modifyTableLine(DMSObject obj,
Map<String,Object> line)
empty implementation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DMSTableAdapter()
| Method Detail |
|---|
public void init(HttpServletRequest req,
DMSFolder folder,
User u,
int mode)
init in interface DMSTableHandlerreq - the requestfolder - the folderu - the usermode - is DMSTableHandler.RW or DMSTableHandler.ROpublic HTMLPage getHTMLPage()
getHTMLPage in interface DMSTableHandlerpublic String getTitle()
getTitle in interface DMSTableHandlerpublic List<DMSObject> getList(List<DMSObject> objects)
getList in interface DMSTableHandler@Deprecated public void modifyTableHeader(List<Pair<String,Object>> header)
modifyColumns(List) instead
modifyTableHeader in interface DMSTableHandlerheader - a list of pairs with keyword and labelpublic void modifyColumns(List<ColumnDescription> colDescs)
DMSTableHandlerColumnDescription (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 DMSTableHandlercolDescs - a list of column descriptions
public void modifyTableLine(DMSObject obj,
Map<String,Object> line)
modifyTableLine in interface DMSTableHandlerobj - the DMSObjectline - the line as map holding the ids and values of the columnspublic void modifyActions(List<Pair<String,Object>> actions)
modifyActions in interface DMSTableHandleractions - 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
public String lineStyle(DMSObject obj,
String style)
lineStyle in interface DMSTableHandler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||