Java Doc for Search.java in  » Issue-Tracking » scarab-0.21 » org » tigris » scarab » actions » 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 » Issue Tracking » scarab 0.21 » org.tigris.scarab.actions 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.tigris.scarab.actions.base.RequireLoginFirstAction
   org.tigris.scarab.actions.Search

Search
public class Search extends RequireLoginFirstAction (Code)
This class is responsible for searching.
author:
   John D. McNally
author:
   Elicia David
author:
   Jon S. Stevens
version:
   $Id: Search.java 10379 2006-12-11 00:37:12Z dabbous $


Field Summary
 Intakeintake
    
 ScarabLocalizationTooll10n
    
 ParameterParserparams
    
 ScarabRequestToolscarabR
    
 ScarabUseruser
    


Method Summary
public  voiddoAdduserbyusername(RunData data, TemplateContext context)
     Adds user to the search form.
public  voiddoAddusers(RunData data, TemplateContext context)
     Adds users from temporary working list.
public  voiddoDone(RunData data, TemplateContext context)
     Overrides base class.
public  booleandoEditqueryinfo(RunData data, TemplateContext context)
    
public  voiddoEditstoredquery(RunData data, TemplateContext context)
     Edits the stored query.
public  voiddoGetissues(RunData data, TemplateContext context)
    
public  voiddoGotoeditlist(RunData data, TemplateContext context)
    
public  voiddoPerform(RunData data, TemplateContext context)
    
public  voiddoPreparequery(RunData data, TemplateContext context)
    
public  voiddoRedirecttocrossmodulelist(RunData data, TemplateContext context)
    
public  voiddoRedirecttosavequery(RunData data, TemplateContext context)
     Redirects to form to save the query.
public  voiddoRefinequery(RunData data, TemplateContext context)
     redirects to AdvancedQuery.
public  voiddoRemoveusers(RunData data, TemplateContext context)
     Removes users from temporary working list.
public  voiddoRunstoredquery(RunData data, TemplateContext context)
     Runs the stored story.
public  voiddoSavequery(RunData data, TemplateContext context)
     Saves query.
public  voiddoSearch(RunData data, TemplateContext context)
     Saves the query string for the logged-in user, and performs the default action of Search.doPerform .
public  voiddoSelectquery(RunData data, TemplateContext context)
     This method handles clicking the Go button in the SearchNav.vm file.
public  voiddoSetquerytarget(RunData data, TemplateContext context)
    
public  voiddoUpdateusers(RunData data, TemplateContext context)
     Changes the user attribute a user is associated with.
public static  StringgetQueryString(RunData data)
     The search string used to perform the query.
public  voidloadUsersFromUserList(RunData data, Map userMap)
    

Field Detail
intake
Intake intake(Code)



l10n
ScarabLocalizationTool l10n(Code)



params
ParameterParser params(Code)



scarabR
ScarabRequestTool scarabR(Code)



user
ScarabUser user(Code)





Method Detail
doAdduserbyusername
public void doAdduserbyusername(RunData data, TemplateContext context) throws Exception(Code)
Adds user to the search form.



doAddusers
public void doAddusers(RunData data, TemplateContext context) throws Exception(Code)
Adds users from temporary working list.



doDone
public void doDone(RunData data, TemplateContext context) throws Exception(Code)
Overrides base class.



doEditqueryinfo
public boolean doEditqueryinfo(RunData data, TemplateContext context) throws Exception(Code)



doEditstoredquery
public void doEditstoredquery(RunData data, TemplateContext context) throws Exception(Code)
Edits the stored query.



doGetissues
public void doGetissues(RunData data, TemplateContext context) throws TorqueException(Code)



doGotoeditlist
public void doGotoeditlist(RunData data, TemplateContext context) throws Exception(Code)



doPerform
public void doPerform(RunData data, TemplateContext context) throws Exception(Code)



doPreparequery
public void doPreparequery(RunData data, TemplateContext context) throws Exception(Code)



doRedirecttocrossmodulelist
public void doRedirecttocrossmodulelist(RunData data, TemplateContext context) throws Exception(Code)



doRedirecttosavequery
public void doRedirecttosavequery(RunData data, TemplateContext context) throws Exception(Code)
Redirects to form to save the query. May redirect to Login page.



doRefinequery
public void doRefinequery(RunData data, TemplateContext context) throws Exception(Code)
redirects to AdvancedQuery.



