KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > slide > projector > Context


1 package org.apache.slide.projector;
2
3 import java.io.IOException JavaDoc;
4 import java.util.List JavaDoc;
5 import java.util.Map JavaDoc;
6
7 import org.apache.commons.httpclient.Credentials;
8
9 public interface Context {
10     /**
11      *
12      *
13      * @param storeId Store ID's are defined in Store interface
14      * @return The store or null if not available in this context
15      */

16     Store getStore(int storeId);
17
18     void setProcessId(String JavaDoc processId);
19     
20     String JavaDoc getProcessId();
21     
22     void setBookmark(URI processor) throws IOException JavaDoc;
23     
24     URI getBookmark() throws IOException JavaDoc;
25     
26     void setProcess(URI process);
27     
28     URI getProcess();
29
30     void setStep(String JavaDoc step);
31     
32     String JavaDoc getStep();
33     
34     void setStepStore(Store store);
35     
36     void setInputParameters(Map JavaDoc map);
37     
38     void setCredentials(Credentials credentials);
39     
40     Credentials getCredentials();
41
42     void addInformation(Information information);
43
44     public List JavaDoc getInformations();
45 }
Popular Tags