kom.gateway
Class Build.KOMcategory

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--kom.gateway.KomData
                    |
                    +--kom.gateway.Build.KOMsub
                          |
                          +--kom.gateway.Build.KOMcategory
Enclosing class:
Build

public class Build.KOMcategory
extends Build.KOMsub

Category object

See Also:
Serialized Form

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.KOMcategory()
          Default constructor
(package private) Build.KOMcategory(java.lang.String ref, java.lang.String cont)
          Constructor
 
Method Summary
private  void dispcont(int newsize)
          Displays contents of the category.
private  void dispcreate(java.lang.String what)
          Displays a form for forum/chat creation
 void dispmenu()
          Displays a category menu
 void normal()
          Shows a category page
 void publish(java.lang.String orig)
          Adds category object to database
 
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
, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

Build.KOMcategory

Build.KOMcategory()
Default constructor

Build.KOMcategory

Build.KOMcategory(java.lang.String ref,
                  java.lang.String cont)
Constructor
Parameters:
ref - Category id or null
cont - String representation or null
Method Detail

publish

public void publish(java.lang.String orig)
Adds category object to database
Overrides:
publish in class Build.KOMsub
Parameters:
orig - Original object id (modify if same as current id)

dispmenu

public void dispmenu()
Displays a category menu

normal

public void normal()
Shows a category page
Overrides:
normal in class KomData

dispcreate

private void dispcreate(java.lang.String what)
Displays a form for forum/chat creation

dispcont

private void dispcont(int newsize)
Displays contents of the category.
Parameters:
newsize - 0 when called normally, > 0 if size is to be reduced.