org.mmbase.datatypes.processors
Class Creator

Package class diagram package Creator
java.lang.Object
  extended by org.mmbase.datatypes.processors.Creator
All Implemented Interfaces:
Serializable, CommitProcessor

public class Creator
extends Object
implements CommitProcessor

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

Since:
MMBase-1.8
Version:
$Id: Creator.java 44632 2011-01-06 22:19:55Z michiel $
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()
Overrides:
toString in class Object


MMBase2 Bridge 2.0-SNAPSHOT - 2013-03-30T06:34