All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.Conf.Client.ConferenceClient

java.lang.Object
   |
   +----Acme.Conf.Conference
           |
           +----Acme.Conf.Client.ConferenceClient

public class ConferenceClient
extends Conference
Client side of a conference.

Fetch the software.
Fetch the entire Acme package.


Constructor Index

 o ConferenceClient()

Method Index

 o addConferenceUser(Session, User)
Add a user to the conference's ulist.
 o addHost(Session, User)
Add a host to the conference.
 o addTopic(Session, String, String, String)
Add a new topic, including response zero.
 o getFirstTopicNumber()
The first topic number.
 o getLastTopicNumber()
The last topic number.
 o getLogin()
The login message.
 o getLongDesc()
A paragraph about the conference.
 o getNumTopics()
The number of topics in the conference.
 o getShortDesc()
A one-line description of the conference.
 o getTopic(int)
Get a topic by its topic number in this conference.
 o getUrl()
The conference's url.
 o isHost(User)
Check whether a user is a host of this conference.
 o isMember(User)
Check whether a user is a member of this conference.
 o linkTopic(Session, Topic)
Link in an existing topic.
 o rmConferenceUser(Session, User)
Remove a user from the conference's ulist.
 o rmHost(Session, User)
Remove a host from the conference.
 o rmTopic(Session, int)
Remove a topic from the conference.
 o setLogin(Session, String)
Set the conference's login message.
 o setLongDesc(Session, String)
Set the paragraph about the conference.
 o setPublic(Session, boolean)
Set the public/private status of a conference.
 o setShortDesc(Session, String)
Set the one-line description of the conference.
 o setUrl(Session, String)
Set the conference's URL.

Constructors

 o ConferenceClient
 protected ConferenceClient()

Methods

 o getShortDesc
 public String getShortDesc()
A one-line description of the conference.

Overrides:
getShortDesc in class Conference
 o getLongDesc
 public String getLongDesc()
A paragraph about the conference.

Overrides:
getLongDesc in class Conference
 o getLogin
 public String getLogin()
The login message. Shown upon entering the conference.

Overrides:
getLogin in class Conference
 o getUrl
 public String getUrl()
The conference's url.

Overrides:
getUrl in class Conference
 o getNumTopics
 public int getNumTopics()
The number of topics in the conference.

Overrides:
getNumTopics in class Conference
 o getFirstTopicNumber
 public int getFirstTopicNumber()
The first topic number.

Overrides:
getFirstTopicNumber in class Conference
 o getLastTopicNumber
 public int getLastTopicNumber()
The last topic number.

Overrides:
getLastTopicNumber in class Conference
 o getTopic
 public Topic getTopic(int n)
Get a topic by its topic number in this conference.

Overrides:
getTopic in class Conference
 o isHost
 public boolean isHost(User user)
Check whether a user is a host of this conference.

Overrides:
isHost in class Conference
 o isMember
 public boolean isMember(User user)
Check whether a user is a member of this conference. If the conference is public, i.e. it has no ulist, then all users are members.

Overrides:
isMember in class Conference
 o addTopic
 public int addTopic(Session session,
                     String title,
                     String pseud,
                     String text)
Add a new topic, including response zero.

If the conference is empty, then only a host may do this.

Overrides:
addTopic in class Conference
 o linkTopic
 public int linkTopic(Session session,
                      Topic topic)
Link in an existing topic.

Only a host may do this.

Overrides:
linkTopic in class Conference
 o rmTopic
 public void rmTopic(Session session,
                     int topicNumber)
Remove a topic from the conference. It may continue to exist in other conferences.

Only a host may do this; or, the topic creator may do it, if no one else has posted there yet.

Overrides:
rmTopic in class Conference
 o setShortDesc
 public void setShortDesc(Session session,
                          String shortDesc)
Set the one-line description of the conference.

Only a host may do this.

Overrides:
setShortDesc in class Conference
 o setLongDesc
 public void setLongDesc(Session session,
                         String longDesc)
Set the paragraph about the conference.

Only a host may do this.

Overrides:
setLongDesc in class Conference
 o setLogin
 public void setLogin(Session session,
                      String login)
Set the conference's login message.

Only a host may do this.

Overrides:
setLogin in class Conference
 o setUrl
 public void setUrl(Session session,
                    String url)
Set the conference's URL.

Only a host may do this.

Overrides:
setUrl in class Conference
 o addConferenceUser
 public void addConferenceUser(Session session,
                               User user)
Add a user to the conference's ulist.

Only a host may do this.

Overrides:
addConferenceUser in class Conference
 o rmConferenceUser
 public void rmConferenceUser(Session session,
                              User user)
Remove a user from the conference's ulist.

Only a host may do this.

Overrides:
rmConferenceUser in class Conference
 o setPublic
 public void setPublic(Session session,
                       boolean flag)
Set the public/private status of a conference.

Only a manager may do this.

Overrides:
setPublic in class Conference
 o addHost
 public void addHost(Session session,
                     User user)
Add a host to the conference.

Only a manager may do this.

Overrides:
addHost in class Conference
 o rmHost
 public void rmHost(Session session,
                    User user)
Remove a host from the conference.

Only a manager may do this.

Overrides:
rmHost in class Conference

All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs