org.kuali.rice.kew.docsearch
Class SearchableAttributeStringValue

java.lang.Object
  extended by org.kuali.rice.kew.docsearch.SearchableAttributeBase
      extended by org.kuali.rice.kew.docsearch.SearchableAttributeStringValue
All Implemented Interfaces:
Serializable, CaseAwareSearchableAttributeValue, SearchableAttributeValue

@Entity
public class SearchableAttributeStringValue
extends SearchableAttributeBase
implements CaseAwareSearchableAttributeValue, Serializable

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kew.docsearch.SearchableAttributeBase
ojbConcreteClass
 
Constructor Summary
SearchableAttributeStringValue()
          Default constructor.
 
Method Summary
 boolean allowsCaseInsensitivity()
           
 boolean allowsRangeSearches()
           
 boolean allowsWildcards()
           
 String getAttributeDataType()
           
 String getAttributeTableName()
           
 String getSearchableAttributeDisplayValue()
           
 String getSearchableAttributeValue()
           
 boolean isPassesDefaultValidation(String valueEntered)
           
 Boolean isRangeValid(String lowerValue, String upperValue)
           
 Boolean isRangeValid(String lowerValue, String upperValue, boolean caseSensitive)
           
 void setSearchableAttributeValue(String searchableAttributeValue)
           
 void setupAttributeValue(ResultSet resultSet, String columnName)
           
 void setupAttributeValue(String value)
           
 DocumentAttributeString toDocumentAttribute()
           
 
Methods inherited from class org.kuali.rice.kew.docsearch.SearchableAttributeBase
getDocumentId, getOjbConcreteClass, getRouteHeader, getSearchableAttributeKey, getSearchableAttributeValueId, setDocumentId, setOjbConcreteClass, setRouteHeader, setSearchableAttributeKey, setSearchableAttributeValueId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kew.docsearch.SearchableAttributeValue
getDocumentId, getOjbConcreteClass, getRouteHeader, getSearchableAttributeKey, getSearchableAttributeValueId, setDocumentId, setOjbConcreteClass, setRouteHeader, setSearchableAttributeKey, setSearchableAttributeValueId
 

Constructor Detail

SearchableAttributeStringValue

public SearchableAttributeStringValue()
Default constructor.

Method Detail

setupAttributeValue

public void setupAttributeValue(String value)
Specified by:
setupAttributeValue in interface SearchableAttributeValue

setupAttributeValue

public void setupAttributeValue(ResultSet resultSet,
                                String columnName)
                         throws SQLException
Specified by:
setupAttributeValue in interface SearchableAttributeValue
Throws:
SQLException

getSearchableAttributeDisplayValue

public String getSearchableAttributeDisplayValue()
Specified by:
getSearchableAttributeDisplayValue in interface SearchableAttributeValue

getAttributeDataType

public String getAttributeDataType()
Specified by:
getAttributeDataType in interface SearchableAttributeValue

getAttributeTableName

public String getAttributeTableName()
Specified by:
getAttributeTableName in interface SearchableAttributeValue

allowsWildcards

public boolean allowsWildcards()
Specified by:
allowsWildcards in interface SearchableAttributeValue

allowsCaseInsensitivity

public boolean allowsCaseInsensitivity()
Specified by:
allowsCaseInsensitivity in interface SearchableAttributeValue

allowsRangeSearches

public boolean allowsRangeSearches()
Specified by:
allowsRangeSearches in interface SearchableAttributeValue

isPassesDefaultValidation

public boolean isPassesDefaultValidation(String valueEntered)
Specified by:
isPassesDefaultValidation in interface SearchableAttributeValue
Returns:
true if the valueEntered parameter is not null and is equal to or less than the specified max length defined by STRING_MAX_LENGTH.

isRangeValid

public Boolean isRangeValid(String lowerValue,
                            String upperValue)
Specified by:
isRangeValid in interface SearchableAttributeValue

isRangeValid

public Boolean isRangeValid(String lowerValue,
                            String upperValue,
                            boolean caseSensitive)
Specified by:
isRangeValid in interface CaseAwareSearchableAttributeValue

getSearchableAttributeValue

public String getSearchableAttributeValue()
Specified by:
getSearchableAttributeValue in interface SearchableAttributeValue

setSearchableAttributeValue

public void setSearchableAttributeValue(String searchableAttributeValue)

toDocumentAttribute

public DocumentAttributeString toDocumentAttribute()
Specified by:
toDocumentAttribute in interface SearchableAttributeValue


Copyright © 2005–2015 The Kuali Foundation. All rights reserved.