org.kuali.rice.kew.useroptions
Class UserOptionsServiceImpl

java.lang.Object
  extended by org.kuali.rice.kew.useroptions.UserOptionsServiceImpl
All Implemented Interfaces:
UserOptionsService

@Transactional
public class UserOptionsServiceImpl
extends Object
implements UserOptionsService


Field Summary
private static Properties defaultProperties
           
private  ReloadActionListDAO reloadActionListDAO
           
private  UserOptionsDAO userOptionsDAO
           
 
Constructor Summary
UserOptionsServiceImpl()
           
 
Method Summary
 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)
           
private  Long getNewOptionIdForActionList()
           
 ReloadActionListDAO getReloadActionListDAO()
           
 UserOptionsDAO getUserOptionsDAO()
           
 boolean refreshActionList(String principalId)
           
 void save(String principalId, Map<String,String> optionsMap)
          This overridden method saves an option for each optionsMap entry, all for the given principalId
 void save(String principalId, String optionId, String optionValue)
           
 void save(UserOptions userOptions)
           
 void saveRefreshUserOption(String principalId)
           
 void setReloadActionListDAO(ReloadActionListDAO rald)
           
 void setUserOptionsDAO(UserOptionsDAO optionsDAO)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userOptionsDAO

private UserOptionsDAO userOptionsDAO

reloadActionListDAO

private ReloadActionListDAO reloadActionListDAO

defaultProperties

private static final Properties defaultProperties
Constructor Detail

UserOptionsServiceImpl

public UserOptionsServiceImpl()
Method Detail

getNewOptionIdForActionList

private Long getNewOptionIdForActionList()

findByUserQualified

public List<UserOptions> findByUserQualified(String principalId,
                                             String likeString)
Specified by:
findByUserQualified in interface UserOptionsService

findByOptionId

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

findByOptionValue

public Collection<UserOptions> findByOptionValue(String optionId,
                                                 String optionValue)
Specified by:
findByOptionValue in interface UserOptionsService

findByWorkflowUser

public Collection<UserOptions> findByWorkflowUser(String principalId)
Specified by:
findByWorkflowUser in interface UserOptionsService

save

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

save

public void save(String principalId,
                 Map<String,String> optionsMap)
This overridden method saves an option for each optionsMap entry, all for the given principalId

Specified by:
save in interface UserOptionsService
See Also:
UserOptionsService.save(java.lang.String, java.util.Map)

deleteUserOptions

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

save

public void save(String principalId,
                 String optionId,
                 String optionValue)
Specified by:
save in interface UserOptionsService

refreshActionList

public boolean refreshActionList(String principalId)
Specified by:
refreshActionList in interface UserOptionsService

saveRefreshUserOption

public void saveRefreshUserOption(String principalId)
Specified by:
saveRefreshUserOption in interface UserOptionsService

getUserOptionsDAO

public UserOptionsDAO getUserOptionsDAO()

setUserOptionsDAO

public void setUserOptionsDAO(UserOptionsDAO optionsDAO)

getReloadActionListDAO

public ReloadActionListDAO getReloadActionListDAO()
Returns:
the reloadActionListDAO

setReloadActionListDAO

public void setReloadActionListDAO(ReloadActionListDAO rald)


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