org.mmbase.datatypes.processors
Class LastModifiedProcessorFactory
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAMS
protected static final Parameter[] PARAMS
LastModifiedProcessorFactory
public LastModifiedProcessorFactory()
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