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.
-
ConferenceClient()
-
-
addConferenceUser(Session, User)
- Add a user to the conference's ulist.
-
addHost(Session, User)
- Add a host to the conference.
-
addTopic(Session, String, String, String)
- Add a new topic, including response zero.
-
getFirstTopicNumber()
- The first topic number.
-
getLastTopicNumber()
- The last topic number.
-
getLogin()
- The login message.
-
getLongDesc()
- A paragraph about the conference.
-
getNumTopics()
- The number of topics in the conference.
-
getShortDesc()
- A one-line description of the conference.
-
getTopic(int)
- Get a topic by its topic number in this conference.
-
getUrl()
- The conference's url.
-
isHost(User)
- Check whether a user is a host of this conference.
-
isMember(User)
- Check whether a user is a member of this conference.
-
linkTopic(Session, Topic)
- Link in an existing topic.
-
rmConferenceUser(Session, User)
- Remove a user from the conference's ulist.
-
rmHost(Session, User)
- Remove a host from the conference.
-
rmTopic(Session, int)
- Remove a topic from the conference.
-
setLogin(Session, String)
- Set the conference's login message.
-
setLongDesc(Session, String)
- Set the paragraph about the conference.
-
setPublic(Session, boolean)
- Set the public/private status of a conference.
-
setShortDesc(Session, String)
- Set the one-line description of the conference.
-
setUrl(Session, String)
- Set the conference's URL.
ConferenceClient
protected ConferenceClient()
getShortDesc
public String getShortDesc()
- A one-line description of the conference.
- Overrides:
- getShortDesc in class Conference
getLongDesc
public String getLongDesc()
- A paragraph about the conference.
- Overrides:
- getLongDesc in class Conference
getLogin
public String getLogin()
- The login message. Shown upon entering the conference.
- Overrides:
- getLogin in class Conference
getUrl
public String getUrl()
- The conference's url.
- Overrides:
- getUrl in class Conference
getNumTopics
public int getNumTopics()
- The number of topics in the conference.
- Overrides:
- getNumTopics in class Conference
getFirstTopicNumber
public int getFirstTopicNumber()
- The first topic number.
- Overrides:
- getFirstTopicNumber in class Conference
getLastTopicNumber
public int getLastTopicNumber()
- The last topic number.
- Overrides:
- getLastTopicNumber in class Conference
getTopic
public Topic getTopic(int n)
- Get a topic by its topic number in this conference.
- Overrides:
- getTopic in class Conference
isHost
public boolean isHost(User user)
- Check whether a user is a host of this conference.
- Overrides:
- isHost in class Conference
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
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
linkTopic
public int linkTopic(Session session,
Topic topic)
- Link in an existing topic.
Only a host may do this.
- Overrides:
- linkTopic in class Conference
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
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
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
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
setUrl
public void setUrl(Session session,
String url)
- Set the conference's URL.
Only a host may do this.
- Overrides:
- setUrl in class Conference
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
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
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
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
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