org.jasig.schedassist.web.profiles
Class TaggedPublicProfileController
java.lang.Object
org.jasig.schedassist.web.profiles.TaggedPublicProfileController
@Controller
public class TaggedPublicProfileController
- extends Object
Controller that is backed by PublicProfileDao.getPublicProfileIdsWithTag(String).
The tag argument is a PathVariable.
- Version:
- $Id: TaggedPublicProfileController.java $
- Author:
- Nicholas Blair
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaggedPublicProfileController
public TaggedPublicProfileController()
setPublicProfileDao
public void setPublicProfileDao(PublicProfileDao publicProfileDao)
- Parameters:
publicProfileDao - the publicProfileDao to set
displayProfileIdsByTag
@RequestMapping(value="/public/tags/{tag}",
method=GET)
public String displayProfileIdsByTag(org.springframework.ui.ModelMap model,
@PathVariable(value="tag")
String tag,
@RequestParam(value="startIndex",required=false,defaultValue="0")
int startIndex)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
buildPageTitleSuffix
protected String buildPageTitleSuffix(String tag,
int startIndex,
int endIndex)
- Create a string appended to the document title, e.g.:
"Public Profiles tagged with 'tag' - 1 - 10".
- Parameters:
startIndex - endIndex -
- Returns:
Copyright © 2011 Jasig. All Rights Reserved.