sample.contact
Class DeleteController

java.lang.Object
  extended by sample.contact.DeleteController
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.web.servlet.mvc.Controller

public class DeleteController
extends Object
implements org.springframework.web.servlet.mvc.Controller, org.springframework.beans.factory.InitializingBean

Controller to delete a contact.

Version:
$Id: DeleteController.java 1496 2006-05-23 13:38:33Z benalex $
Author:
Ben Alex

Constructor Summary
DeleteController()
           
 
Method Summary
 void afterPropertiesSet()
           
 ContactManager getContactManager()
           
 org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void setContactManager(ContactManager contact)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteController

public DeleteController()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

getContactManager

public ContactManager getContactManager()

handleRequest

public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
                                                                  javax.servlet.http.HttpServletResponse response)
                                                           throws javax.servlet.ServletException,
                                                                  IOException
Specified by:
handleRequest in interface org.springframework.web.servlet.mvc.Controller
Throws:
javax.servlet.ServletException
IOException

setContactManager

public void setContactManager(ContactManager contact)


Copyright © 2004-2012 Interface21, Inc. All Rights Reserved.