fr.paris.lutece.plugins.workflow.modules.alert.business.retrieval
Interface IRetrievalType

All Known Implementing Classes:
AbstractRetrievalType, RetrievalTypeCreationDate, RetrievalTypeDirectoryEntry, RetrievalTypeModificationDate

public interface IRetrievalType

IRetrievalType


Method Summary
 java.lang.String checkConfigData(javax.servlet.http.HttpServletRequest request)
          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
 int getIdType()
          Get the id type
 java.lang.String getTitle(java.util.Locale locale)
          Get the title
 java.lang.String getTitleKey()
          Get the title key
 void setIdType(int nIdType)
          Set the id type
 void setTitleKey(java.lang.String strTitleKey)
          Set the title key
 

Method Detail

getIdType

int getIdType()
Get the id type

Returns:
the id type

setIdType

void setIdType(int nIdType)
Set the id type

Parameters:
nIdType - the id type

getTitleKey

java.lang.String getTitleKey()
Get the title key

Returns:
the title key

setTitleKey

void setTitleKey(java.lang.String strTitleKey)
Set the title key

Parameters:
strTitleKey - the title key

getTitle

java.lang.String getTitle(java.util.Locale locale)
Get the title

Parameters:
locale - the locale
Returns:
the title

getDate

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

java.lang.String checkConfigData(javax.servlet.http.HttpServletRequest request)
Check if the config data is correctly configured

Parameters:
request - the HTTP servlet
Returns:
the error message if there is an error


Copyright © 2012 Mairie de Paris. All Rights Reserved.