org.kuali.rice.kew.useroptions.dao.impl
Class UserOptionsDaoJpaImpl

java.lang.Object
  extended by org.kuali.rice.kew.useroptions.dao.impl.UserOptionsDaoJpaImpl
All Implemented Interfaces:
UserOptionsDAO

public class UserOptionsDaoJpaImpl
extends Object
implements UserOptionsDAO


Constructor Summary
UserOptionsDaoJpaImpl()
           
 
Method Summary
 void deleteByUserQualified(String principalId, String likeString)
           
 void deleteUserOptions(UserOptions userOptions)
           
 UserOptions findByOptionId(String optionId, String principalId)
           
 Collection findByOptionValue(String optionId, String optionValue)
           
 List findByUserQualified(String principalId, String likeString)
           
 Collection findByWorkflowUser(String principalId)
           
 List<UserOptions> findEmailUserOptionsByType(String emailSetting)
          This method fetches all of the user options which are used for email preferences and are set to the given email setting.
 javax.persistence.EntityManager getEntityManager()
           
 Long getNewOptionIdForActionList()
           
protected  DatabasePlatform getPlatform()
           
 void save(Collection<UserOptions> userOptions)
           
 void save(UserOptions userOptions)
           
 void setEntityManager(javax.persistence.EntityManager entityManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserOptionsDaoJpaImpl

public UserOptionsDaoJpaImpl()
Method Detail

getNewOptionIdForActionList

public Long getNewOptionIdForActionList()
Specified by:
getNewOptionIdForActionList in interface UserOptionsDAO

getPlatform

protected DatabasePlatform getPlatform()

findByUserQualified

public List findByUserQualified(String principalId,
                                String likeString)
Specified by:
findByUserQualified in interface UserOptionsDAO

deleteByUserQualified

public void deleteByUserQualified(String principalId,
                                  String likeString)
Specified by:
deleteByUserQualified in interface UserOptionsDAO

findByWorkflowUser

public Collection findByWorkflowUser(String principalId)
Specified by:
findByWorkflowUser in interface UserOptionsDAO

save

public void save(UserOptions userOptions)
Specified by:
save in interface UserOptionsDAO

save

public void save(Collection<UserOptions> userOptions)
Specified by:
save in interface UserOptionsDAO

deleteUserOptions

public void deleteUserOptions(UserOptions userOptions)
Specified by:
deleteUserOptions in interface UserOptionsDAO

findByOptionId

public UserOptions findByOptionId(String optionId,
                                  String principalId)
Specified by:
findByOptionId in interface UserOptionsDAO

findByOptionValue

public Collection findByOptionValue(String optionId,
                                    String optionValue)
Specified by:
findByOptionValue in interface UserOptionsDAO

findEmailUserOptionsByType

public List<UserOptions> findEmailUserOptionsByType(String emailSetting)
Description copied from interface: UserOptionsDAO
This method fetches all of the user options which are used for email preferences and are set to the given email setting.

Specified by:
findEmailUserOptionsByType in interface UserOptionsDAO
Returns:

getEntityManager

public javax.persistence.EntityManager getEntityManager()

setEntityManager

public void setEntityManager(javax.persistence.EntityManager entityManager)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.