KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > jpivot > table > PartBuilder


1 /*
2  * ====================================================================
3  * This software is subject to the terms of the Common Public License
4  * Agreement, available at the following URL:
5  * http://www.opensource.org/licenses/cpl.html .
6  * Copyright (C) 2003-2004 TONBELLER AG.
7  * All Rights Reserved.
8  * You must accept the terms of that agreement to use this software.
9  * ====================================================================
10  *
11  *
12  */

13 package com.tonbeller.jpivot.table;
14
15 import javax.servlet.http.HttpSession JavaDoc;
16
17 import com.tonbeller.jpivot.ui.Available;
18 import com.tonbeller.wcf.bookmarks.Bookmarkable;
19 import com.tonbeller.wcf.controller.RequestContext;
20
21 /**
22  * Builds a part of the table
23  *
24  * @author av
25  */

26 public interface PartBuilder extends Bookmarkable, Available {
27
28   /**
29    * deferred ctor, called once after creation
30    */

31   void initialize(RequestContext context, TableComponent table) throws Exception JavaDoc;
32   
33   /**
34    * destructor, called once after session timeout
35    * @param session
36    */

37   void destroy(HttpSession JavaDoc session) throws Exception JavaDoc;
38
39   /**
40    * called before the DOM is built after the TableRenderer has been fully initialized
41    */

42   void startBuild(RequestContext context);
43
44   /**
45    * called after the DOM has been built.
46    */

47   void stopBuild();
48   
49   /**
50    * true, if the current olapModel supports all extensions that are required
51    * by this partBuilder. If false, a GUI will not show related items.
52    */

53   boolean isAvailable();
54 }
55
Popular Tags