|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Dictionary | +--java.util.Hashtable | +--kom.gateway.KomData | +--kom.gateway.Build.KOMsub | +--kom.gateway.Build.KOMmt | +--kom.gateway.Build.KOMthr
Class representing a KOM message thread. The actual thread is realized as an array of KOMmsg objects.
Field Summary | |
(package private) Build.KOMmsg[] |
msgs
Actual thread (message list) |
Fields inherited from class kom.gateway.Build.KOMmt |
mid |
Fields inherited from class kom.gateway.Build.KOMsub |
id,
parent |
Fields inherited from class kom.gateway.KomData |
ADDKEYANY,
ADDKEYFIRST,
ADDKEYLAST |
Fields inherited from class java.util.Hashtable |
count,
ENTRIES,
entrySet,
KEYS,
keySet,
loadFactor,
modCount,
serialVersionUID,
table,
threshold,
values,
VALUES |
Constructor Summary | |
(package private) |
Build.KOMthr()
|
(package private) |
Build.KOMthr(Build.KOMmsg msg)
Creates a KOMthr from a KOMmsg. |
(package private) |
Build.KOMthr(Build.KOMthr thr)
Clone |
(package private) |
Build.KOMthr(java.lang.String ref,
java.lang.String cont)
Constructs object from ref or String representation |
Method Summary | |
void |
addThread(Build.KOMmt msg,
java.lang.String pn)
Adds a message to a thread |
Build.KOMmsg |
asKOMmsg(int n)
Makes a KOMmsg from a KOMthr. |
private void |
displist()
Displays thread TOC (one line per message) |
(package private) void |
dispmenu()
Displays menu for a thread |
private void |
disppart(int part)
Displays a message (a thread part) |
private int |
dispthread()
Displays all messages in the thread |
void |
expand()
Creates msgs array from thread data |
int |
forward(KomData rt,
int pt)
Copies a thread (or a single message) to a (new) recipient. |
Build.KOMmsg[] |
getMsgs()
Gets message array (actual thread) |
private Build.KOMmsg[] |
getThreadArray(java.lang.String id,
Build.KOMactivity act)
Gets a thread (an array of messages) from a newsgroup |
Build.KOMmsg |
getThreadPart(int part)
Gets a KOMmsg from the thread |
Build.KOMmsg |
getThreadPart(java.lang.String part)
Gets a KOMmsg from the thread |
private boolean |
isOpen()
|
private void |
modthr()
Shows form for modifying a thread |
private void |
modthr1(KomData pt)
|
void |
normal()
Shows a message thread (may be just one message) |
Methods inherited from class kom.gateway.Build.KOMmt |
checkUnews,
dispNewsArticle,
getNewsArticle,
getNewsText,
publish,
qlist,
sendList,
showNewsArticle |
Methods inherited from class kom.gateway.Build.KOMsub |
commented,
dispgen,
dispmemb,
establishId,
istype,
mkcont,
putid |
Methods inherited from class kom.gateway.KomData |
add,
create,
debugLog,
display,
disppriv,
errorLog,
get,
getAllData,
getBDATA,
getCDATA,
getData,
getElem,
getKeyList,
getKeys,
getName,
getPDATA,
getStringValues,
getStringVector,
getValues,
init,
isEmpty,
mayput,
put,
put,
putBDATA,
putCDATA,
putData,
putfirst,
putlast,
putPDATA,
putValue,
qput,
remove,
setName,
setValue,
toString |
Methods inherited from class java.util.Hashtable |
clear,
clone,
contains,
containsKey,
containsValue,
elements,
entrySet,
equals,
get,
hashCode,
isEmpty,
keys,
keySet,
put,
putAll,
readObject,
rehash,
remove,
size,
values,
writeObject |
Methods inherited from class java.lang.Object |
|
Field Detail |
Build.KOMmsg[] msgs
Constructor Detail |
Build.KOMthr()
Build.KOMthr(Build.KOMthr thr)
Build.KOMthr(Build.KOMmsg msg)
msg
- An object created as a KOMmsg, to be transmogrifiedBuild.KOMthr(java.lang.String ref, java.lang.String cont)
ref
- Thread id (used for retrieving data from database) or nullcont
- Contents (toString() value), or nullMethod Detail |
private Build.KOMmsg[] getThreadArray(java.lang.String id, Build.KOMactivity act)
id
- Thread idht
- Authentication objectpublic Build.KOMmsg[] getMsgs()
public Build.KOMmsg asKOMmsg(int n)
n
- count of sub-objects, all except the first to be removedpublic void expand()
public void addThread(Build.KOMmt msg, java.lang.String pn)
msg
- Data for a new message in the threadpn
- Part number in threadvoid dispmenu()
public void normal()
private void modthr()
private void modthr1(KomData pt)
private int dispthread()
private boolean isOpen()
private void displist()
private void disppart(int part)
part
- Part number in threadpublic Build.KOMmsg getThreadPart(java.lang.String part)
part
- Part number ("Pnr" value) as Stringpublic Build.KOMmsg getThreadPart(int part)
part
- Part number ("Pnr" value) as intpublic int forward(KomData rt, int pt)
rt
- Recipient datapt
- Part number, 0 if whole thread
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |