org.kuali.rice.kew.docsearch
Class SearchableAttributeDateTimeValue

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

@Entity
public class SearchableAttributeDateTimeValue
extends SearchableAttributeBase
implements SearchableAttributeValue, 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
SearchableAttributeDateTimeValue()
          Default constructor.
 
Method Summary
 boolean allowsCaseInsensitivity()
           
 boolean allowsRangeSearches()
           
 boolean allowsWildcards()
           
 String getAttributeDataType()
           
 String getAttributeTableName()
           
 String getSearchableAttributeDisplayValue()
           
 Timestamp getSearchableAttributeValue()
           
 boolean isPassesDefaultValidation(String valueEntered)
           
 Boolean isRangeValid(String lowerValue, String upperValue)
           
 void setSearchableAttributeValue(Timestamp searchableAttributeValue)
           
 void setupAttributeValue(ResultSet resultSet, String columnName)
           
 void setupAttributeValue(String value)
           
 DocumentAttributeDateTime 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

SearchableAttributeDateTimeValue

public SearchableAttributeDateTimeValue()
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

isRangeValid

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

getSearchableAttributeValue

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

setSearchableAttributeValue

public void setSearchableAttributeValue(Timestamp searchableAttributeValue)

toDocumentAttribute

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


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