org.kuali.rice.kew.docsearch.dao.impl
Class SearchableAttributeDAOJpaImpl

java.lang.Object
  extended by org.kuali.rice.kew.docsearch.dao.impl.SearchableAttributeDAOJpaImpl
All Implemented Interfaces:
SearchableAttributeDAO

public class SearchableAttributeDAOJpaImpl
extends Object
implements SearchableAttributeDAO

JPA implementation of SearchableAttributeDAO

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
private  javax.persistence.EntityManager entityManager
           
 
Constructor Summary
SearchableAttributeDAOJpaImpl()
           
 
Method Summary
 javax.persistence.EntityManager getEntityManager()
           
 List<Timestamp> getSearchableAttributeDateTimeValuesByKey(String documentId, String key)
          This overridden method queries the SearchableAttributeDateTimeValue persistence class
 List<BigDecimal> getSearchableAttributeFloatValuesByKey(String documentId, String key)
          This overridden method queries the SearchableAttributeFloatValue persistence class
 List<Long> getSearchableAttributeLongValuesByKey(String documentId, String key)
          This overridden method queries the searchableAttributeKey persistence class
 List<String> getSearchableAttributeStringValuesByKey(String documentId, String key)
          This overridden method queries the SearchableAttributeStringValue persistence class
 void setEntityManager(javax.persistence.EntityManager entityManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityManager

private javax.persistence.EntityManager entityManager
Constructor Detail

SearchableAttributeDAOJpaImpl

public SearchableAttributeDAOJpaImpl()
Method Detail

getSearchableAttributeDateTimeValuesByKey

public List<Timestamp> getSearchableAttributeDateTimeValuesByKey(String documentId,
                                                                 String key)
This overridden method queries the SearchableAttributeDateTimeValue persistence class

Specified by:
getSearchableAttributeDateTimeValuesByKey in interface SearchableAttributeDAO
See Also:
org.kuali.rice.kew.docsearch.dao.SearchableAttributeDAO#getSearchableAttributeDateTimeValuesByKey(java.lang.Long, java.lang.String)

getSearchableAttributeFloatValuesByKey

public List<BigDecimal> getSearchableAttributeFloatValuesByKey(String documentId,
                                                               String key)
This overridden method queries the SearchableAttributeFloatValue persistence class

Specified by:
getSearchableAttributeFloatValuesByKey in interface SearchableAttributeDAO
See Also:
org.kuali.rice.kew.docsearch.dao.SearchableAttributeDAO#getSearchableAttributeFloatValuesByKey(java.lang.Long, java.lang.String)

getSearchableAttributeLongValuesByKey

public List<Long> getSearchableAttributeLongValuesByKey(String documentId,
                                                        String key)
This overridden method queries the searchableAttributeKey persistence class

Specified by:
getSearchableAttributeLongValuesByKey in interface SearchableAttributeDAO
See Also:
org.kuali.rice.kew.docsearch.dao.SearchableAttributeDAO#getSearchableAttributeLongValuesByKey(java.lang.Long, java.lang.String)

getSearchableAttributeStringValuesByKey

public List<String> getSearchableAttributeStringValuesByKey(String documentId,
                                                            String key)
This overridden method queries the SearchableAttributeStringValue persistence class

Specified by:
getSearchableAttributeStringValuesByKey in interface SearchableAttributeDAO
See Also:
org.kuali.rice.kew.docsearch.dao.SearchableAttributeDAO#getSearchableAttributeStringValuesByKey(java.lang.Long, java.lang.String)

getEntityManager

public javax.persistence.EntityManager getEntityManager()

setEntityManager

public void setEntityManager(javax.persistence.EntityManager entityManager)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.