01: package com.sun.portal.sample.j2ee.poll.ejb;
02:
03: import javax.ejb.*;
04:
05: /**
06: * Created Apr 10, 2003 5:45:15 PM
07: * Code generated by the Sun ONE Studio EJB Builder
08: * @author ms109488
09: */
10:
11: public interface Poll extends javax.ejb.EJBObject {
12:
13: public java.util.List getResults(java.lang.String pollName)
14: throws java.rmi.RemoteException;
15:
16: public java.util.List vote(java.lang.String pollName,
17: java.lang.String choice) throws java.rmi.RemoteException;
18:
19: public java.util.List changeVote(java.lang.String pollName,
20: java.lang.String oldChoice, java.lang.String newChoice)
21: throws java.rmi.RemoteException;
22:
23: public java.util.List getChoices(java.lang.String pollName)
24: throws java.rmi.RemoteException;
25:
26: public java.lang.String getQuestion(java.lang.String pollName)
27: throws java.rmi.RemoteException;
28:
29: }
|