| org.apache.portals.gems.browser.BrowserPortlet
All known Subclasses: org.apache.portals.gems.browser.DatabaseBrowserPortlet, org.apache.jetspeed.portlets.security.sso.SSODetails, org.apache.jetspeed.portlets.security.groups.GroupDetails, org.apache.jetspeed.portlets.security.users.GroupChooserPortlet, org.apache.jetspeed.portlets.security.sso.SSOBrowser, org.apache.jetspeed.portlets.selector.PortletSelector, org.apache.jetspeed.portlets.security.roles.RoleChooserPortlet, org.apache.jetspeed.portlets.security.roles.RoleBrowser, org.apache.jetspeed.portlets.security.roles.RoleDetails, org.apache.jetspeed.portlets.security.SecurityUtil, org.apache.jetspeed.portlets.security.groups.GroupBrowser, org.apache.jetspeed.portlets.security.users.UserBrowser, org.apache.jetspeed.portlets.security.users.RoleChooserPortlet,
BrowserPortlet | public class BrowserPortlet extends GenericVelocityPortlet implements Browser(Code) | | AbstractBrowserPortlet
author: David Sean Taylor version: $Id: AbstractBrowserPortlet.java,v 1.2 2005/01/01 00:01:29 taylor version: Exp $ |
Method Summary | |
protected void | clearBrowserIterator(PortletRequest request) Centralizes the calls to session - to clear the BrowserIterator from the
temp storage. | public void | doEdit(RenderRequest request, RenderResponse response) | public void | doView(RenderRequest request, RenderResponse response) | public boolean | filter(List row, RenderRequest request) | public int | find(BrowserIterator iterator, String searchString, String searchColumn) | protected BrowserIterator | getBrowserIterator(PortletRequest request) Centralizes the calls to session - to retrieve the BrowserIterator. | protected String | getPreference(RenderRequest request, String attrName, String attrDefValue) | protected String | getQueryString(RenderRequest request, Context context) This method returns the sql from the getQuery method which can be
overwritten according to the needs of the application. | public String | getQueryString(RenderRequest request) | public void | getRows(RenderRequest request, String sql, int windowSize) | public void | getRows(RenderRequest request, String sql, int windowSize, String filter) | protected int | getStartIndex() | protected int | getStartVariable(RenderRequest request, String attrName, String sortColName, BrowserIterator iterator) | public void | init(PortletConfig config) | public void | populate(int rowIndex, int columnIndex, List row) This method should be overwritten every time the user object needs to be
populated with some user specific constraints. | public void | processAction(ActionRequest request, ActionResponse response) | public void | publishStatusMessage(PortletRequest request, String portlet, String topic, Throwable e, String message) | protected void | readLinkParameters(RenderRequest request, Context context) | protected void | readSqlParameters(RenderRequest request) | protected void | readUserParameters(RenderRequest request, Context context) | protected void | setBrowserIterator(RenderRequest request, BrowserIterator iterator) Centralizes the calls to session - to set the BrowserIterator.
Parameters: data - The turbine rundata context for this request. | public void | setSQLParameters(List parameters) |
BROWSER_ACTION_KEY | final protected static String BROWSER_ACTION_KEY(Code) | | |
BROWSER_ITERATOR | final protected static String BROWSER_ITERATOR(Code) | | |
BROWSER_TABLE_SIZE | final protected static String BROWSER_TABLE_SIZE(Code) | | |
BROWSER_TITLE_ITERATOR | final protected static String BROWSER_TITLE_ITERATOR(Code) | | |
CUSTOMIZE_TEMPLATE | final protected static String CUSTOMIZE_TEMPLATE(Code) | | |
ROW_LINK_IDS | final protected static String ROW_LINK_IDS(Code) | | |
ROW_LINK_TARGETS | final protected static String ROW_LINK_TARGETS(Code) | | |
ROW_LINK_TYPES | final protected static String ROW_LINK_TYPES(Code) | | |
SEARCH_COLUMN | final protected static String SEARCH_COLUMN(Code) | | |
SEARCH_STRING | final protected static String SEARCH_STRING(Code) | | |
SORT_COLUMN_NAME | final protected static String SORT_COLUMN_NAME(Code) | | |
SQL_PARAM_PREFIX | final protected static String SQL_PARAM_PREFIX(Code) | | |
TABLE_LINK_IDS | final protected static String TABLE_LINK_IDS(Code) | | |
TABLE_LINK_TARGETS | final protected static String TABLE_LINK_TARGETS(Code) | | |
TABLE_LINK_TYPES | final protected static String TABLE_LINK_TYPES(Code) | | |
USER_OBJECTS | final protected static String USER_OBJECTS(Code) | | |
USER_OBJECT_NAMES | final protected static String USER_OBJECT_NAMES(Code) | | |
USER_OBJECT_TYPES | final protected static String USER_OBJECT_TYPES(Code) | | |
VELOCITY_NULL_ENTRY | final protected static String VELOCITY_NULL_ENTRY(Code) | | |
context | protected PortletContext context(Code) | | |
log | protected Log log(Code) | | Static initialization of the logger for this class
|
clearBrowserIterator | protected void clearBrowserIterator(PortletRequest request)(Code) | | Centralizes the calls to session - to clear the BrowserIterator from the
temp storage.
Parameters: data - The turbine rundata context for this request. |
doEdit | public void doEdit(RenderRequest request, RenderResponse response) throws PortletException, IOException(Code) | | |
doView | public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException(Code) | | |
filter | public boolean filter(List row, RenderRequest request)(Code) | | |
getBrowserIterator | protected BrowserIterator getBrowserIterator(PortletRequest request)(Code) | | Centralizes the calls to session - to retrieve the BrowserIterator.
Parameters: data - The turbine rundata context for this request. |
getQueryString | protected String getQueryString(RenderRequest request, Context context)(Code) | | This method returns the sql from the getQuery method which can be
overwritten according to the needs of the application. If the getQuery()
returns null, then it gets the value from the psml file. If the psml
value is null then it returns the value from the xreg file.
|
getQueryString | public String getQueryString(RenderRequest request)(Code) | | |
getStartIndex | protected int getStartIndex()(Code) | | to be used if sorting behavior to be overwritten
|
init | public void init(PortletConfig config) throws PortletException(Code) | | |
populate | public void populate(int rowIndex, int columnIndex, List row)(Code) | | This method should be overwritten every time the user object needs to be
populated with some user specific constraints. As an example if the user
wanted to track the parent of an object based on some calculation per
row, it could be done here.
|
processAction | public void processAction(ActionRequest request, ActionResponse response) throws PortletException, IOException(Code) | | |
readLinkParameters | protected void readLinkParameters(RenderRequest request, Context context)(Code) | | |
readSqlParameters | protected void readSqlParameters(RenderRequest request)(Code) | | |
readUserParameters | protected void readUserParameters(RenderRequest request, Context context)(Code) | | |
setBrowserIterator | protected void setBrowserIterator(RenderRequest request, BrowserIterator iterator)(Code) | | Centralizes the calls to session - to set the BrowserIterator.
Parameters: data - The turbine rundata context for this request. iterator. |
setSQLParameters | public void setSQLParameters(List parameters)(Code) | | |
|
|