| org.mmbase.module.core.MMTable org.mmbase.module.core.MMObjectBuilder org.mmbase.module.corebuilders.InsRel
All known Subclasses: org.mmbase.module.builders.PosRel, org.mmbase.module.builders.AnnotRel,
InsRel | public class InsRel extends MMObjectBuilder (Code) | | InsRel, the main relation object, holds relations, and methods to
handle them. An insrel defines a relation between two objects.
This class can be extended to create insrels that can also hold
extra values and custom methods (named relations for example).
author: Daniel Ockeloen author: Pierre van Rooden version: $Id: InsRel.java,v 1.54 2007/02/11 19:21:12 nklasens Exp $ |
Constructor Summary | |
public | InsRel() |
Method Summary | |
public void | deleteRelationCache() Deletes the Relation cache. | public void | deleteRelationCache(int source) | public Vector<MMObjectNode> | getAllRelationsVector(int source) Get all relation(s) for a MMObjectNode. | public Vector<MMObjectNode> | getAllRelationsVector(int source, int role) Get all relation(s) for a MMObjectNode. | public String | getGUIIndicator(MMObjectNode node) | public String | getGUIIndicator(String field, MMObjectNode node) Get the display string for a given field of this node.
Returns for 'snumber' the name of the source object,
for 'dnumber' the name of the destination object, and
for 'rnumber' the name of the relation definition.
Parameters: field - name of the field to describe. Parameters: node - Node containing the field data. | public int | getGuessedNumber(String name) Search the relation definition table for the identifying number of
a relation, by name. | public Enumeration<MMObjectNode> | getRelated(String sourceNode, String nodeType) get MMObjectNodes related to a specified MMObjectNode
Parameters: sourceNode - this is the source MMObjectNode Parameters: nodeType - Specifies the type of the nodes you want to have e.g. | public Enumeration<MMObjectNode> | getRelated(int source, String nodeType) get MMObjectNodes related to a specified MMObjectNode
Parameters: source - this is the number of the source MMObjectNode Parameters: nodeType - Specifies the type of the nodes you want to have e.g. | public Enumeration<MMObjectNode> | getRelated(int source, int otype) | public Enumeration<MMObjectNode> | getRelated(String sourceNode, String nodeType, String roleName) get MMObjectNodes related to a specified MMObjectNode
Parameters: sourceNode - this is the number of the source MMObjectNode (in string format) Parameters: nodeType - Specifies the type of the nodes you want to have e.g. | public Enumeration<MMObjectNode> | getRelated(int source, String nodeType, String roleName) get MMObjectNodes related to a specified MMObjectNode
Parameters: source - this is the number of the source MMObjectNode Parameters: nodeType - Specifies the type of the nodes you want to have e.g. | public Enumeration<MMObjectNode> | getRelated(int source, int otype, int role) | public Vector<MMObjectNode> | getRelatedVector(int source, int otype) Get MMObjectNodes related to a specified MMObjectNode
Parameters: source - this is the number of the MMObjectNode requesting the relations Parameters: otype - the object type of the nodes you want to have. | public Vector<MMObjectNode> | getRelatedVector(int source, int otype, int role) Get MMObjectNodes related to a specified MMObjectNode
Parameters: source - this is the number of the MMObjectNode requesting the relations Parameters: otype - the object type of the nodes you want to have. | public MMObjectNode | getRelation(int source, int destination, int role) Test whether a relation exists and returns the corresponding node.
Note that this test is strict: it determines whether a relation exists from a source to a destination
with a specific role. | public MMObjectNode | getRelationNode(int source, int destination, int role) Test whether a relation exists and returns the corresponding node.
Note that this test is strict: it determines whether a relation exists from a source to a destination
with a specific role. | public List<MMObjectNode> | getRelationNodes(int source) Get relation(s) for an MMObjectNode, using a specified role (reldef) as a filter.
This function returns all relations based on this role in which the node is either a source, or where the node is
the destination, but the direction is bidirectional.
Parameters: source - Identifying number of the object to find the relations of. | public List<MMObjectNode> | getRelationNodes(int source, int role) Get relation(s) for an MMObjectNode, using a specified role (reldef) as a filter. | public List<MMObjectNode> | getRelationNodes(int source, boolean useDirectionality) Get all relation(s) for an MMObjectNode.
This function returns all relations in which the node is either a source or
the destination.
Parameters: source - Identifying number of the object to find the relations of. Parameters: useDirectionality - if truie , take directionality into account.If false , returns all relations, even if the direction is unidirectional. | public List<MMObjectNode> | getRelationNodes(int source, int role, boolean useDirectionality) Get all relation(s) for a MMObjectNode
This function returns all relations in which the node is either a source or
the destination.
Parameters: source - Identifying number of the object to find the relations of. Parameters: role - The number of the relation definition (role) to filter on, -1 means any role Parameters: useDirectionality - if truie , take directionality into account.If false , returns all relations, even if the direction is unidirectional. | public Enumeration<MMObjectNode> | getRelations(int source) Get relation(s) for a MMObjectNode
Parameters: source - Identifying number of the object to find the relations of. | public Enumeration<MMObjectNode> | getRelations(int source, int role) | public Enumeration<MMObjectNode> | getRelations(int source, int otype, int role) Get relations for a specified MMObjectNode
Parameters: source - this is the number of the MMObjectNode requesting the relations Parameters: otype - the object type of the nodes you want to have. | public Enumeration<MMObjectNode> | getRelations(int source, int otype, int role, boolean usedirectionality) Gets relations for a specified MMObjectNode
Parameters: source - this is the number of the MMObjectNode requesting the relations Parameters: otype - the object type of the nodes you want to have. | public Vector<MMObjectNode> | getRelationsVector(int source) Get relation(s) for a MMObjectNode. | public Vector<MMObjectNode> | getRelationsVector(int source, int role) Get relation(s) for a MMObjectNode, using a specified role. | public boolean | hasRelations(int source) Checks whether any relations exist for a MMObjectNode.
This includes unidirection relations which would otherwise not be counted.
If the query fails to execute, the system will assume that relations exists.
Parameters: source - Identifying number of the object to find the relations of. | public boolean | init() Initializes the builder. | public int | insert(String owner, int source, int destination, int role) Insert a new Instance Relation. | public int | insert(String owner, MMObjectNode node) Insert a new Instance Relation. | public boolean | reldefCorrect(int source, int destination, int role) Checks whether a specific relation exists. | public void | removeNode(MMObjectNode node) Remove a node from the cloud. | public void | setDefaults(MMObjectNode node) Set defaults for a node. |
FIELD_DESTINATION | final public static String FIELD_DESTINATION(Code) | | Name of the field containing the destination object number
|
FIELD_DIR | final public static String FIELD_DIR(Code) | | Name of the field containing the directionality
|
FIELD_DIRECTIONALITY | final public static String FIELD_DIRECTIONALITY(Code) | | Name of the field containing the directionality
|
FIELD_DNUMBER | final public static String FIELD_DNUMBER(Code) | | Name of the field containing the destination object number
|
FIELD_RNUMBER | final public static String FIELD_RNUMBER(Code) | | Name of the field containing the role (reldef) object number
|
FIELD_ROLE | final public static String FIELD_ROLE(Code) | | Name of the field containing the role (reldef) object number
|
FIELD_SNUMBER | final public static String FIELD_SNUMBER(Code) | | Name of the field containing the source object number
|
FIELD_SOURCE | final public static String FIELD_SOURCE(Code) | | Name of the field containing the source object number
|
INSREL_BUILDER | final public static String INSREL_BUILDER(Code) | | Base 'insrel' builder name
|
relnumber | public int relnumber(Code) | | Hold the relnumber to use when creating a node of this builder.
|
usesdir | public static boolean usesdir(Code) | | Indicates whether the relations use the 'dir' field (that is, whether the
field has been defined in the xml file). Used for backward compatibility.
The default is true - the value is set to false if any of the
relation builders does not contain a dir field (a warning is issued).
|
InsRel | public InsRel()(Code) | | needed for autoload
|
deleteRelationCache | public void deleteRelationCache()(Code) | | Deletes the Relation cache.
This is to be called if caching gives problems.
Make sure that you can't use the deleteRelationCache(int source) instead.
|
deleteRelationCache | public void deleteRelationCache(int source)(Code) | | Delete a specified relation from the relationCache
Parameters: source - the number of the relation to remove from the cache |
getGUIIndicator | public String getGUIIndicator(String field, MMObjectNode node)(Code) | | Get the display string for a given field of this node.
Returns for 'snumber' the name of the source object,
for 'dnumber' the name of the destination object, and
for 'rnumber' the name of the relation definition.
Parameters: field - name of the field to describe. Parameters: node - Node containing the field data. A String describing the requested field's content |
getGuessedNumber | public int getGuessedNumber(String name)(Code) | | Search the relation definition table for the identifying number of
a relation, by name.
Success is dependent on the uniqueness of the relation's name (not enforced, so unpredictable).
Parameters: name - The name on which to search for the relation A int value indicating the relation's object number, or -1 if not found. |
getRelated | public Enumeration<MMObjectNode> getRelated(String sourceNode, String nodeType)(Code) | | get MMObjectNodes related to a specified MMObjectNode
Parameters: sourceNode - this is the source MMObjectNode Parameters: nodeType - Specifies the type of the nodes you want to have e.g. "pools" |
getRelated | public Enumeration<MMObjectNode> getRelated(int source, String nodeType)(Code) | | get MMObjectNodes related to a specified MMObjectNode
Parameters: source - this is the number of the source MMObjectNode Parameters: nodeType - Specifies the type of the nodes you want to have e.g. "pools" |
getRelated | public Enumeration<MMObjectNode> getRelated(int source, int otype)(Code) | | Get MMObjectNodes of a specified type related to a specified MMObjectNode
Parameters: source - this is the number of the source MMObjectNode Parameters: otype - the object type of the nodes you want to have An Enumeration of MMObjectNode object related to the source |
getRelated | public Enumeration<MMObjectNode> getRelated(String sourceNode, String nodeType, String roleName)(Code) | | get MMObjectNodes related to a specified MMObjectNode
Parameters: sourceNode - this is the number of the source MMObjectNode (in string format) Parameters: nodeType - Specifies the type of the nodes you want to have e.g. "pools" Parameters: roleName - the role of teh relation (name in reldef) |
getRelated | public Enumeration<MMObjectNode> getRelated(int source, String nodeType, String roleName)(Code) | | get MMObjectNodes related to a specified MMObjectNode
Parameters: source - this is the number of the source MMObjectNode Parameters: nodeType - Specifies the type of the nodes you want to have e.g. "pools" Parameters: roleName - the name of the role of the relation (name in reldef) |
getRelated | public Enumeration<MMObjectNode> getRelated(int source, int otype, int role)(Code) | | Get MMObjectNodes of a specified type related to a specified MMObjectNode
Parameters: source - this is the number of the source MMObjectNode Parameters: otype - the object type of the nodes you want to have Parameters: role - Identifying number of the role (reldef) An Enumeration of MMObjectNode object related to the source |
getRelatedVector | public Vector<MMObjectNode> getRelatedVector(int source, int otype)(Code) | | Get MMObjectNodes related to a specified MMObjectNode
Parameters: source - this is the number of the MMObjectNode requesting the relations Parameters: otype - the object type of the nodes you want to have. -1 means any node. A Vector whose enumeration consists of MMObjectNode object related to the sourceaccording to the specified filter(s). |
getRelatedVector | public Vector<MMObjectNode> getRelatedVector(int source, int otype, int role)(Code) | | Get MMObjectNodes related to a specified MMObjectNode
Parameters: source - this is the number of the MMObjectNode requesting the relations Parameters: otype - the object type of the nodes you want to have. -1 means any node. Parameters: role - Identifying number of the role (reldef) A Vector whose enumeration consists of MMObjectNode object related to the sourceaccording to the specified filter(s). |
getRelation | public MMObjectNode getRelation(int source, int destination, int role)(Code) | | Test whether a relation exists and returns the corresponding node.
Note that this test is strict: it determines whether a relation exists from a source to a destination
with a specific role. If only a role-relation exists where source and destination are reversed, this method
assumed that this is a different relation type, and it returns null .
Parameters: source - Identifying number of the source object Parameters: destination - Identifying number of the destination object Parameters: role - Identifying number of the role (reldef) The corresponding MMObjectNode if the exact relation exists,null otherwise |
getRelationNode | public MMObjectNode getRelationNode(int source, int destination, int role) throws SearchQueryException(Code) | | Test whether a relation exists and returns the corresponding node.
Note that this test is strict: it determines whether a relation exists from a source to a destination
with a specific role. If only a role-relation exists where source and destination are reversed, this method
assumed that this is a different relation type, and it returns null .
Parameters: source - Identifying number of the source object Parameters: destination - Identifying number of the destination object Parameters: role - Identifying number of the role (reldef) throws: SearchQueryException - if a storage error occurs The corresponding MMObjectNode if the exact relation exists,null otherwise |
getRelationNodes | public List<MMObjectNode> getRelationNodes(int source) throws SearchQueryException(Code) | | Get relation(s) for an MMObjectNode, using a specified role (reldef) as a filter.
This function returns all relations based on this role in which the node is either a source, or where the node is
the destination, but the direction is bidirectional.
Parameters: source - Identifying number of the object to find the relations of. A List containing the relation nodes. throws: SearchQueryException - if a storage error occurs |
getRelationNodes | public List<MMObjectNode> getRelationNodes(int source, int role) throws SearchQueryException(Code) | | Get relation(s) for an MMObjectNode, using a specified role (reldef) as a filter.
This function returns all relations based on this role in which the node is either a source, or where the node is
the destination, but the direction is bidirectional.
Parameters: source - Identifying number of the object to find the relations of. Parameters: role - The number of the relation definition (role) to filter on, -1 means any role A List containing the relation nodes. throws: SearchQueryException - if a storage error occurs |
getRelationNodes | public List<MMObjectNode> getRelationNodes(int source, boolean useDirectionality) throws SearchQueryException(Code) | | Get all relation(s) for an MMObjectNode.
This function returns all relations in which the node is either a source or
the destination.
Parameters: source - Identifying number of the object to find the relations of. Parameters: useDirectionality - if truie , take directionality into account.If false , returns all relations, even if the direction is unidirectional. A List containing the relation nodes. throws: SearchQueryException - if a storage error occurs |
getRelationNodes | public List<MMObjectNode> getRelationNodes(int source, int role, boolean useDirectionality) throws SearchQueryException(Code) | | Get all relation(s) for a MMObjectNode
This function returns all relations in which the node is either a source or
the destination.
Parameters: source - Identifying number of the object to find the relations of. Parameters: role - The number of the relation definition (role) to filter on, -1 means any role Parameters: useDirectionality - if truie , take directionality into account.If false , returns all relations, even if the direction is unidirectional. A List containing the relation nodes. throws: SearchQueryException - if a storage error occurs |
getRelations | public Enumeration<MMObjectNode> getRelations(int source)(Code) | | Get relation(s) for a MMObjectNode
Parameters: source - Identifying number of the object to find the relations of. If succesful, an Enumeration listing the relations.If no relations exist, the method returns null . See Also: InsRel.getRelationsVector(int) |
getRelations | public Enumeration<MMObjectNode> getRelations(int source, int role)(Code) | | Get relation(s) for a MMObjectNode, using a specified role (reldef) as a filter
Parameters: source - Identifying number of the object to find the relations of. Parameters: role - The number of the relation definition (role) to filter on an Enumeration listing the relations. See Also: InsRel.getRelationsVector(int,int) |
getRelations | public Enumeration<MMObjectNode> getRelations(int source, int otype, int role)(Code) | | Get relations for a specified MMObjectNode
Parameters: source - this is the number of the MMObjectNode requesting the relations Parameters: otype - the object type of the nodes you want to have. -1 means any node. Parameters: role - Identifying number of the role (reldef) An Enumeration whose enumeration consists of MMObjectNode object related to the sourceaccording to the specified filter(s). |
getRelations | public Enumeration<MMObjectNode> getRelations(int source, int otype, int role, boolean usedirectionality)(Code) | | Gets relations for a specified MMObjectNode
Parameters: source - this is the number of the MMObjectNode requesting the relations Parameters: otype - the object type of the nodes you want to have. -1 means any node. Parameters: role - Identifying number of the role (reldef) Parameters: usedirectionality - if true teh result si filtered on unidirectional relations.specify false if you want to show unidoerctional relationsfrom destination to source. An Enumeration whose enumeration consists of MMObjectNode object related to the sourceaccording to the specified filter(s). |
hasRelations | public boolean hasRelations(int source)(Code) | | Checks whether any relations exist for a MMObjectNode.
This includes unidirection relations which would otherwise not be counted.
If the query fails to execute, the system will assume that relations exists.
Parameters: source - Identifying number of the object to find the relations of. true if any relations exist, false otherwise. |
init | public boolean init()(Code) | | Initializes the builder. Determines whether the dir field is defined (and thus whether directionality is supported).
If the field cannot be found, a "Warning: No dir field. Directionality support turned off." warning message is issued.
A boolean value, always success (true ), as any exceptions arecaught and logged. See Also: InsRel.usesdir |
insert | public int insert(String owner, int source, int destination, int role)(Code) | | Insert a new Instance Relation.
Parameters: owner - Administrator Parameters: source - Identifying number of the source object Parameters: destination - Identifying number of the destination object Parameters: role - Identifying number of the relation defintition A integer value identifying the newly inserted relation |
insert | public int insert(String owner, MMObjectNode node)(Code) | | Insert a new Instance Relation.
Parameters: owner - Administrator Parameters: node - Relation node to add A integer value identifying the newly inserted relation |
reldefCorrect | public boolean reldefCorrect(int source, int destination, int role)(Code) | | Checks whether a specific relation exists.
Maintains a cache containing the last checked relations
Note that this routine returns false both when a source/destination are swapped, and when a typecombo
does not exist - it is not possible to derive whether one or the other has occurred.
Parameters: source - Number of the source node Parameters: destination - Number of the destination node Parameters: role - Number of the relation definition A boolean indicating success when the relation exists, failure if it does not.TypeRel.reldefCorrect |
removeNode | public void removeNode(MMObjectNode node)(Code) | | Remove a node from the cloud.
Parameters: node - The node to remove. |
setDefaults | public void setDefaults(MMObjectNode node)(Code) | | Set defaults for a node.
Tries to determine a default for 'relnumber' by searching the RelDef table for an occurrence of the node's builder.
Uses the table-mapping system, and should be replaced.
Parameters: node - The node whose defaults to set. |
Methods inherited from org.mmbase.module.core.MMObjectBuilder | public void addEventListener(org.mmbase.core.event.EventListener listener)(Code)(Java Doc) public void addField(CoreField def)(Code)(Java Doc) public boolean addLocalObserver(MMBaseObserver obs)(Code)(Java Doc) public boolean addRemoteObserver(MMBaseObserver obs)(Code)(Java Doc) public boolean broadcastChanges()(Code)(Java Doc) public boolean checkAddTmpField(String field)(Code)(Java Doc) public int clearBlobCache(int nodeNumber)(Code)(Java Doc) public boolean commit(MMObjectNode node)(Code)(Java Doc) public boolean create()(Code)(Java Doc) public boolean createAlias(int number, String alias, String owner)(Code)(Java Doc) public boolean createAlias(int number, String alias)(Code)(Java Doc) public void delete()(Code)(Java Doc) final public boolean equals(Object o)(Code)(Java Doc) public boolean equals(MMObjectNode o1, MMObjectNode o2)(Code)(Java Doc) protected Object executeFunction(MMObjectNode node, String function, List> arguments)(Code)(Java Doc) protected Object executeFunction(MMObjectNode node, String function, String field)(Code)(Java Doc) public boolean fieldLocalChanged(String number, String builder, String field, String value)(Code)(Java Doc) public List<MMObjectBuilder> getAncestors()(Code)(Java Doc) protected BlobCache getBlobCache(String fieldName)(Code)(Java Doc) public String getClassName()(Code)(Java Doc) public File getConfigFile()(Code)(Java Doc) public String getConfigResource()(Code)(Java Doc) public int getDBState(String fieldName)(Code)(Java Doc) public int getDBType(String fieldName)(Code)(Java Doc) public DataTypeCollector getDataTypeCollector()(Code)(Java Doc) public MMObjectNode getDefaultTeaser(MMObjectNode node, MMObjectNode tnode)(Code)(Java Doc) public String getDefaultUrl(int src)(Code)(Java Doc) public List<MMObjectBuilder> getDescendants()(Code)(Java Doc) public String getDescription()(Code)(Java Doc) public String getDescription(String lang)(Code)(Java Doc) public Hashtable<String, String> getDescriptions()(Code)(Java Doc) public MMObjectNode getEmptyNode(String owner)(Code)(Java Doc) public FieldDefs getField(String fieldName)(Code)(Java Doc) public Set<String> getFieldNames()(Code)(Java Doc) public Collection<CoreField> getFields()(Code)(Java Doc) public List<CoreField> getFields(int sortOrder)(Code)(Java Doc) protected Function> getFunction(MMObjectNode node, String functionName)(Code)(Java Doc) protected Vector<String> getFunctionParameters(String fields)(Code)(Java Doc) protected Collection<Function<?>> getFunctions(MMObjectNode node)(Code)(Java Doc) public String getGUIIndicator(MMObjectNode node, Parameters pars)(Code)(Java Doc) public String getGUIIndicator(MMObjectNode node)(Code)(Java Doc) public String getGUIIndicator(String fieldName, MMObjectNode node)(Code)(Java Doc) protected String getHTML(String body)(Code)(Java Doc) public String getInitParameter(String name)(Code)(Java Doc) public Map<String, String> getInitParameters()(Code)(Java Doc) public Map getInitParameters(String contextPath)(Code)(Java Doc) public long getInternalVersion()(Code)(Java Doc) public Vector<String> getList(PageInfo sp, StringTagger tagger, StringTokenizer tok)(Code)(Java Doc) protected String getLocaleGUIIndicator(Locale locale, String field, MMObjectNode node)(Code)(Java Doc) protected String getLocaleGUIIndicator(Locale locale, MMObjectNode node)(Code)(Java Doc) public String getMachineName()(Code)(Java Doc) public String getMaintainer()(Code)(Java Doc) public MMObjectNode getNewNode(String owner)(Code)(Java Doc) protected MMObjectNode getNewTmpNode(String owner, String key)(Code)(Java Doc) public FieldDefs getNextField(String currentfield, int sortorder)(Code)(Java Doc) public FieldDefs getNextField(String currentfield)(Code)(Java Doc) public MMObjectNode getNode(String key, boolean useCache)(Code)(Java Doc) public MMObjectNode getNode(String key)(Code)(Java Doc) public MMObjectNode getNode(int number)(Code)(Java Doc) public MMObjectNode getNodeFromCache(Integer number)(Code)(Java Doc) protected String getNodeGUIIndicator(MMObjectNode node, Parameters params)(Code)(Java Doc) public int getNumber()(Code)(Java Doc) public int getObjectType()(Code)(Java Doc) protected Object getObjectValue(MMObjectNode node, String field)(Code)(Java Doc) public MMObjectBuilder getParentBuilder()(Code)(Java Doc) public String getPluralName(String lang)(Code)(Java Doc) public String getPluralName()(Code)(Java Doc) public Hashtable<String, String> getPluralNames()(Code)(Java Doc) public Vector<MMObjectNode> getRelations_main(int src)(Code)(Java Doc) public String getSearchAge()(Code)(Java Doc) public String getShort(String str, int len)(Code)(Java Doc) protected byte[] getShortedByte(String fieldName, MMObjectNode node)(Code)(Java Doc) protected String getShortedText(String fieldName, MMObjectNode node)(Code)(Java Doc) public String getSingularName(String lang)(Code)(Java Doc) public String getSingularName()(Code)(Java Doc) public Hashtable<String, String> getSingularNames()(Code)(Java Doc) public String getSmartPath(String documentRoot, String path, String nodeNumber, String version)(Code)(Java Doc) protected static MMObjectNode getTmpNode(String key)(Code)(Java Doc) protected static String getURLEncode(String body)(Code)(Java Doc) public Object getValue(MMObjectNode node, String field)(Code)(Java Doc) public int getVersion()(Code)(Java Doc) protected static String getWAP(String body)(Code)(Java Doc) public String getXMLPath()(Code)(Java Doc) public boolean hasField(String fieldName)(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public int hashCode(MMObjectNode o)(Code)(Java Doc) public static String hostname_function(String url)(Code)(Java Doc) public boolean init()(Code)(Java Doc) public int insert(int oType, String owner)(Code)(Java Doc) public int insert(String owner, MMObjectNode node)(Code)(Java Doc) public boolean isExtensionOf(MMObjectBuilder o)(Code)(Java Doc) public boolean isNodeCached(Integer number)(Code)(Java Doc) public boolean isVirtual()(Code)(Java Doc) public void loadInitParameters()(Code)(Java Doc) protected Function newFunctionInstance(String name, Parameter[] parameters, ReturnType returnType)(Code)(Java Doc) public boolean nodeLocalChanged(String machine, String number, String builder, String ctype)(Code)(Java Doc) public boolean nodeRemoteChanged(String machine, String number, String builder, String ctype)(Code)(Java Doc) public void notify(NodeEvent event)(Code)(Java Doc) public void notify(RelationEvent event)(Code)(Java Doc) public MMObjectNode preCommit(MMObjectNode node)(Code)(Java Doc) public boolean process(PageInfo sp, StringTokenizer command, Hashtable cmds, Hashtable vars)(Code)(Java Doc) public void removeEventListener(org.mmbase.core.event.EventListener listener)(Code)(Java Doc) public void removeField(String fieldName)(Code)(Java Doc) public boolean removeLocalObserver(MMBaseObserver obs)(Code)(Java Doc) public void removeNode(MMObjectNode node)(Code)(Java Doc) public void removeRelations(MMObjectNode node)(Code)(Java Doc) public boolean removeRemoteObserver(MMBaseObserver obs)(Code)(Java Doc) protected void removeSyncNodes(MMObjectNode node)(Code)(Java Doc) public String replace(PageInfo sp, StringTokenizer tok)(Code)(Java Doc) public MMObjectNode safeCache(Integer n, MMObjectNode node)(Code)(Java Doc) public boolean sendFieldChangeSignal(MMObjectNode node, String fieldName)(Code)(Java Doc) public void setDefaults(MMObjectNode node)(Code)(Java Doc) public void setDescription(String e)(Code)(Java Doc) public void setDescriptions(Hashtable<String, String> e)(Code)(Java Doc) public void setFields(List<CoreField> f)(Code)(Java Doc) public void setInitParameter(String name, String value)(Code)(Java Doc) public void setMaintainer(String m)(Code)(Java Doc) public void setParentBuilder(MMObjectBuilder parent)(Code)(Java Doc) public void setPluralNames(Hashtable<String, String> names)(Code)(Java Doc) public void setSearchAge(String age)(Code)(Java Doc) public void setSingularNames(Hashtable<String, String> names)(Code)(Java Doc) protected String setUniqueValue(MMObjectNode node, String field, String baseValue)(Code)(Java Doc) protected int setUniqueValue(MMObjectNode node, String field, int offset)(Code)(Java Doc) public boolean setValue(MMObjectNode node, String fieldName, Object originalValue)(Code)(Java Doc) public boolean setValue(MMObjectNode node, String fieldName)(Code)(Java Doc) public void setVersion(int i)(Code)(Java Doc) public void setXMLPath(String m)(Code)(Java Doc) public void testValidData(MMObjectNode node) throws InvalidDataException(Code)(Java Doc) public String toString()(Code)(Java Doc) public String toString(MMObjectNode n)(Code)(Java Doc) protected void update()(Code)(Java Doc) protected void updateFields()(Code)(Java Doc) public static String wrap(String text, int width)(Code)(Java Doc)
|
|
|