org.mmbase.datatypes.processors
Class Creator

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

public class Creator
extends Object
implements CommitProcessor

This processor can be used as a 'set' processor on a (datetime) field. The field will then be set to the current user id when this field is not yet set.

Since:
MMBase-1.8
Version:
$Id: Creator.java,v 1.1 2006/02/14 22:46:41 michiel Exp $
Author:
Michiel Meeuwissen
See Also:
LastModifier, Serialized Form

Constructor Summary
Creator()
           
 
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

Creator

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