kom.gateway
Class Grade
java.lang.Object
|
+--kom.gateway.DBLow
|
+--kom.gateway.DBHigh
|
+--kom.gateway.KOMutil
|
+--kom.gateway.Form
|
+--kom.gateway.Chat
|
+--kom.gateway.Grade
- Direct Known Subclasses:
- News
- public class Grade
- extends Chat
Displays a KOM object, handles the details of the GET operation
Fields inherited from class kom.gateway.Form |
acceptform,
added,
bodytext,
curform,
formcodes,
isHTML,
isVote,
kBase,
kBbody,
kCname,
kCuser,
kDColor,
kFBase,
KFC,
kHColor,
kIcons,
kKFC,
kLColor,
kPboard,
kPcomm,
kPdate,
kPhtml,
kPhtmldef,
kPinterval,
kPnotif,
kPshort,
kPtype,
kServer,
kTarea,
oldOutput,
outputText,
submitted,
substkey |
Fields inherited from class kom.gateway.KOMutil |
ACT,
anyAccess,
arglist,
argsep,
argtab,
attachments,
BOK,
BOUNDARYSTART,
CAT,
CHA,
cidTable,
CLO,
config,
curNgd,
DIC,
environment,
gateway,
gavePassword,
GEN,
GRA,
GRP,
inlineCurr,
inlines,
INT,
LINE_CUTOFF,
LINE_FUDGE,
LIS,
lt,
MAILIT,
messageRecipientTypeCode,
MIM,
MOD,
N_RECTY,
N_RECTYPECODE,
newsclient,
newsClients,
newsData,
nntpAuth,
NWS,
NWSART,
objCache,
oCurr,
oldnews,
POSTIT,
RAT,
REC_BCC,
REC_CC,
REC_TO,
recTypeCode,
REP,
response,
rLoc,
savednews,
sCursor,
servletBase,
session,
THR,
userData,
USR,
VOT |
Method Summary |
void |
catover(KomData ht)
|
(package private) java.util.Vector |
cretab(java.lang.String frm,
java.lang.String key,
KomData ht)
|
void |
fetchGrade(int i,
int last,
KomData thr,
KomData msg,
java.lang.String ratings,
boolean teacher)
|
private void |
fetchRate(int index,
int last,
KomData thr,
KomData msg,
java.lang.String ratings)
|
private void |
getEvaluation(KomData msg,
java.lang.String ratings)
|
private void |
getgrade(java.lang.String grade,
KomData ot,
int[] gr,
java.lang.String frm)
|
boolean |
isTeacher(KomData ht)
|
void |
listover(KomData ht)
|
void |
newGrade(java.lang.String thread,
java.lang.String key,
java.lang.String user,
java.lang.String grade)
|
void |
printRatings(KomData gt,
KomData msg)
|
void |
showcat(KomData ht)
|
private void |
showgrades(KomData ht,
java.util.Vector over,
int[] gr)
|
private void |
shownumbers(int[] gr)
|
void |
showover(KomData ht)
|
private void |
showstud(KomData mt,
java.lang.String key,
java.util.Vector cont,
KomData ht)
|
private void |
showuser(KomData mt,
java.lang.String key,
java.lang.String frm)
|
Methods inherited from class kom.gateway.Chat |
addChat,
chat,
chatFetch,
chatHeader,
chatIndex,
chatInput,
chatList,
chatOut,
chatOutput,
chatStore,
checkEnter,
enter,
isActive,
leave,
leaveChat,
pres,
qchat,
setUser,
transform |
Methods inherited from class kom.gateway.Form |
,
add,
addBody,
addv,
checkHTML,
checkHTTP,
checkTag,
checkVote,
complete,
contains,
dispauth,
dispbody,
dispcheck,
dispname,
dispselect,
disptype,
form,
form,
form,
form,
formsegment,
getAreaResult,
getForm,
getHTML,
getOutputText,
getQryValues,
getResultBox,
getResultText,
getSelect1,
getSelect2,
getSelectResult,
getTag,
getVote,
getVoteArea,
getVoteCheck,
getVoteSelect,
getVoteSubmit,
getVoteTag,
getVoteText,
insertSelect,
makeHTML,
nextmatching,
normalize,
restoreOutput,
saveOutput,
textareaSubst,
transform,
translate,
trbody |
Methods inherited from class kom.gateway.KOMutil |
a,
accessCont,
accessCont,
accessObj,
addInfoData,
addrToLocal,
changeEnvironment,
cidReplace,
contType,
decodeText,
deleted,
dispMailMessage,
doAction,
equal,
excluded,
fetchNews,
findId,
findId,
findlocal,
findLogin,
findOwner,
findUser,
getActId,
getcont,
getcont,
getcontV,
getcontV,
getCurNgd,
getmemb,
getMsgParts,
getMsgText,
getNews,
getNewsAuth,
getobj,
getobject,
getold,
getParent,
getPart,
getSimpleFileName,
getSimpleFileName,
getStream,
getTail,
getTextPart,
getVal,
getVal,
isAllowed,
isarg,
isMember,
isOrganizer,
isOrganizer,
ispunct,
isType,
isValidEmailAddress,
loggedIn,
mailDate,
mailDate,
mimeMessage,
mimeMessageStream,
mkdate,
mkdate,
noQuote,
parseArglist,
parseArgs,
setCids,
setNewsAuth,
setValidMsgPwd,
showBody,
showHeader,
showHeader,
showHeaders,
showInputStream,
showMailMessage,
showMessage,
showMultipart,
toString,
transbody,
urlexpand,
userGavePassword,
userGavePassword,
wrap |
Methods inherited from class kom.gateway.DBHigh |
addContent,
addContent,
addDraft,
addInfo,
addLast,
addMember,
addNews,
addObj,
addObj,
addObject,
addObject,
addQuery,
cleanDrafts,
contentCount,
createNews,
depth,
expungeRef,
findContent,
findDraft,
findDraftData,
findInfo,
findMemb,
findNews,
findObject,
findObject,
findQuery,
getFormContents,
getQryDefault,
getQueries,
getseq,
getStringValues,
getValues,
invalidateCount,
isEmpty,
isStandard,
listDraft,
makeArea,
modObject,
msgExists,
nextDraft,
queryExists,
ref2path,
refExists,
removeDraft,
removeQuery,
replaceObject,
Stream2String,
String2Stream,
StringBuffer2Stream,
updateCount,
updCount,
updref,
updseq |
Methods inherited from class kom.gateway.DBLow |
accessPart,
addFile,
areaExists,
basedRef,
createArea,
debugLog,
errorLog,
expungeFile,
File2Stream,
File2String,
findPart,
getFile,
getFileContents,
getFileStream,
getPath,
getStandard,
isMailSpool,
lastModified,
length,
listFiles,
makePart,
msgPartStream,
partfile,
partpath,
printStackTrace,
readObject,
removeFile,
replaceMime,
updseq1,
validate,
validate,
writeObject |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
Grade
public Grade(ServerConfig config,
HTTPResponse response,
Gateway gateway)
- class constructor
- Parameters:
config
- Server configuration dataresponse
- HTTP response objectgateway
- Reference to client supervisor
newGrade
public void newGrade(java.lang.String thread,
java.lang.String key,
java.lang.String user,
java.lang.String grade)
catover
public void catover(KomData ht)
showcat
public void showcat(KomData ht)
showstud
private void showstud(KomData mt,
java.lang.String key,
java.util.Vector cont,
KomData ht)
showuser
private void showuser(KomData mt,
java.lang.String key,
java.lang.String frm)
listover
public void listover(KomData ht)
showover
public void showover(KomData ht)
isTeacher
public boolean isTeacher(KomData ht)
showgrades
private void showgrades(KomData ht,
java.util.Vector over,
int[] gr)
getgrade
private void getgrade(java.lang.String grade,
KomData ot,
int[] gr,
java.lang.String frm)
shownumbers
private void shownumbers(int[] gr)
cretab
java.util.Vector cretab(java.lang.String frm,
java.lang.String key,
KomData ht)
fetchGrade
public void fetchGrade(int i,
int last,
KomData thr,
KomData msg,
java.lang.String ratings,
boolean teacher)
fetchRate
private void fetchRate(int index,
int last,
KomData thr,
KomData msg,
java.lang.String ratings)
printRatings
public void printRatings(KomData gt,
KomData msg)
getEvaluation
private void getEvaluation(KomData msg,
java.lang.String ratings)