View Javadoc

1   /* ===================================================================
2    * Copyright 2002-04 SRI International.
3    * Released under the MOZILLA PUBLIC LICENSE Version 1.1
4    * which can be obtained at http://www.mozilla.org/MPL/MPL-1.1.html
5    * This software is distributed on an "AS IS"
6    * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
7    * See the License for the specific language governing rights and
8    * limitations under the License.
9    * =================================================================== */
10  package com.sri.common.controller;
11  
12  import com.jcorporate.expresso.core.controller.ControllerException;
13  import com.jcorporate.expresso.core.controller.ControllerRequest;
14  import com.jcorporate.expresso.core.controller.ControllerResponse;
15  
16  
17  /***
18   * Provide contract method for adding common footer to all pages.
19   *
20   * @author Larry Hamel
21   */
22  public interface IFooterStateHandler {
23  
24      /***
25       * A special state call will execute this state.
26       *
27       * @param request  the <code>ControllerRequest</code> object
28       * @param response the <code>ControllerResponse</code> object
29       * @throws ControllerException upon error
30       */
31      void runFooterState(ControllerRequest request, ControllerResponse response) throws ControllerException;
32  }