|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.useroptions.UserOptionsServiceCache
public class UserOptionsServiceCache
This class decorates a UserOptionsService and provides distributed caching for findByOptionId calls, and intelligently clears cache entries on update/delete type calls.
Constructor Summary | |
---|---|
UserOptionsServiceCache()
|
Method Summary | |
---|---|
void |
deleteUserOptions(UserOptions userOptions)
clears any entry in the cache for this option id |
UserOptions |
findByOptionId(String optionId,
String principalId)
Checks the cache for results. |
Collection<UserOptions> |
findByOptionValue(String optionId,
String optionValue)
This overridden method delegates the call. |
List<UserOptions> |
findByUserQualified(String principalId,
String likeString)
This overridden method delegates the call. |
Collection<UserOptions> |
findByWorkflowUser(String principalId)
This overridden method delegates the call. |
boolean |
refreshActionList(String principalId)
This overridden method ... |
void |
save(String principalId,
Map<String,String> optionsMap)
This overridden method ... |
void |
save(String principalId,
String optionId,
String optionValue)
This overridden method ... |
void |
save(UserOptions userOptions)
This overridden method ... |
void |
saveRefreshUserOption(String principalId)
This overridden method ... |
void |
setInnerService(UserOptionsService inner)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserOptionsServiceCache()
Method Detail |
---|
public void deleteUserOptions(UserOptions userOptions)
deleteUserOptions
in interface UserOptionsService
UserOptionsService.deleteUserOptions(org.kuali.rice.kew.useroptions.UserOptions)
public UserOptions findByOptionId(String optionId, String principalId)
findByOptionId
in interface UserOptionsService
UserOptionsService.findByOptionId(java.lang.String, java.lang.String)
public Collection<UserOptions> findByOptionValue(String optionId, String optionValue)
findByOptionValue
in interface UserOptionsService
UserOptionsService.findByOptionValue(java.lang.String, java.lang.String)
public List<UserOptions> findByUserQualified(String principalId, String likeString)
findByUserQualified
in interface UserOptionsService
UserOptionsService.findByUserQualified(java.lang.String, java.lang.String)
public Collection<UserOptions> findByWorkflowUser(String principalId)
findByWorkflowUser
in interface UserOptionsService
UserOptionsService.findByWorkflowUser(java.lang.String)
public boolean refreshActionList(String principalId)
refreshActionList
in interface UserOptionsService
UserOptionsService.refreshActionList(java.lang.String)
public void save(String principalId, Map<String,String> optionsMap)
save
in interface UserOptionsService
UserOptionsService.save(java.lang.String, java.util.Map)
public void save(String principalId, String optionId, String optionValue)
save
in interface UserOptionsService
UserOptionsService.save(java.lang.String, java.lang.String, java.lang.String)
public void save(UserOptions userOptions)
save
in interface UserOptionsService
UserOptionsService.save(org.kuali.rice.kew.useroptions.UserOptions)
public void saveRefreshUserOption(String principalId)
saveRefreshUserOption
in interface UserOptionsService
UserOptionsService.saveRefreshUserOption(java.lang.String)
public void setInnerService(UserOptionsService inner)
inner
- the decorated service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |