Interface IResponseComparator
- All Known Implementing Classes:
EntryTypeArray,EntryTypeAutomaticFileReading,EntryTypeCartography,EntryTypeCheckBox,EntryTypeComment,EntryTypeDate,EntryTypeFile,EntryTypeGalleryImage,EntryTypeGeolocation,EntryTypeImage,EntryTypeMyLuteceUser,EntryTypeMyLuteceUserAttribute,EntryTypeNumber,EntryTypeNumbering,EntryTypeRadioButton,EntryTypeSelect,EntryTypeSelectOrder,EntryTypeSlot,EntryTypeTelephoneNumber,EntryTypeTermsOfService,EntryTypeText,EntryTypeTextArea
public interface IResponseComparator
This interface enables to compare list of responses
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisResponseChanged(List<fr.paris.lutece.plugins.genericattributes.business.Response> listResponseReference, List<fr.paris.lutece.plugins.genericattributes.business.Response> listResponseNew) Tests if the response has changed for anEntry
-
Method Details
-
isResponseChanged
boolean isResponseChanged(List<fr.paris.lutece.plugins.genericattributes.business.Response> listResponseReference, List<fr.paris.lutece.plugins.genericattributes.business.Response> listResponseNew) Tests if the response has changed for anEntry- Parameters:
listResponseReference- the list of reference responses for theEntrylistResponseNew- the list of new responses for theEntry- Returns:
trueif the response has changed,falseotherwise
-