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.
-
TopicClient()
-
-
addResponse(Session, String, String)
- Add a new response to the topic.
-
freeze(Session)
- Freeze this topic.
-
getCreator()
- The user who created this topic
-
getDate()
- The date this topic was created.
-
getLastResponseNumber()
- The last response number.
-
getResponse(int)
- Get a response by number.
-
getTitle()
- The topic's title.
-
isFrozen()
- Whether the topic is frozen.
-
isRetired()
- Whether the topic is retired.
-
retire(Session)
- Retire this topic.
-
unfreeze(Session)
- Unfreeze this topic.
-
unretire(Session)
- Unretire this topic.
TopicClient
protected TopicClient()
getDate
public long getDate()
- The date this topic was created.
- Overrides:
- getDate in class Topic
getCreator
public User getCreator()
- The user who created this topic
- Overrides:
- getCreator in class Topic
getTitle
public String getTitle()
- The topic's title.
- Overrides:
- getTitle in class Topic
getLastResponseNumber
public int getLastResponseNumber()
- The last response number. Response numbers always start at
zero and there are no gaps.
- Overrides:
- getLastResponseNumber in class Topic
getResponse
public Response getResponse(int n)
- Get a response by number.
- Overrides:
- getResponse in class Topic
isRetired
public boolean isRetired()
- Whether the topic is retired.
Retired topics are generally not shown.
- Overrides:
- isRetired in class Topic
isFrozen
public boolean isFrozen()
- Whether the topic is frozen.
Frozen topics may not have new responses added.
- Overrides:
- isFrozen in class Topic
retire
public void retire(Session session)
- Retire this topic.
Only a host or the topic creator may do this.
- Overrides:
- retire in class Topic
unretire
public void unretire(Session session)
- Unretire this topic.
Only a host or the topic creator may do this.
- Overrides:
- unretire in class Topic
freeze
public void freeze(Session session)
- Freeze this topic.
Only a host or the topic creator may do this.
- Overrides:
- freeze in class Topic
unfreeze
public void unfreeze(Session session)
- Unfreeze this topic.
Only a host or the topic creator may do this.
- Overrides:
- unfreeze in class Topic
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