1 package org.kuali.ole.describe.controller;
2
3 import org.kuali.ole.OLEConstants;
4 import org.kuali.rice.core.api.resourceloader.GlobalResourceLoader;
5 import org.kuali.rice.krad.maintenance.MaintenanceDocument;
6 import org.kuali.rice.krad.maintenance.MaintenanceUtils;
7 import org.kuali.rice.krad.service.MaintenanceDocumentService;
8 import org.kuali.rice.krad.web.controller.MaintenanceDocumentController;
9 import org.kuali.rice.krad.web.form.MaintenanceDocumentForm;
10 import org.springframework.stereotype.Controller;
11 import org.springframework.validation.BindingResult;
12 import org.springframework.web.bind.annotation.ModelAttribute;
13 import org.springframework.web.bind.annotation.RequestMapping;
14 import org.springframework.web.servlet.ModelAndView;
15
16 import javax.servlet.http.HttpServletRequest;
17 import javax.servlet.http.HttpServletResponse;
18
19
20
21
22
23
24
25
26 @Controller
27 @RequestMapping(value = "/userPreferences")
28 public class OleUserPreferencesController
29 extends MaintenanceDocumentController {
30 private static final org.apache.log4j.Logger LOG = org.apache.log4j.Logger
31 .getLogger(OleUserPreferencesController.class);
32
33
34
35
36
37
38 @Override
39 protected MaintenanceDocumentService getMaintenanceDocumentService() {
40 return GlobalResourceLoader.getService(OLEConstants.OleUserPreferences.USER_PREF_MAINTENANCE_DOC_SERVICE);
41 }
42
43 }