All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.Conf.Client.TopicClient

java.lang.Object
   |
   +----Acme.Conf.Topic
           |
           +----Acme.Conf.Client.TopicClient

public class TopicClient
extends Topic
Client side of a conferencing topic.

Fetch the software.
Fetch the entire Acme package.


Constructor Index

 o TopicClient()

Method Index

 o addResponse(Session, String, String)
Add a new response to the topic.
 o freeze(Session)
Freeze this topic.
 o getCreator()
The user who created this topic
 o getDate()
The date this topic was created.
 o getLastResponseNumber()
The last response number.
 o getResponse(int)
Get a response by number.
 o getTitle()
The topic's title.
 o isFrozen()
Whether the topic is frozen.
 o isRetired()
Whether the topic is retired.
 o retire(Session)
Retire this topic.
 o unfreeze(Session)
Unfreeze this topic.
 o unretire(Session)
Unretire this topic.

Constructors

 o TopicClient
 protected TopicClient()

Methods

 o getDate
 public long getDate()
The date this topic was created.

Overrides:
getDate in class Topic
 o getCreator
 public User getCreator()
The user who created this topic

Overrides:
getCreator in class Topic
 o getTitle
 public String getTitle()
The topic's title.

Overrides:
getTitle in class Topic
 o getLastResponseNumber
 public int getLastResponseNumber()
The last response number. Response numbers always start at zero and there are no gaps.

Overrides:
getLastResponseNumber in class Topic
 o getResponse
 public Response getResponse(int n)
Get a response by number.

Overrides:
getResponse in class Topic
 o isRetired
 public boolean isRetired()
Whether the topic is retired. Retired topics are generally not shown.

Overrides:
isRetired in class Topic
 o isFrozen
 public boolean isFrozen()
Whether the topic is frozen. Frozen topics may not have new responses added.

Overrides:
isFrozen in class Topic
 o retire
 public void retire(Session session)
Retire this topic.

Only a host or the topic creator may do this.

Overrides:
retire in class Topic
 o unretire
 public void unretire(Session session)
Unretire this topic.

Only a host or the topic creator may do this.

Overrides:
unretire in class Topic
 o freeze
 public void freeze(Session session)
Freeze this topic.

Only a host or the topic creator may do this.

Overrides:
freeze in class Topic
 o unfreeze
 public void unfreeze(Session session)
Unfreeze this topic.

Only a host or the topic creator may do this.

Overrides:
unfreeze in class Topic
 o addResponse
 public int addResponse(Session session,
                        String pseud,
                        String text)
Add a new response to the topic. If the pseud is null then the user's real name is used.

Note that there is no method for linking an existing response. Unlike topics, which can be in multiple conferences, responses can be in only one topic.

Overrides:
addResponse in class Topic

All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs