|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.schedassist.web.profiles.PublicProfilesBrowseController
@Controller public class PublicProfilesBrowseController
Controller for browsing lists of s.
| Constructor Summary | |
|---|---|
PublicProfilesBrowseController()
|
|
| Method Summary | |
|---|---|
protected String |
buildPageTitleSuffix(int startIndex,
int endIndex)
Create a string appended to the document title, e.g.: "Public Profiles 1 - 10". |
protected void |
populateModel(org.springframework.ui.ModelMap model,
List<PublicProfileId> profileIds,
int startIndex)
Populate the ModelMap with the appropriate information. |
String |
retrieveAdvisorProfiles(org.springframework.ui.ModelMap model,
int startIndex)
|
String |
retrieveAllProfiles(org.springframework.ui.ModelMap model,
int startIndex)
Retrieve profiles between startIndex and (startIndex + resultsPerPage). |
String |
retrieveInstructorProfiles(org.springframework.ui.ModelMap model,
int startIndex)
|
void |
setPublicProfileDao(PublicProfileDao publicProfileDao)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PublicProfilesBrowseController()
| Method Detail |
|---|
public void setPublicProfileDao(PublicProfileDao publicProfileDao)
publicProfileDao - the publicProfileDao to set
@RequestMapping(value="/public/browse.html",
method=GET)
public String retrieveAllProfiles(org.springframework.ui.ModelMap model,
@RequestParam(value="startIndex",required=false,defaultValue="0")
int startIndex)
startIndex - resultsPerPage -
PublicProfile
@RequestMapping(value="/public/advisors.html",
method=GET)
public String retrieveAdvisorProfiles(org.springframework.ui.ModelMap model,
@RequestParam(value="startIndex",required=false,defaultValue="0")
int startIndex)
model -
PublicProfiles
@RequestMapping(value="/public/instructors.html",
method=GET)
public String retrieveInstructorProfiles(org.springframework.ui.ModelMap model,
@RequestParam(value="startIndex",required=false,defaultValue="0")
int startIndex)
model -
PublicProfiles
protected void populateModel(org.springframework.ui.ModelMap model,
List<PublicProfileId> profileIds,
int startIndex)
ModelMap with the appropriate information.
model - profileIds - startIndex -
protected String buildPageTitleSuffix(int startIndex,
int endIndex)
startIndex - endIndex -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||