doRemoveusers
public void doRemoveusers(RunData data, TemplateContext context) throws Exception(Code)
Removes users from temporary working list.



doRunstoredquery
public void doRunstoredquery(RunData data, TemplateContext context) throws Exception(Code)
Runs the stored story.



doSavequery
public void doSavequery(RunData data, TemplateContext context) throws Exception(Code)
Saves query.



doSearch
public void doSearch(RunData data, TemplateContext context) throws Exception(Code)
Saves the query string for the logged-in user, and performs the default action of Search.doPerform .



doSelectquery
public void doSelectquery(RunData data, TemplateContext context) throws Exception(Code)
This method handles clicking the Go button in the SearchNav.vm file. First it checks to see if the select box passed in a number or a string. If it is a number, then we run the stored query assuming the number is the query id. Else, we assume it is a string and that is our template to redirect to.



doSetquerytarget
public void doSetquerytarget(RunData data, TemplateContext context) throws Exception(Code)



doUpdateusers
public void doUpdateusers(RunData data, TemplateContext context) throws Exception(Code)
Changes the user attribute a user is associated with.



getQueryString
public static String getQueryString(RunData data) throws Exception(Code)
The search string used to perform the query. (Doesnot refer to the CGI context of the term "querystring".)



loadUsersFromUserList
public void loadUsersFromUserList(RunData data, Map userMap) throws Exception(Code)
In the case of a saved query, puts the saved query's users Into the selected users map



Fields inherited from org.tigris.scarab.actions.base.RequireLoginFirstAction
final protected static LocalizationKey DEFAULT_MSG(Code)(Java Doc)
final protected static LocalizationKey EMAIL_ERROR(Code)(Java Doc)
final protected static LocalizationKey EMAIL_ERROR2(Code)(Java Doc)
final protected static LocalizationKey ERROR_MESSAGE(Code)(Java Doc)
final protected static LocalizationKey NO_CHANGES_MADE(Code)(Java Doc)
final protected static LocalizationKey NO_PERMISSION_MESSAGE(Code)(Java Doc)

Methods inherited from org.tigris.scarab.actions.base.RequireLoginFirstAction
public boolean areThereDupeSequences(List list, IntakeTool intake, String groupName, String fieldName, int dedupeSeq) throws Exception(Code)(Java Doc)
public void doCancel(RunData data, TemplateContext context) throws Exception(Code)(Java Doc)
public void doDone(RunData data, TemplateContext context) throws Exception(Code)(Java Doc)
public void doGonext(RunData data, TemplateContext context) throws Exception(Code)(Java Doc)
public void doGotoothertemplate(RunData data, TemplateContext context) throws Exception(Code)(Java Doc)
public void doRefresh(RunData data, TemplateContext context) throws Exception(Code)(Java Doc)
public void doRefreshresultsperpage(RunData data, TemplateContext context) throws Exception(Code)(Java Doc)
public void doReset(RunData data, TemplateContext context) throws Exception(Code)(Java Doc)
public void doSave(RunData data, TemplateContext context) throws Exception(Code)(Java Doc)
public String getBackTemplate(RunData data)(Code)(Java Doc)
public String getBackTemplate(RunData data, String defaultValue)(Code)(Java Doc)
public String getCancelTemplate(RunData data)(Code)(Java Doc)
public String getCancelTemplate(RunData data, String defaultValue)(Code)(Java Doc)
public String getCurrentTemplate(RunData data)(Code)(Java Doc)
public String getCurrentTemplate(RunData data, String defaultValue)(Code)(Java Doc)
public IntakeTool getIntakeTool(TemplateContext context)(Code)(Java Doc)
public String getLastTemplate(RunData data)(Code)(Java Doc)
final protected ScarabLocalizationTool getLocalizationTool(TemplateContext context)(Code)(Java Doc)
public String getNextTemplate(RunData data)(Code)(Java Doc)
public String getNextTemplate(RunData data, String defaultValue)(Code)(Java Doc)
public String getOtherTemplate(RunData data)(Code)(Java Doc)
protected String getRequiredPermission(RunData data)(Code)(Java Doc)
public ScarabRequestTool getScarabRequestTool(TemplateContext context)(Code)(Java Doc)
protected boolean isAuthorized(RunData data) throws Exception(Code)(Java Doc)
protected Logger log()(Code)(Java Doc)

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