@Controller @RequestMapping(value="/library") public class LibraryControllerImpl extends Object
Constructor and Description |
---|
LibraryControllerImpl() |
Modifier and Type | Method and Description |
---|---|
String |
editHour(javax.servlet.http.HttpServletRequest request,
String userAgent,
int libraryId,
org.springframework.ui.Model uiModel)
Admin page to edit the hours
|
String |
editLibraryContactDetails(javax.servlet.http.HttpServletRequest request,
String userAgent,
int libraryId,
org.springframework.ui.Model uiModel) |
String |
editLibraryContactDetailsSubmit(javax.servlet.http.HttpServletRequest request,
String userAgent,
long libraryId,
String telephone,
String fax,
String generalInfoDesk,
String email,
String postalAddress,
String physicalAddress,
String latitude,
String longitude,
org.springframework.ui.Model uiModel)
Invoked when the user submits the form to edit the contact details of a library
|
String |
index(javax.servlet.http.HttpServletRequest request,
String userAgent,
org.springframework.ui.Model uiModel) |
String |
saveHours(javax.servlet.http.HttpServletRequest request,
String userAgent,
org.springframework.ui.Model uiModel) |
void |
setService(LibraryService service)
Sets the reference to the
LibraryService |
String |
viewContactDetail(javax.servlet.http.HttpServletRequest request,
String userAgent,
int libraryId,
org.springframework.ui.Model uiModel) |
String |
viewDetails(javax.servlet.http.HttpServletRequest request,
String userAgent,
org.springframework.ui.Model uiModel) |
String |
viewHours(javax.servlet.http.HttpServletRequest request,
String userAgent,
int libraryId,
org.springframework.ui.Model uiModel) |
String |
viewLibraryHours(javax.servlet.http.HttpServletRequest request,
String userAgent,
org.springframework.ui.Model uiModel) |
public LibraryControllerImpl()
public void setService(LibraryService service)
LibraryService
@RequestMapping(method=GET) public String index(javax.servlet.http.HttpServletRequest request, @RequestHeader(required=false,value="User-Agent",defaultValue="unknown") String userAgent, org.springframework.ui.Model uiModel)
@RequestMapping(value="/selectLibraryDetails", method=GET) public String viewDetails(javax.servlet.http.HttpServletRequest request, @RequestHeader(required=false,value="User-Agent",defaultValue="unknown") String userAgent, org.springframework.ui.Model uiModel)
@RequestMapping(value="/viewContactDetails", method=GET) public String viewContactDetail(javax.servlet.http.HttpServletRequest request, @RequestHeader(required=false,value="User-Agent",defaultValue="unknown") String userAgent, @RequestParam(value="libraryId",required=true) int libraryId, org.springframework.ui.Model uiModel)
@RequestMapping(value="/editLibraryContactDetails", method=GET) public String editLibraryContactDetails(javax.servlet.http.HttpServletRequest request, @RequestHeader(required=false,value="User-Agent",defaultValue="unknown") String userAgent, @RequestParam(value="libraryId",required=true) int libraryId, org.springframework.ui.Model uiModel)
@RequestMapping(value="/editLibraryContactDetailsSubmit", method=POST) public String editLibraryContactDetailsSubmit(javax.servlet.http.HttpServletRequest request, @RequestHeader(required=false,value="User-Agent",defaultValue="unknown") String userAgent, @RequestParam(value="libraryId") long libraryId, @RequestParam(value="telephone") String telephone, @RequestParam(value="fax") String fax, @RequestParam(value="generalInfoDesk") String generalInfoDesk, @RequestParam(value="email") String email, @RequestParam(value="postalAddress") String postalAddress, @RequestParam(value="physicalAddress") String physicalAddress, @RequestParam(value="latitude") String latitude, @RequestParam(value="longitude") String longitude, org.springframework.ui.Model uiModel)
@RequestMapping(value="/viewLibraryHours", method=GET) public String viewLibraryHours(javax.servlet.http.HttpServletRequest request, @RequestHeader(required=false,value="User-Agent",defaultValue="unknown") String userAgent, org.springframework.ui.Model uiModel)
@RequestMapping(value="/viewHours", method=GET) public String viewHours(javax.servlet.http.HttpServletRequest request, @RequestHeader(required=false,value="User-Agent",defaultValue="unknown") String userAgent, @RequestParam(value="libraryId",required=true) int libraryId, org.springframework.ui.Model uiModel)
@RequestMapping(value="/editLibraryHours", method=GET) public String editHour(javax.servlet.http.HttpServletRequest request, @RequestHeader(required=false,value="User-Agent",defaultValue="unknown") String userAgent, @RequestParam(value="libraryId",required=true) int libraryId, org.springframework.ui.Model uiModel)
Copyright © 2011-2013 The Kuali Foundation. All Rights Reserved.