org.mmbase.datatypes.processors
Class LastModifier

java.lang.Object
  extended byorg.mmbase.datatypes.processors.LastModifier
All Implemented Interfaces:
CommitProcessor, Serializable

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,v 1.4 2006/02/14 22:46:41 michiel Exp $
Author:
Michiel Meeuwissen
See Also:
LastModified, Creator, Serialized Form

Constructor Summary
LastModifier()
           
 
Method Summary
 void commit(Node node, Field field)
          Will be called on commit of the node.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LastModifier

public LastModifier()
Method Detail

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()


MMBase build 1.8.1.20060716