public class UserOptionsDaoJpaImpl extends Object implements UserOptionsDAO
Constructor and Description |
---|
UserOptionsDaoJpaImpl() |
Modifier and Type | Method and Description |
---|---|
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) |
public UserOptionsDaoJpaImpl()
public Long getNewOptionIdForActionList()
getNewOptionIdForActionList
in interface UserOptionsDAO
protected DatabasePlatform getPlatform()
public List findByUserQualified(String principalId, String likeString)
findByUserQualified
in interface UserOptionsDAO
public void deleteByUserQualified(String principalId, String likeString)
deleteByUserQualified
in interface UserOptionsDAO
public Collection findByWorkflowUser(String principalId)
findByWorkflowUser
in interface UserOptionsDAO
public void save(UserOptions userOptions)
save
in interface UserOptionsDAO
public void save(Collection<UserOptions> userOptions)
save
in interface UserOptionsDAO
public void deleteUserOptions(UserOptions userOptions)
deleteUserOptions
in interface UserOptionsDAO
public UserOptions findByOptionId(String optionId, String principalId)
findByOptionId
in interface UserOptionsDAO
public Collection findByOptionValue(String optionId, String optionValue)
findByOptionValue
in interface UserOptionsDAO
public List<UserOptions> findEmailUserOptionsByType(String emailSetting)
UserOptionsDAO
findEmailUserOptionsByType
in interface UserOptionsDAO
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.