|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.ui.Table
com.waveset.ui.HierarchicalTable
An extension of the table class that has helpers for displaying organizations
Nested Class Summary | |
class |
HierarchicalTable.HierContents
Get the administrators and organizations to display (end up with folder and admin ArrayLists. |
Nested classes inherited from class com.waveset.ui.Table |
Table.ActionButton, Table.AppletCell, Table.Button, Table.Cell, Table.ColorTextCell, Table.Column, Table.CompoundCell, Table.DateCell, Table.GridCell, Table.GridSpanCell, Table.IconCell, Table.JavascriptButton, Table.JavascriptSelectButton, Table.LinkCell, Table.Row, Table.SelectButton, Table.SubmitCommandButton, Table.SubmitSelectButton, Table.TextCell |
Field Summary | |
static java.lang.String |
code_id
|
Fields inherited from class com.waveset.ui.Table |
_columns, _descendingSort, _headerLinks, _mc, _rows, _sortColumn, trace |
Constructor Summary | |
HierarchicalTable()
|
Method Summary | |
int |
addOrganizationRows(java.util.ArrayList folderResult,
Table.Row[] rows,
int rowOffset,
int numColumns,
java.lang.String linkURL)
Add the organizations to the table. |
HierarchicalTable.HierContents |
getContents(javax.servlet.ServletRequest req,
Session s,
boolean getUsers,
boolean getAdmins,
javax.servlet.http.HttpSession httpsession)
|
HierarchicalTable.HierContents |
getContents(javax.servlet.ServletRequest req,
Session s,
boolean getUsers,
boolean getAdmins,
javax.servlet.http.HttpSession httpsession,
ObjectGroup currentOrg)
|
ObjectGroup |
getCurrentOrganization(javax.servlet.ServletRequest req,
Session s,
javax.servlet.http.HttpSession httpsession)
Get the current organization, either from a request parameter, or from the session. |
java.lang.String[] |
getPath(Session s,
HierarchicalTable.HierContents content)
Build the path up to the root. |
ObjectGroup[] |
getTopmostOrganizations(Session s)
|
void |
HierarchicalTable()
All the interesting constrution happens after setting property values and calling the generate() method. |
void |
setTablePath(javax.servlet.http.HttpServletResponse response,
java.lang.String[] path,
java.lang.String baseURL)
Set an optional folder path for this table. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
Constructor Detail |
public HierarchicalTable()
Method Detail |
public void HierarchicalTable()
public ObjectGroup getCurrentOrganization(javax.servlet.ServletRequest req, Session s, javax.servlet.http.HttpSession httpsession) throws WavesetException
WavesetException
public ObjectGroup[] getTopmostOrganizations(Session s) throws WavesetException
WavesetException
public HierarchicalTable.HierContents getContents(javax.servlet.ServletRequest req, Session s, boolean getUsers, boolean getAdmins, javax.servlet.http.HttpSession httpsession, ObjectGroup currentOrg) throws WavesetException
WavesetException
public HierarchicalTable.HierContents getContents(javax.servlet.ServletRequest req, Session s, boolean getUsers, boolean getAdmins, javax.servlet.http.HttpSession httpsession) throws WavesetException
WavesetException
public int addOrganizationRows(java.util.ArrayList folderResult, Table.Row[] rows, int rowOffset, int numColumns, java.lang.String linkURL)
public java.lang.String[] getPath(Session s, HierarchicalTable.HierContents content) throws WavesetException
WavesetException
public void setTablePath(javax.servlet.http.HttpServletResponse response, java.lang.String[] path, java.lang.String baseURL)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |