org.mmbase.datatypes.processors
Class LastModifier
java.lang.Object
org.mmbase.datatypes.processors.LastModifier
- All Implemented Interfaces:
- Serializable, CommitProcessor
public class LastModifier
- extends Object
- implements CommitProcessor
This processor can be used as a 'commit' processor on a string field. The field will then be set
to the current user id when the node is committed.
- Since:
- MMBase-1.8
- Version:
- $Id: LastModifier.java 41987 2010-04-20 16:14:35Z michiel $
- Author:
- Michiel Meeuwissen
- See Also:
LastModified,
Creator,
Serialized Form
LastModifier
public LastModifier()
setIfNotChanged
public void setIfNotChanged(boolean b)
- On default the field is not changed if no other fields were changed. You can override this
using this property.
- Since:
- MMBase-1.9.1
commit
public void commit(Node node,
Field field)
- Description copied from interface:
CommitProcessor
- Will be called on commit of the node.
- Specified by:
commit in interface CommitProcessor
toString
public String toString()
- Overrides:
toString in class Object
MMBase2 Bridge 2.0-SNAPSHOT - 2013-05-29T22:05