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

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.RetrievalTypeCreationDate
All Implemented Interfaces:
IRetrievalType

public class RetrievalTypeCreationDate
extends AbstractRetrievalType

RetrievalTypeCreationDate


Constructor Summary
RetrievalTypeCreationDate()
           
 
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

RetrievalTypeCreationDate

public RetrievalTypeCreationDate()
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.