Java Doc for BrowserPortlet.java in  » Portal » jetspeed-2.1.3 » org » apache » portals » gems » browser » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » jetspeed 2.1.3 » org.apache.portals.gems.browser 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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 $


Field Summary
final protected static  StringBROWSER_ACTION_KEY
    
final protected static  StringBROWSER_ITERATOR
    
final protected static  StringBROWSER_TABLE_SIZE
    
final protected static  StringBROWSER_TITLE_ITERATOR
    
final protected static  StringCUSTOMIZE_TEMPLATE
    
final protected static  StringFILTER
    
final protected static  StringFILTERED
    
final protected static  StringFIND
    
final protected static  StringFIRST
    
final protected static  StringLAST
    
final protected static  StringLINKS_READ
    
final protected static  StringNEXT
    
final protected static  StringPEID
    
final protected static  StringPOOLNAME
    
final protected static  StringPREVIOUS
    
final protected static  StringROW_LINK
    
final protected static  StringROW_LINK_IDS
    
final protected static  StringROW_LINK_TARGETS
    
final protected static  StringROW_LINK_TYPES
    
final protected static  StringSEARCH_COLUMN
    
final protected static  StringSEARCH_STRING
    
final protected static  StringSORT_COLUMN_NAME
    
final protected static  StringSQL
    
final protected static  StringSQL_PARAM_PREFIX
    
final protected static  StringSTART
    
final protected static  StringTABLE_LINK
    
final protected static  StringTABLE_LINK_IDS
    
final protected static  StringTABLE_LINK_TARGETS
    
final protected static  StringTABLE_LINK_TYPES
    
final protected static  StringUSER_OBJECTS
    
final protected static  StringUSER_OBJECT_NAMES
    
final protected static  StringUSER_OBJECT_TYPES
    
final protected static  StringVELOCITY_NULL_ENTRY
    
final protected static  StringWINDOW_SIZE
    
protected  PortletContextcontext
    
protected  Loglog
    
protected  ListsqlParameters
    
protected  SSOProvidersso
    


Method Summary
protected  voidclearBrowserIterator(PortletRequest request)
     Centralizes the calls to session - to clear the BrowserIterator from the temp storage.
public  voiddoEdit(RenderRequest request, RenderResponse response)
    
public  voiddoView(RenderRequest request, RenderResponse response)
    
public  booleanfilter(List row, RenderRequest request)
    
public  intfind(BrowserIterator iterator, String searchString, String searchColumn)
    
protected  BrowserIteratorgetBrowserIterator(PortletRequest request)
     Centralizes the calls to session - to retrieve the BrowserIterator.
protected  StringgetPreference(RenderRequest request, String attrName, String attrDefValue)
    
protected  StringgetQueryString(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  StringgetQueryString(RenderRequest request)
    
public  voidgetRows(RenderRequest request, String sql, int windowSize)
    
public  voidgetRows(RenderRequest request, String sql, int windowSize, String filter)
    
protected  intgetStartIndex()
    
protected  intgetStartVariable(RenderRequest request, String attrName, String sortColName, BrowserIterator iterator)
    
public  voidinit(PortletConfig config)
    
public  voidpopulate(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  voidprocessAction(ActionRequest request, ActionResponse response)
    
public  voidpublishStatusMessage(PortletRequest request, String portlet, String topic, Throwable e, String message)
    
protected  voidreadLinkParameters(RenderRequest request, Context context)
    
protected  voidreadSqlParameters(RenderRequest request)
    
protected  voidreadUserParameters(RenderRequest request, Context context)
    
protected  voidsetBrowserIterator(RenderRequest request, BrowserIterator iterator)
     Centralizes the calls to session - to set the BrowserIterator.
Parameters:
  data - The turbine rundata context for this request.
public  voidsetSQLParameters(List parameters)
    

Field Detail
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)



FILTER
final protected static String FILTER(Code)



FILTERED
final protected static String FILTERED(Code)



FIND
final protected static String FIND(Code)



FIRST
final protected static String FIRST(Code)



LAST
final protected static String LAST(Code)



LINKS_READ
final protected static String LINKS_READ(Code)



NEXT
final protected static String NEXT(Code)



PEID
final protected static String PEID(Code)



POOLNAME
final protected static String POOLNAME(Code)



PREVIOUS
final protected static String PREVIOUS(Code)



ROW_LINK
final protected static String ROW_LINK(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
final protected static String SQL(Code)



SQL_PARAM_PREFIX
final protected static String SQL_PARAM_PREFIX(Code)



START
final protected static String START(Code)



TABLE_LINK
final protected static String TABLE_LINK(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)



WINDOW_SIZE
final protected static String WINDOW_SIZE(Code)



context
protected PortletContext context(Code)



log
protected Log log(Code)
Static initialization of the logger for this class



sqlParameters
protected List sqlParameters(Code)



sso
protected SSOProvider sso(Code)





Method Detail
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)



find
public int find(BrowserIterator iterator, String searchString, String searchColumn)(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.



getPreference
protected String getPreference(RenderRequest request, String attrName, String attrDefValue)(Code)



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)



getRows
public void getRows(RenderRequest request, String sql, int windowSize) throws Exception(Code)



getRows
public void getRows(RenderRequest request, String sql, int windowSize, String filter) throws Exception(Code)



getStartIndex
protected int getStartIndex()(Code)
to be used if sorting behavior to be overwritten



getStartVariable
protected int getStartVariable(RenderRequest request, String attrName, String sortColName, BrowserIterator iterator)(Code)



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)



publishStatusMessage
public void publishStatusMessage(PortletRequest request, String portlet, String topic, Throwable e, String message)(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)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.