@Controller @RequestMapping(value="/people") public class PeopleController extends Object
| Constructor and Description |
|---|
PeopleController() |
| Modifier and Type | Method and Description |
|---|---|
Properties |
getDirectoryProperties() |
String |
getGroupDetails(org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request,
String hashedDisplayName) |
String |
getGroupMembers(org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request,
String hashedDisplayName) |
void |
getImage(String imageKeyHash,
org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
DirectoryService |
getPeopleService() |
String |
getUserDetails(org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request,
String userNameHash) |
String |
index(org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request) |
String |
postSearchForm(org.springframework.ui.Model uiModel,
SearchCriteria search,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request) |
String |
postSimpleSearch(org.springframework.ui.Model uiModel,
SearchCriteria search,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request) |
void |
setDirectoryProperties(Properties directoryProperties) |
void |
setPeopleService(DirectoryService peopleService) |
String |
viewSearchForm(org.springframework.ui.Model uiModel) |
public PeopleController()
@RequestMapping(method=GET) public String index(org.springframework.ui.Model uiModel, javax.servlet.http.HttpServletRequest request)
@RequestMapping(method=POST) public String postSimpleSearch(org.springframework.ui.Model uiModel, @ModelAttribute(value="search") SearchCriteria search, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/advanced",
method=GET)
public String viewSearchForm(org.springframework.ui.Model uiModel)
@RequestMapping(value="/advanced",
method=POST)
public String postSearchForm(org.springframework.ui.Model uiModel,
@ModelAttribute(value="search")
SearchCriteria search,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/{userNameHash}",
method=GET)
public String getUserDetails(org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request,
@PathVariable(value="userNameHash")
String userNameHash)
@RequestMapping(value="/group/{hashedDN}",
method=GET)
public String getGroupDetails(org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request,
@PathVariable(value="hashedDN")
String hashedDisplayName)
@RequestMapping(value="/group/groupmembers/{hashedDN}",
method=GET)
public String getGroupMembers(org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request,
@PathVariable(value="hashedDN")
String hashedDisplayName)
@RequestMapping(value="/image/{hash}",
method=GET)
public void getImage(@PathVariable(value="hash")
String imageKeyHash,
org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionpublic void setPeopleService(DirectoryService peopleService)
public Properties getDirectoryProperties()
public void setDirectoryProperties(Properties directoryProperties)
directoryProperties - the directoryProperties to setpublic DirectoryService getPeopleService()
Copyright © 2011-2013 The Kuali Foundation. All Rights Reserved.