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

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.rice.kew.useroptions.dao.impl.UserOptionsDAOOjbImpl
All Implemented Interfaces:
UserOptionsDAO, org.springframework.beans.factory.InitializingBean

public class UserOptionsDAOOjbImpl
extends org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
implements UserOptionsDAO


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
UserOptionsDAOOjbImpl()
           
 
Method Summary
 void deleteByUserQualified(String principalId, String likeString)
           
 void deleteUserOptions(UserOptions userOptions)
           
 UserOptions findByOptionId(String optionId, String principalId)
           
 Collection<UserOptions> findByOptionValue(String optionId, String optionValue)
           
 List<UserOptions> findByUserQualified(String principalId, String likeString)
           
 Collection<UserOptions> 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.
 Long getNewOptionIdForActionList()
           
protected  DatabasePlatform getPlatform()
           
 void save(Collection<UserOptions> userOptions)
           
 void save(UserOptions userOptions)
           
 
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserOptionsDAOOjbImpl

public UserOptionsDAOOjbImpl()
Method Detail

getNewOptionIdForActionList

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

getPlatform

protected DatabasePlatform getPlatform()

findByUserQualified

public List<UserOptions> 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<UserOptions> 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<UserOptions> 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:


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