01: /*
02:
03: This software is OSI Certified Open Source Software.
04: OSI Certified is a certification mark of the Open Source Initiative.
05:
06: The license (Mozilla version 1.0) can be read at the MMBase site.
07: See http://www.MMBase.org/license
08:
09: */
10: package org.mmbase.datatypes.processors;
11:
12: import org.mmbase.bridge.*;
13:
14: /**
15: * If the processor defined for the field is of this type, then the {@link #commit} method will be called
16: * on commit of the Node.
17: *
18: * @author Michiel Meeuwissen
19: * @version $Id: CommitProcessor.java,v 1.4 2005/12/10 14:32:53 michiel Exp $
20: * @since MMBase-1.8
21: */
22:
23: public interface CommitProcessor extends java.io.Serializable {
24:
25: /**
26: * Will be called on commit of the node.
27: */
28: void commit(Node node, Field field);
29: }
|