KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > communication > sms > model > Messages


1 /**
2  * Copyright 2001-2004 The eXo platform SARL All rights reserved.
3  * Please look at license.txt in info directory for more license detail.
4  **/

5 package org.exoplatform.services.communication.sms.model;
6
7 import java.util.Iterator JavaDoc;
8
9 /**
10  * @author Ove Ranheim (oranheim@yahoo.no)
11  * @since Jun 17, 2004 4:10:47 PM
12  */

13 public interface Messages {
14
15     public LogonStatus getLogonStatus();
16     
17     public void setLogonStatus(LogonStatus logonStatus);
18     
19     public String JavaDoc getEncoding();
20
21     public void setEncoding(String JavaDoc encoding);
22
23     public String JavaDoc getReason();
24     
25     public void setReason(String JavaDoc reason);
26     
27     public boolean hasErrorOccured();
28
29     public void errorOccured();
30     
31     public Iterator JavaDoc iterator();
32
33     public Message getMessage(int index);
34
35     public Message addMessage();
36
37     public Message addMessage(Message message);
38
39     public void removeMessage(Message message);
40
41     public Message findMessageById(Integer JavaDoc id);
42     
43     public int count();
44
45     public void clear();
46
47 }
Popular Tags