1 5 package org.exoplatform.services.communication.sms.model; 6 7 import java.util.Iterator ; 8 9 13 public interface Messages { 14 15 public LogonStatus getLogonStatus(); 16 17 public void setLogonStatus(LogonStatus logonStatus); 18 19 public String getEncoding(); 20 21 public void setEncoding(String encoding); 22 23 public String getReason(); 24 25 public void setReason(String reason); 26 27 public boolean hasErrorOccured(); 28 29 public void errorOccured(); 30 31 public Iterator 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 id); 42 43 public int count(); 44 45 public void clear(); 46 47 } | Popular Tags |