01: package org.columba.chat.model.api;
02:
03: import org.jivesoftware.smack.packet.Presence;
04:
05: public interface IBuddyStatus {
06:
07: /**
08: * @return Returns the jabberId.
09: */
10: public abstract String getJabberId();
11:
12: /**
13: * @return Returns the presenceMode.
14: */
15: public abstract Presence.Mode getPresenceMode();
16:
17: /**
18: * @return Returns the signedOn.
19: */
20: public abstract boolean isSignedOn();
21:
22: /**
23: * @return Returns the statusMessage.
24: */
25: public abstract String getStatusMessage();
26:
27: /**
28: * @return Returns the mediator.
29: */
30: //public abstract IChatMediator getChatMediator();
31: /**
32: * @param mediator The mediator to set.
33: */
34: //public abstract void setChatMediator(IChatMediator mediator);
35: /**
36: * @param presenceMode The presenceMode to set.
37: */
38: public abstract void setPresenceMode(Presence.Mode presenceMode);
39:
40: /**
41: * @param signedOn The signedOn to set.
42: */
43: public abstract void setSignedOn(boolean signedOn);
44:
45: /**
46: * @param statusMessage The statusMessage to set.
47: */
48: public abstract void setStatusMessage(String statusMessage);
49:
50: /**
51: * @return Returns the user.
52: */
53: public abstract String getName();
54:
55: }
|