org.jasig.schedassist.web.profiles
Class PublicProfileController

java.lang.Object
  extended by 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

Constructor Summary
PublicProfileController()
           
 
Method Summary
 String retrieveProfile(org.springframework.ui.ModelMap model, String profileKey)
          Retrieve the PublicProfile for the profileKey argument, returning the appropriate view if found.
 void setPublicProfileDao(PublicProfileDao publicProfileDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicProfileController

public PublicProfileController()
Method Detail

setPublicProfileDao

public void setPublicProfileDao(PublicProfileDao publicProfileDao)
Parameters:
publicProfileDao - the publicProfileDao to set

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.