Source Code Cross Referenced for ISearchProvider.java in  » Mail-Clients » columba-1.4 » org » columba » core » search » api » 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 » Mail Clients » columba 1.4 » org.columba.core.search.api 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.columba.core.search.api;
002:
003:        import java.util.List;
004:
005:        import javax.swing.ImageIcon;
006:
007:        import org.columba.api.gui.frame.IFrameMediator;
008:        import org.columba.api.plugin.IExtensionInterface;
009:        import org.columba.core.gui.search.api.ICriteriaRenderer;
010:        import org.columba.core.gui.search.api.IResultPanel;
011:
012:        /**
013:         * Provider does the actual search and furthermore contains a description
014:         * of the search criteria.
015:         * 
016:         * @author frd
017:         */
018:        public interface ISearchProvider extends IExtensionInterface {
019:
020:            /**
021:             * Returns technical name. Should be unique.
022:             * @return
023:             */
024:            public String getTechnicalName();
025:
026:            /**
027:             * Return provider human-readable name
028:             * @return
029:             */
030:            public String getName();
031:
032:            /**
033:             * Return provider human-readable description
034:             * @return
035:             */
036:            public String getDescription();
037:
038:            /**
039:             * Return provider icon
040:             * @return
041:             */
042:            public ImageIcon getIcon();
043:
044:            /**
045:             * Retrieve search criteria for given search term.
046:             * 
047:             * @param searchTerm
048:             * @return
049:             */
050:            public List<ISearchCriteria> getAllCriteria(String searchTerm);
051:
052:            /**
053:             * Get result panel for given search criteria.
054:             * 
055:             * @param searchCriteriaTechnicalName
056:             * @return
057:             */
058:            public IResultPanel getResultPanel(
059:                    String searchCriteriaTechnicalName);
060:
061:            /**
062:             * Get result panel for a complex search across a couple of specific criteria.
063:             * 
064:             * @return
065:             */
066:            public IResultPanel getComplexResultPanel();
067:
068:            /**
069:             * Get criteria renderer fo given search criteria technical name
070:             * 
071:             * @param searchCriteriaTechnicalName
072:             * @return
073:             */
074:            public ICriteriaRenderer getCriteriaRenderer(
075:                    String criteriaTechnicalName);
076:
077:            /**
078:             * Retrieve single search criteria for given search term.
079:             * 
080:             * @param technicalName
081:             * @param searchTerm
082:             * @return
083:             */
084:            public ISearchCriteria getCriteria(String technicalName,
085:                    String searchTerm);
086:
087:            public ISearchCriteria getDefaultCriteria(String searchTerm);
088:
089:            /**
090:             * Execute query and retrieve pageable search result for given search term and
091:             * a single search criteria.
092:             * <p>
093:             * The query returns <code>resultCount</code> individual results, from
094:             * a given <code>startIndex</code>. Paging should be supported, so its
095:             * up to the underlying implementation to use an intelligent caching 
096:             * strategy or whatever necessary to make repetitive calls to this
097:             * method fast.
098:             *  
099:             * @param searchTerm					search term
100:             * @param searchCriteriaTechnicalName	search criteria technical name
101:             * @param searchInside					search inside previous search results
102:             * @param startIndex					start index of search results
103:             * @param resultCount					total count of results
104:             * 
105:             * @return	
106:             */
107:            public List<ISearchResult> query(String searchTerm,
108:                    String searchCriteriaTechnicalName, boolean searchInside,
109:                    int startIndex, int resultCount);
110:
111:            public List<ISearchResult> query(List<ISearchRequest> list,
112:                    boolean matchAll, boolean searchInside, int startIndex,
113:                    int resultCount);
114:
115:            public void showAllResults(IFrameMediator mediator,
116:                    String searchTerm, String searchCriteriaTechnicalName);
117:
118:            /**
119:             * Check if search provider has executed a single criteria search.
120:             * 
121:             * @return	true, in case single criteria search was done. False, otherwise.
122:             */
123:            public boolean hasSingleCriteriaSearchResult();
124:
125:            /**
126:             * Return total number of search results. Method only returns valid result after calling
127:             * <code>query</code> first.
128:             * 
129:             * @return	total number of search results. <code>-1</code>, in case <code>query</code> was not called, yet
130:             */
131:            public int getTotalResultCount();
132:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.