| java.lang.Object org.mmbase.bridge.util.NodeWrapper org.mmbase.bridge.util.NodeChanger
NodeChanger | public class NodeChanger extends NodeWrapper (Code) | | Wraps another Node, and adds 'isChangedByThis'.
author: Michiel Meeuwissen version: $Id: NodeChanger.java,v 1.3 2007/02/10 15:47:42 nklasens Exp $ since: MMBase-1.8 |
Method Summary | |
public void | cancelThis() | protected void | change(String fieldName) | public boolean | isChangedByThis() The isChanged method reflects the isChanged status of the underlying core node.isChanged. | public void | setBooleanValue(String fieldName, boolean value) | public void | setByteValue(String fieldName, byte[] value) | public void | setDateValue(String fieldName, Date value) | public void | setDoubleValue(String fieldName, double value) | public void | setFloatValue(String fieldName, float value) | public void | setInputStreamValue(String fieldName, java.io.InputStream value, long size) | public void | setIntValue(String fieldName, int value) | public void | setListValue(String fieldName, List value) | public void | setLongValue(String fieldName, long value) | public void | setNodeValue(String fieldName, Node value) | public void | setObjectValue(String fieldName, Object value) | public void | setStringValue(String fieldName, String value) | public void | setValue(String fieldName, Object value) | public void | setValueWithoutProcess(String fieldName, Object value) |
cancelThis | public void cancelThis()(Code) | | |
isChangedByThis | public boolean isChangedByThis()(Code) | | The isChanged method reflects the isChanged status of the underlying core node.isChanged. Before
commiting the node, you may want to check if _you_ changed to node, and not some other
thread. In that case you can first wrap your Node in a NodeChanger object.
|
setBooleanValue | public void setBooleanValue(String fieldName, boolean value)(Code) | | |
setByteValue | public void setByteValue(String fieldName, byte[] value)(Code) | | |
setDoubleValue | public void setDoubleValue(String fieldName, double value)(Code) | | |
setFloatValue | public void setFloatValue(String fieldName, float value)(Code) | | |
setIntValue | public void setIntValue(String fieldName, int value)(Code) | | |
setLongValue | public void setLongValue(String fieldName, long value)(Code) | | |
setValueWithoutProcess | public void setValueWithoutProcess(String fieldName, Object value)(Code) | | |
Methods inherited from org.mmbase.bridge.util.NodeWrapper | public void cancel()(Code)(Java Doc) public void commit()(Code)(Java Doc) public int compareTo(Node o)(Code)(Java Doc) public int countRelatedNodes(String nodeManager)(Code)(Java Doc) public int countRelatedNodes(NodeManager otherNodeManager, String role, String searchDir)(Code)(Java Doc) public int countRelations()(Code)(Java Doc) public int countRelations(String relationManager)(Code)(Java Doc) public void createAlias(String alias)(Code)(Java Doc) public Parameters createParameters(String functionName)(Code)(Java Doc) public Relation createRelation(Node destinationNode, RelationManager relationManager)(Code)(Java Doc) public void delete()(Code)(Java Doc) public void delete(boolean deleteRelations)(Code)(Java Doc) public void deleteAlias(String alias)(Code)(Java Doc) public void deleteRelations()(Code)(Java Doc) public void deleteRelations(String relationManager)(Code)(Java Doc) 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 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 FieldValue getFieldValue(String fieldName) throws NotFoundException(Code)(Java Doc) public FieldValue getFieldValue(Field field)(Code)(Java Doc) public float getFloatValue(String fieldName)(Code)(Java Doc) public Function getFunction(String functionName)(Code)(Java Doc) public FieldValue getFunctionValue(String functionName, List parameters)(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) public Node getNode()(Code)(Java Doc) public NodeManager getNodeManager()(Code)(Java Doc) public Node getNodeValue(String fieldName)(Code)(Java Doc) public int getNumber()(Code)(Java Doc) public Object getObjectValue(String fieldName)(Code)(Java Doc) public StringList getPossibleContexts()(Code)(Java Doc) public NodeList getRelatedNodes()(Code)(Java Doc) public NodeList getRelatedNodes(String nodeManager)(Code)(Java Doc) public NodeList getRelatedNodes(NodeManager nodeManager)(Code)(Java Doc) public NodeList getRelatedNodes(String nodeManager, String role, String searchDir)(Code)(Java Doc) public NodeList getRelatedNodes(NodeManager nodeManager, String role, String searchDir)(Code)(Java Doc) public RelationList getRelations()(Code)(Java Doc) public RelationList getRelations(String role)(Code)(Java Doc) public RelationList getRelations(String role, String nodeManager)(Code)(Java Doc) public RelationList getRelations(String role, NodeManager nodeManager)(Code)(Java Doc) public RelationList getRelations(String role, NodeManager nodeManager, String searchDir)(Code)(Java Doc) public long getSize(String fieldName)(Code)(Java Doc) public String getStringValue(String fieldName)(Code)(Java Doc) public Object getValue(String fieldName)(Code)(Java Doc) public Object getValueWithoutProcess(String fieldName)(Code)(Java Doc) public Document getXMLValue(String fieldName) throws IllegalArgumentException(Code)(Java Doc) public Element getXMLValue(String fieldName, Document tree) throws IllegalArgumentException(Code)(Java Doc) public boolean hasRelations()(Code)(Java Doc) 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) public void setBooleanValue(String fieldName, boolean value)(Code)(Java Doc) public void setByteValue(String fieldName, byte[] value)(Code)(Java Doc) public void setContext(String context)(Code)(Java Doc) public void setDateValue(String fieldName, Date value)(Code)(Java Doc) public void setDoubleValue(String fieldName, double value)(Code)(Java Doc) public void setFloatValue(String fieldName, float value)(Code)(Java Doc) public void setInputStreamValue(String fieldName, java.io.InputStream value, long size)(Code)(Java Doc) public void setIntValue(String fieldName, int value)(Code)(Java Doc) public void setListValue(String fieldName, List value)(Code)(Java Doc) public void setLongValue(String fieldName, long value)(Code)(Java Doc) public void setNodeValue(String fieldName, Node value)(Code)(Java Doc) public void setObjectValue(String fieldName, Object value)(Code)(Java Doc) public void setStringValue(String fieldName, String value)(Code)(Java Doc) public void setValue(String fieldName, Object value)(Code)(Java Doc) public void setValueWithoutProcess(String fieldName, Object value)(Code)(Java Doc) public void setXMLValue(String fieldName, Document value)(Code)(Java Doc) public NodeManager toNodeManager()(Code)(Java Doc) public Relation toRelation()(Code)(Java Doc) public RelationManager toRelationManager()(Code)(Java Doc) public String toString()(Code)(Java Doc) public Collection<String> validate()(Code)(Java Doc)
|
|
|