|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.mmbase.module.core.MMTable
|
+--org.mmbase.module.core.MMObjectBuilder
|
+--org.mmbase.module.corebuilders.InsRel
|
+--org.mmbase.module.builders.AnnotRel
| Field Summary | |
static int |
HOURS
|
static int |
MILLIS
|
static int |
MINUTES
|
static int |
SECONDS
|
| Fields inherited from class org.mmbase.module.corebuilders.InsRel |
relnumber, usesdir |
| Fields inherited from class org.mmbase.module.core.MMObjectBuilder |
broadcastChanges, database, DEFAULT_ALINEA, DEFAULT_EOL, description, descriptions, fields, nodeCache, obj2type, OBJ2TYPE_MAX_SIZE, oType, REPLACE_CACHE, searchAge, sortedDBLayout, TEMPNODE_DEFAULT_SIZE, TemporaryNodes, virtual |
| Fields inherited from class org.mmbase.module.core.MMTable |
mmb, tableName |
| Constructor Summary | |
AnnotRel()
|
|
| Method Summary | |
java.lang.String |
getGUIIndicator(java.lang.String field,
MMObjectNode node)
What should a GUI display for this node/field combo. |
java.lang.Object |
getValue(MMObjectNode node,
java.lang.String field)
Provides additional functionality when obtaining field values. |
boolean |
process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
The hook that passes all form related pages to the correct handler. |
java.lang.String |
replace(scanpage sp,
java.util.StringTokenizer command)
Obtains a string value by performing the provided command. |
void |
setDefaults(MMObjectNode node)
Sets defaults for a node. |
boolean |
setValue(MMObjectNode node,
java.lang.String field)
Provides additional functionality when setting field values. |
| Methods inherited from class org.mmbase.module.corebuilders.InsRel |
deleteRelationCache, deleteRelationCache, getAllRelationsVector, getAllRelationsVector, getGuessedNumber, getGUIIndicator, getRelated, getRelated, getRelated, getRelated, getRelated, getRelated, getRelatedVector, getRelatedVector, getRelation, getRelations, getRelations, getRelations, getRelations, getRelationsVector, getRelationsVector, hasRelations, init, insert, insert, reldefCorrect, removeNode |
| Methods inherited from class org.mmbase.module.core.MMTable |
size |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int HOURS
public static final int MINUTES
public static final int SECONDS
public static final int MILLIS
| Constructor Detail |
public AnnotRel()
| Method Detail |
public void setDefaults(MMObjectNode node)
MILLIS.setDefaults in class InsRelnode - The node to set the defaults of.
public java.lang.String getGUIIndicator(java.lang.String field,
MMObjectNode node)
getGUIIndicator in class InsRelnode - The node to displayfield - the name field of the field to displayString, null if not specified
public boolean process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
sp - The scanpagecommand - the command to executecmds - the commands (PRC-CMD) to processvars - variables (PRC-VAR) to useString
public java.lang.String replace(scanpage sp,
java.util.StringTokenizer command)
replace in class MMObjectBuildersp - The scanpagetok - the command to executeString
public boolean setValue(MMObjectNode node,
java.lang.String field)
setValue in class MMObjectBuildernode - the node whose fields are changedfield - the fieldname that is changedtrue if the call was handled.
public java.lang.Object getValue(MMObjectNode node,
java.lang.String field)
MMObjectBuilderMMObjectBuilder.executeFunction(org.mmbase.module.core.MMObjectNode, java.lang.String, java.util.List) method to handle it.
Functions in fieldnames can be given in the format 'functionname(fieldname)'. An old format allows 'functionname_fieldname' instead,
though this only applies to the text functions 'short', 'html', and 'wap'.
Functions can be nested, i.e. 'html(shorted(body))'.
Derived builders should override this method only if they want to provide virtual fieldnames. To provide addiitonal functions,
override MMObjectBuilder.executeFunction(org.mmbase.module.core.MMObjectNode, java.lang.String, java.util.List) instead.getValue in class MMObjectBuilderorg.mmbase.module.core.MMObjectBuildernode - the node whos efields are queriesfield - the fieldname that is requested
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||