All Packages Class Hierarchy This Package Previous Next Index
Class Acme.Conf.Conference
java.lang.Object
|
+----Acme.Conf.Conference
- public abstract class Conference
- extends Object
A conference.
Conferences are contained in conference groups, and contain topics.
Each conference has some descriptive strings, a URL, a list of hosts who
are authorized to perform maintenance functions, and an optional
list of users authorized to post.
This is an abstract class with separate implementations on the
client and server sides, mirrored via RPC.
Fetch the software.
Fetch the entire Acme package.
- See Also:
- Confgroup, Topic
-
Conference()
-
-
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.
Conference
public Conference()
getShortDesc
public abstract String getShortDesc()
- A one-line description of the conference.
getLongDesc
public abstract String getLongDesc()
- A paragraph about the conference.
getLogin
public abstract String getLogin()
- The login message. Shown upon entering the conference.
getUrl
public abstract String getUrl()
- The conference's url.
getNumTopics
public abstract int getNumTopics()
- The number of topics in the conference.
getFirstTopicNumber
public abstract int getFirstTopicNumber()
- The first topic number.
getLastTopicNumber
public abstract int getLastTopicNumber()
- The last topic number.
getTopic
public abstract Topic getTopic(int n)
- Get a topic by its topic number in this conference.
isHost
public abstract boolean isHost(User user)
- Check whether a user is a host of this conference.
isMember
public abstract 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.
addTopic
public abstract 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.
linkTopic
public abstract int linkTopic(Session session,
Topic topic)
- Link in an existing topic.
Only a host may do this.
rmTopic
public abstract 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.
setShortDesc
public abstract void setShortDesc(Session session,
String shortDesc)
- Set the one-line description of the conference.
Only a host may do this.
setLongDesc
public abstract void setLongDesc(Session session,
String longDesc)
- Set the paragraph about the conference.
Only a host may do this.
setLogin
public abstract void setLogin(Session session,
String login)
- Set the conference's login message.
Only a host may do this.
setUrl
public abstract void setUrl(Session session,
String url)
- Set the conference's URL.
Only a host may do this.
addConferenceUser
public abstract void addConferenceUser(Session session,
User user)
- Add a user to the conference's ulist.
Only a host may do this.
rmConferenceUser
public abstract void rmConferenceUser(Session session,
User user)
- Remove a user from the conference's ulist.
Only a host may do this.
setPublic
public abstract void setPublic(Session session,
boolean flag)
- Set the public/private status of a conference.
Only a manager may do this.
addHost
public abstract void addHost(Session session,
User user)
- Add a host to the conference.
Only a manager may do this.
rmHost
public abstract void rmHost(Session session,
User user)
- Remove a host from the conference.
Only a manager may do this.
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs