Package org.kuali.rice.kcb.web.spring
Class UserPreferencesController
java.lang.Object
org.kuali.rice.kcb.web.spring.UserPreferencesController
@RequestMapping("/kcb")
@Controller("prefsController")
public class UserPreferencesController
extends Object
This class is the controller that handles management of various user preferences interfaces (deliver types, user subscriptions, etc).
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected KENIntegrationServiceprotected MessageDelivererRegistryServiceprotected RecipientPreferenceService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.ModelAndViewdisplayDelivererConfigurationForm(javax.servlet.http.HttpServletRequest request) displayDelivererConfigurationForm - obtain information necessary for displaying all possible Deliverer types and forward to the formprotected Collection<String> org.springframework.web.servlet.ModelAndViewsaveDelivererConfiguration(javax.servlet.http.HttpServletRequest request) saveDelivererConfiguration - save deliverer configuration datavoidvoidsetMessageDelivererRegistryService(MessageDelivererRegistryService messageDelivererRegistryService) voidsetRecipientPreferenceService(RecipientPreferenceService userPreferenceService)
-
Field Details
-
recipientPreferenceService
@Autowired @Qualifier("recipientPreferenceService") protected RecipientPreferenceService recipientPreferenceService -
messageDelivererRegistryService
@Autowired @Qualifier("messageDelivererRegistryService") protected MessageDelivererRegistryService messageDelivererRegistryService -
kenIntegrationService
@Autowired @Qualifier("kenIntegrationService") protected KENIntegrationService kenIntegrationService
-
-
Constructor Details
-
UserPreferencesController
public UserPreferencesController()
-
-
Method Details
-
getAllChannels
- Returns:
- all channels for Rice, including the builtin KEW action list "channel"
-
displayDelivererConfigurationForm
@RequestMapping("/prefs.kcb") public org.springframework.web.servlet.ModelAndView displayDelivererConfigurationForm(javax.servlet.http.HttpServletRequest request) displayDelivererConfigurationForm - obtain information necessary for displaying all possible Deliverer types and forward to the form -
saveDelivererConfiguration
@RequestMapping("/saveprefs.kcb") public org.springframework.web.servlet.ModelAndView saveDelivererConfiguration(javax.servlet.http.HttpServletRequest request) saveDelivererConfiguration - save deliverer configuration data -
getRecipientPreferenceService
-
getMessageDelivererRegistryService
-
getKenIntegrationService
-
setRecipientPreferenceService
-
setMessageDelivererRegistryService
public void setMessageDelivererRegistryService(MessageDelivererRegistryService messageDelivererRegistryService) -
setKenIntegrationService
-