org.mmbase.datatypes.processors
Class LastModifiedProcessorFactory

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

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 41987 2010-04-20 16:14:35Z michiel $
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
Parameters:
parameters - parameters for the processor
Returns:
Datatype Processor

createParameters

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

Specified by:
createParameters in interface ParameterizedProcessorFactory
Returns:
Datatype Processor parameters


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