| java.lang.Object org.mmbase.bridge.util.AbstractNode org.mmbase.bridge.implementation.BasicNode org.mmbase.bridge.implementation.BasicNodeManager org.mmbase.bridge.implementation.BasicRelationManager
BasicRelationManager | public class BasicRelationManager extends BasicNodeManager implements RelationManager(Code) | | author: Rob Vermeulen author: Pierre van Rooden version: $Id: BasicRelationManager.java,v 1.40 2007/11/27 13:02:35 michiel Exp $ |
BasicRelationManager | BasicRelationManager(MMObjectNode node, BasicCloud cloud, int nodeId)(Code) | | Creates a new Relation manager (for insert).
The type of manager (a strictly constrained manager or a role manager)
is dependend on the type of the passed node (from either the reldef of typerel
builder).
Parameters: node - the node on which to base the relation manager Parameters: cloud - the cloud for which to create the manager Parameters: id - the id of the node in the temporary cloud |
BasicRelationManager | BasicRelationManager(MMObjectNode node, BasicCloud cloud)(Code) | | Creates a new instance of Relation manager.
The type of manager (a strictly constrained manager or a role manager)
is dependend on the type of the passed node (from either the reldef of typerel
builder).
Parameters: node - the node on which to base the relation manager Parameters: cloud - the cloud for which to create the manager |
getBuilder | int getBuilder()(Code) | | |
getDirectionality | public int getDirectionality()(Code) | | |
getReciprocalGUIName | public String getReciprocalGUIName()(Code) | | |
initManager | protected void initManager()(Code) | | Initializes the NodeManager: determines the MMObjectBuilder from the
passed node (reldef or typerel), and fills temporary variables to maintain status.
|
isRelationManager | final public boolean isRelationManager()(Code) | | |
mayCreateRelation | public boolean mayCreateRelation(Node sourceNode, Node destinationNode)(Code) | | |
Methods inherited from org.mmbase.bridge.implementation.BasicNodeManager | public void commit()(Code)(Java Doc) protected BasicNode createBasicNode()(Code)(Java Doc) public FieldList createFieldList()(Code)(Java Doc) protected NodeAndId createMMObjectNode()(Code)(Java Doc) final public Node createNode()(Code)(Java Doc) public NodeList createNodeList()(Code)(Java Doc) public NodeQuery createQuery()(Code)(Java Doc) public RelationList createRelationList()(Code)(Java Doc) public void delete(boolean deleteRelations)(Code)(Java Doc) public RelationManagerList getAllowedRelations()(Code)(Java Doc) public RelationManagerList getAllowedRelations(String nodeManager, String role, String direction)(Code)(Java Doc) public RelationManagerList getAllowedRelations(NodeManager nodeManager, String role, String direction)(Code)(Java Doc) public NodeManagerList getDescendants()(Code)(Java Doc) public String getDescription()(Code)(Java Doc) public String getDescription(Locale locale)(Code)(Java Doc) public Field getField(String fieldName) throws NotFoundException(Code)(Java Doc) protected Map<String, Field> getFieldTypes()(Code)(Java Doc) public FieldList getFields()(Code)(Java Doc) public FieldList getFields(int order)(Code)(Java Doc) public Collection<Function<?>> getFunctions()(Code)(Java Doc) public String getGUIName()(Code)(Java Doc) public String getGUIName(int plurality)(Code)(Java Doc) public String getGUIName(int plurality, Locale locale)(Code)(Java Doc) public String getInfo(String command)(Code)(Java Doc) public String getInfo(String command, ServletRequest req, ServletResponse resp)(Code)(Java Doc) public NodeList getList(NodeQuery query)(Code)(Java Doc) public NodeList getList(String constraints, String sorted, String directions)(Code)(Java Doc) public NodeList getList(String command, Map parameters)(Code)(Java Doc) public NodeList getList(String command, Map parameters, ServletRequest req, ServletResponse resp)(Code)(Java Doc) MMObjectBuilder getMMObjectBuilder()(Code)(Java Doc) public String getName()(Code)(Java Doc) protected Function getNodeFunction(String functionName)(Code)(Java Doc) public NodeManager getParent() throws NotFoundException(Code)(Java Doc) public Map<String, String> getProperties()(Code)(Java Doc) public String getProperty(String name)(Code)(Java Doc) public boolean hasField(String fieldName)(Code)(Java Doc) protected void initManager()(Code)(Java Doc) final public boolean isNodeManager()(Code)(Java Doc) public boolean mayCreateNode()(Code)(Java Doc) protected void setNodeManager(MMObjectNode node)(Code)(Java Doc) protected static void sync(MMObjectBuilder builder, Map<String, Field> fieldTypes, NodeManager nodeManager)(Code)(Java Doc) final public NodeManager toNodeManager()(Code)(Java Doc)
|
Methods inherited from org.mmbase.bridge.implementation.BasicNode | public void cancel()(Code)(Java Doc) protected void checkAccount()(Code)(Java Doc) protected void checkCommit()(Code)(Java Doc) protected void checkCreate()(Code)(Java Doc) protected void checkDelete()(Code)(Java Doc) protected void checkWrite()(Code)(Java Doc) public void commit()(Code)(Java Doc) public int countRelatedNodes(NodeManager otherNodeManager, String role, String direction)(Code)(Java Doc) public int countRelatedNodes(String type)(Code)(Java Doc) public void createAlias(String aliasName)(Code)(Java Doc) protected FieldValue createFunctionValue(Object result)(Code)(Java Doc) public Parameters createParameters(String functionName)(Code)(Java Doc) public void delete(boolean deleteRelations)(Code)(Java Doc) public void deleteAlias(String aliasName)(Code)(Java Doc) public void deleteRelations(String type) throws NotFoundException(Code)(Java Doc) protected void finalize()(Code)(Java Doc) public StringList getAliases()(Code)(Java Doc) public boolean getBooleanValue(String fieldName)(Code)(Java Doc) public int getByteSize()(Code)(Java Doc) public int getByteSize(SizeOf sizeof)(Code)(Java Doc) public byte[] getByteValue(String fieldName)(Code)(Java Doc) public Set<String> getChanged()(Code)(Java Doc) public Cloud getCloud()(Code)(Java Doc) public String getContext()(Code)(Java Doc) public Date getDateValue(String fieldName)(Code)(Java Doc) public double getDoubleValue(String fieldName)(Code)(Java Doc) public float getFloatValue(String fieldName)(Code)(Java Doc) public Collection<Function<?>> getFunctions()(Code)(Java Doc) public java.io.InputStream getInputStreamValue(String fieldName)(Code)(Java Doc) public int getIntValue(String fieldName)(Code)(Java Doc) public List getListValue(String fieldName)(Code)(Java Doc) public long getLongValue(String fieldName)(Code)(Java Doc) final protected MMObjectNode getNode()(Code)(Java Doc) protected Function> getNodeFunction(String functionName)(Code)(Java Doc) public NodeManager getNodeManager()(Code)(Java Doc) public Node getNodeValue(String fieldName)(Code)(Java Doc) public int getNumber()(Code)(Java Doc) public StringList getPossibleContexts()(Code)(Java Doc) protected NodeList getRelatedNodes(NodeManager otherManager, String role)(Code)(Java Doc) public NodeList getRelatedNodes(NodeManager otherManager, String role, String searchDir)(Code)(Java Doc) public RelationList getRelations(String role, String otherNodeManager) throws NotFoundException(Code)(Java Doc) public RelationList getRelations(String role, NodeManager nodeManager, String searchDir) throws NotFoundException(Code)(Java Doc) public long getSize(String fieldName)(Code)(Java Doc) public String getStringValue(String fieldName)(Code)(Java Doc) public Object getValueWithoutProcess(String fieldName)(Code)(Java Doc) public Document getXMLValue(String fieldName)(Code)(Java Doc) public boolean hasRelations()(Code)(Java Doc) protected void init()(Code)(Java Doc) protected void invalidateNode()(Code)(Java Doc) public boolean isChanged(String fieldName)(Code)(Java Doc) public boolean isChanged()(Code)(Java Doc) public boolean isNew()(Code)(Java Doc) public boolean isNull(String fieldName)(Code)(Java Doc) public boolean mayChangeContext()(Code)(Java Doc) public boolean mayDelete()(Code)(Java Doc) public boolean mayWrite()(Code)(Java Doc) public void setContext(String context)(Code)(Java Doc) protected void setNode(MMObjectNode n)(Code)(Java Doc) protected void setNodeManager(MMObjectNode node)(Code)(Java Doc) protected void setSize(String fieldName, long size)(Code)(Java Doc) protected void setValueWithoutChecks(String fieldName, Object value)(Code)(Java Doc) protected Integer toNodeNumber(Object v)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
Methods inherited from org.mmbase.bridge.util.AbstractNode | public void cancel()(Code)(Java Doc) protected void checkWrite()(Code)(Java Doc) public void commit()(Code)(Java Doc) final public int compareTo(Node o)(Code)(Java Doc) public int countRelatedNodes(NodeManager otherNodeManager, String role, String direction)(Code)(Java Doc) public int countRelatedNodes(String type)(Code)(Java Doc) final public int countRelations()(Code)(Java Doc) final public int countRelations(String type)(Code)(Java Doc) public void createAlias(String aliasName)(Code)(Java Doc) protected FieldValue createFunctionValue(Object result)(Code)(Java Doc) public Parameters createParameters(String functionName)(Code)(Java Doc) public Relation createRelation(Node destinationNode, RelationManager relationManager)(Code)(Java Doc) final public void delete()(Code)(Java Doc) public void delete(boolean deleteRelations)(Code)(Java Doc) public void deleteAlias(String aliasName)(Code)(Java Doc) final public void deleteRelations()(Code)(Java Doc) public void deleteRelations(String type) throws NotFoundException(Code)(Java Doc) final public boolean equals(Object o)(Code)(Java Doc) public StringList getAliases()(Code)(Java Doc) public boolean getBooleanValue(String fieldName)(Code)(Java Doc) public byte[] getByteValue(String fieldName)(Code)(Java Doc) public Set<String> getChanged()(Code)(Java Doc) public String getContext()(Code)(Java Doc) public Date getDateValue(String fieldName)(Code)(Java Doc) public double getDoubleValue(String fieldName)(Code)(Java Doc) final public FieldValue getFieldValue(String fieldName) throws NotFoundException(Code)(Java Doc) final public FieldValue getFieldValue(Field field)(Code)(Java Doc) public float getFloatValue(String fieldName)(Code)(Java Doc) final public Function> getFunction(String functionName)(Code)(Java Doc) public FieldValue getFunctionValue(String functionName, List parameters)(Code)(Java Doc) public java.io.InputStream getInputStreamValue(String fieldName)(Code)(Java Doc) public int getIntValue(String fieldName)(Code)(Java Doc) public List getListValue(String fieldName)(Code)(Java Doc) public long getLongValue(String fieldName)(Code)(Java Doc) protected Function> getNodeFunction(String functionName)(Code)(Java Doc) public Node getNodeValue(String fieldName)(Code)(Java Doc) public int getNumber()(Code)(Java Doc) final public Object getObjectValue(String fieldName)(Code)(Java Doc) public StringList getPossibleContexts()(Code)(Java Doc) final public NodeList getRelatedNodes()(Code)(Java Doc) final public NodeList getRelatedNodes(String type)(Code)(Java Doc) final public NodeList getRelatedNodes(NodeManager nodeManager)(Code)(Java Doc) final public NodeList getRelatedNodes(String type, String role, String searchDir)(Code)(Java Doc) public NodeList getRelatedNodes(NodeManager nodeManager, String role, String searchDir)(Code)(Java Doc) final public RelationList getRelations()(Code)(Java Doc) final public RelationList getRelations(String role)(Code)(Java Doc) final public RelationList getRelations(String role, NodeManager nodeManager)(Code)(Java Doc) public RelationList getRelations(String role, NodeManager nodeManager, String searchDir) throws NotFoundException(Code)(Java Doc) public RelationList getRelations(String role, String nodeManager) throws NotFoundException(Code)(Java Doc) public String getStringValue(String fieldName)(Code)(Java Doc) final public Object getValue(String fieldName)(Code)(Java Doc) public Document getXMLValue(String fieldName)(Code)(Java Doc) final public Element getXMLValue(String fieldName, Document tree)(Code)(Java Doc) public boolean hasRelations()(Code)(Java Doc) final public int hashCode()(Code)(Java Doc) public boolean isChanged(String fieldName)(Code)(Java Doc) public boolean isChanged()(Code)(Java Doc) public boolean isNew()(Code)(Java Doc) public boolean isNodeManager()(Code)(Java Doc) public boolean isNull(String fieldName)(Code)(Java Doc) public boolean isRelation()(Code)(Java Doc) public boolean isRelationManager()(Code)(Java Doc) public boolean mayChangeContext()(Code)(Java Doc) public boolean mayDelete()(Code)(Java Doc) public boolean mayWrite()(Code)(Java Doc) final public void processCommit()(Code)(Java Doc) protected Object processNull(int type, Field field)(Code)(Java Doc) final public void setBooleanValue(String fieldName, boolean value)(Code)(Java Doc) final public void setByteValue(String fieldName, byte[] value)(Code)(Java Doc) public void setContext(String context)(Code)(Java Doc) final public void setDateValue(String fieldName, Date value)(Code)(Java Doc) final public void setDoubleValue(String fieldName, double value)(Code)(Java Doc) final public void setFloatValue(String fieldName, float value)(Code)(Java Doc) final public void setInputStreamValue(String fieldName, InputStream value, long size)(Code)(Java Doc) final public void setIntValue(String fieldName, int value)(Code)(Java Doc) final public void setListValue(String fieldName, List value)(Code)(Java Doc) final public void setLongValue(String fieldName, long value)(Code)(Java Doc) final public void setNodeValue(String fieldName, Node value)(Code)(Java Doc) final public void setObjectValue(String fieldName, Object value)(Code)(Java Doc) abstract protected void setSize(String fieldName, long size)(Code)(Java Doc) final public void setStringValue(String fieldName, String value)(Code)(Java Doc) final public void setValue(String fieldName, Object value)(Code)(Java Doc) abstract protected void setValueWithoutChecks(String fieldName, Object value)(Code)(Java Doc) public void setValueWithoutProcess(String fieldName, Object value)(Code)(Java Doc) final public void setXMLValue(String fieldName, Document value)(Code)(Java Doc) public NodeManager toNodeManager()(Code)(Java Doc) protected Integer toNodeNumber(Object v)(Code)(Java Doc) public Relation toRelation()(Code)(Java Doc) public RelationManager toRelationManager()(Code)(Java Doc) public Collection<String> validate()(Code)(Java Doc)
|
|
|