Source Code Cross Referenced for SearchableAttribute.java in  » ERP-CRM-Financial » Kuali-Financial-System » edu » iu » uis » eden » docsearch » 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 » ERP CRM Financial » Kuali Financial System » edu.iu.uis.eden.docsearch 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*
02:         * Copyright 2005-2006 The Kuali Foundation.
03:         * 
04:         * 
05:         * Licensed under the Educational Community License, Version 1.0 (the "License");
06:         * you may not use this file except in compliance with the License.
07:         * You may obtain a copy of the License at
08:         * 
09:         * http://www.opensource.org/licenses/ecl1.php
10:         * 
11:         * Unless required by applicable law or agreed to in writing, software
12:         * distributed under the License is distributed on an "AS IS" BASIS,
13:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14:         * See the License for the specific language governing permissions and
15:         * limitations under the License.
16:         */
17:        package edu.iu.uis.eden.docsearch;
18:
19:        import java.io.Serializable;
20:        import java.util.Arrays;
21:        import java.util.List;
22:        import java.util.Map;
23:
24:        import edu.iu.uis.eden.lookupable.Row;
25:        import edu.iu.uis.eden.routetemplate.WorkflowAttributeValidationError;
26:
27:        /**
28:         * SearchableAttribute must implement this interface
29:         * 
30:         * @author Bryan Hutchinson
31:         */
32:        public interface SearchableAttribute extends Serializable {
33:
34:            public static final String SEARCH_WILDCARD_CHARACTER = "*";
35:            public static final String SEARCH_WILDCARD_CHARACTER_REGEX_ESCAPED = "\\"
36:                    + SEARCH_WILDCARD_CHARACTER;
37:
38:            public static final String DATA_TYPE_STRING = "string";
39:            public static final String DATA_TYPE_DATE = "datetime";
40:            public static final String DATA_TYPE_LONG = "long";
41:            public static final String DATA_TYPE_FLOAT = "float";
42:
43:            public static final String DEFAULT_SEARCHABLE_ATTRIBUTE_TYPE_NAME = DATA_TYPE_STRING;
44:
45:            public static final String DEFAULT_RANGE_SEARCH_LOWER_BOUND_LABEL = "From";
46:            public static final String DEFAULT_RANGE_SEARCH_UPPER_BOUND_LABEL = "To";
47:
48:            public static final String RANGE_LOWER_BOUND_PROPERTY_PREFIX = "rangeLowerBoundKeyPrefix_";
49:            public static final String RANGE_UPPER_BOUND_PROPERTY_PREFIX = "rangeUpperBoundKeyPrefix_";
50:
51:            public static final List SEARCHABLE_ATTRIBUTE_BASE_CLASS_LIST = Arrays
52:                    .asList(new Class[] { SearchableAttributeStringValue.class,
53:                            SearchableAttributeFloatValue.class,
54:                            SearchableAttributeLongValue.class,
55:                            SearchableAttributeDateTimeValue.class });
56:
57:            /**
58:             * this gives the xml representation of the attribute; 
59:             * returning a standard java xml object might be a better approach here
60:             * 
61:             * @return
62:             */
63:            public String getSearchContent();
64:
65:            /**
66:             * this will return the loaded data objects for storage in workflow’s database 
67:             * to be related to the document the attributes xml content was loaded with
68:             * @return
69:             */
70:            public List<SearchableAttributeValue> getSearchStorageValues(
71:                    String docContent);
72:
73:            /**
74:             * this will return a list of field objects to be rendered in the docsearch interface
75:             * @return
76:             */
77:            public List<Row> getSearchingRows();
78:
79:            /**
80:             * this will return a list of error objects if the user has made an input error
81:             * @return
82:             */
83:            public List<WorkflowAttributeValidationError> validateUserSearchInputs(
84:                    Map<Object, String> paramMap);
85:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.