KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > module > sessionsInterface


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

10 package org.mmbase.module;
11
12 import java.util.*;
13
14 import org.mmbase.module.core.MMObjectNode;
15 import org.mmbase.util.*;
16
17 /**
18  * @application SCAN
19  * @rename SessionsInterface
20  * @author vpro
21  * @version $Id: sessionsInterface.java,v 1.6 2004/10/01 08:42:47 pierre Exp $
22  */

23 public interface sessionsInterface {
24     public void init();
25     public sessionInfo getSession(scanpage sp,String JavaDoc session);
26     public String JavaDoc replace(scanpage sp,String JavaDoc session);
27     public String JavaDoc getValue(sessionInfo session,String JavaDoc wanted);
28     public String JavaDoc setValue(sessionInfo session,String JavaDoc key,String JavaDoc value);
29     public void addSetValue(sessionInfo session,String JavaDoc key,String JavaDoc value);
30     public void addSetValues(sessionInfo session,String JavaDoc key,Vector values);
31     public void setValueFromNode(sessionInfo session, MMObjectNode node );
32     public String JavaDoc saveValue(sessionInfo session,String JavaDoc key);
33     public void forgetSession(String JavaDoc key);
34 }
35
Popular Tags