org.mmbase.datatypes.processors
Class LastModifiedProcessorFactory

java.lang.Object
  extended byorg.mmbase.datatypes.processors.LastModifiedProcessorFactory
All Implemented Interfaces:
ParameterizedProcessorFactory, Serializable

public class LastModifiedProcessorFactory
extends Object
implements ParameterizedProcessorFactory, Serializable

This factory creates processors which don't actually change the value, but only have a side-effect, namely updating another field with the current time. The other field is on default 'lastmodified', but it also the only parameter of this processor factory.

Since:
MMBase-1.8
Version:
$Id: LastModifiedProcessorFactory.java,v 1.2 2006/04/18 14:17:24 michiel Exp $
Author:
Michiel Meeuwissen
See Also:
Serialized Form

Field Summary
protected static Parameter[] PARAMS
           
 
Constructor Summary
LastModifiedProcessorFactory()
           
 
Method Summary
 Parameters createParameters()
          Create empty Parameters object for use with createProcessor(org.mmbase.util.functions.Parameters).
 Processor createProcessor(Parameters parameters)
          Creates a parameterized processor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAMS

protected static final Parameter[] PARAMS
Constructor Detail

LastModifiedProcessorFactory

public LastModifiedProcessorFactory()
Method Detail

createProcessor

public Processor createProcessor(Parameters parameters)
Creates a parameterized processor.

Specified by:
createProcessor in interface ParameterizedProcessorFactory

createParameters

public Parameters createParameters()
Create empty Parameters object for use with createProcessor(org.mmbase.util.functions.Parameters).

Specified by:
createParameters in interface ParameterizedProcessorFactory


MMBase build 1.8.1.20060716