fr.paris.lutece.plugins.workflow.modules.alert.business.retrieval
Class RetrievalTypeModificationDate

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.alert.business.retrieval.AbstractRetrievalType
      extended by fr.paris.lutece.plugins.workflow.modules.alert.business.retrieval.RetrievalTypeModificationDate
All Implemented Interfaces:
IRetrievalType

public class RetrievalTypeModificationDate
extends AbstractRetrievalType

RetrievalTypeModificationDate


Constructor Summary
RetrievalTypeModificationDate()
           
 
Method Summary
 boolean checkConfigData(TaskAlertConfig config)
          Check if the config data is correctly configured
 java.lang.Long getDate(TaskAlertConfig config, fr.paris.lutece.plugins.directory.business.Record record)
          Get the date
 
Methods inherited from class fr.paris.lutece.plugins.workflow.modules.alert.business.retrieval.AbstractRetrievalType
getIdType, getTitle, getTitleKey, setIdType, setTitleKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetrievalTypeModificationDate

public RetrievalTypeModificationDate()
Method Detail

getDate

public java.lang.Long getDate(TaskAlertConfig config,
                              fr.paris.lutece.plugins.directory.business.Record record)
Get the date

Parameters:
config - the config
record - the record
Returns:
the date in long

checkConfigData

public boolean checkConfigData(TaskAlertConfig config)
Check if the config data is correctly configured

Parameters:
config - the config
Returns:
the error message if there is an error


Copyright © 2012 Mairie de Paris. All Rights Reserved.