1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.rice.kew.docsearch;
18
19 import java.sql.ResultSet;
20 import java.sql.SQLException;
21 import java.util.Map;
22
23 import org.kuali.rice.kew.routeheader.DocumentRouteHeaderValue;
24
25
26
27
28
29
30
31
32 public interface SearchableAttributeValue {
33
34 public String getAttributeDataType();
35
36 public String getAttributeTableName();
37
38 public boolean allowsWildcards();
39
40 public boolean allowsCaseInsensitivity();
41
42 public boolean allowsRangeSearches();
43
44 public boolean isPassesDefaultValidation(String valueEntered);
45
46 public Boolean isRangeValid(String lowerValue, String upperValue);
47
48 public void setupAttributeValue(String value);
49
50 public void setupAttributeValue(ResultSet resultSet, String columnName) throws SQLException;
51
52 public String getSearchableAttributeDisplayValue();
53
54 public String getOjbConcreteClass();
55
56 public void setOjbConcreteClass(String ojbConcreteClass);
57
58 public DocumentRouteHeaderValue getRouteHeader();
59
60 public void setRouteHeader(DocumentRouteHeaderValue routeHeader);
61
62 public Long getRouteHeaderId();
63
64 public void setRouteHeaderId(Long routeHeaderId);
65
66 public String getSearchableAttributeKey();
67
68 public void setSearchableAttributeKey(String searchableAttributeKey);
69
70 public Long getSearchableAttributeValueId();
71
72 public void setSearchableAttributeValueId(Long searchableAttributeValueId);
73
74 public Object getSearchableAttributeValue();
75 }