org.jasig.schedassist.web.profiles
Class PublicProfileController
java.lang.Object
org.jasig.schedassist.web.profiles.PublicProfileController
@Controller
public class PublicProfileController
- extends Object
Controller implementation that displays a single
PublicProfile identified by the value for it's key
in the URL.
- Version:
- $Id: PublicProfileController.java 2210 2010-06-22 16:08:08Z npblair $
- Author:
- Nicholas Blair, nblair@doit.wisc.edu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PublicProfileController
public PublicProfileController()
setPublicProfileDao
public void setPublicProfileDao(PublicProfileDao publicProfileDao)
- Parameters:
publicProfileDao - the publicProfileDao to set
getPublicProfileDao
public PublicProfileDao getPublicProfileDao()
- Returns:
- the publicProfileDao
retrieveProfile
@RequestMapping(value="/public/profiles/{profileKey}.html",
method=GET)
public String retrieveProfile(org.springframework.ui.ModelMap model,
@PathVariable(value="profileKey")
String profileKey)
- Retrieve the
PublicProfile for the profileKey argument, returning
the appropriate view if found.
- Parameters:
model - profileKey -
- Returns:
- the view name to render the profile, or the owner not found view name
Copyright © 2012 Jasig. All Rights Reserved.