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 Type
    Method
    Description
    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 an Entry
  • 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 an Entry
      Parameters:
      listResponseReference - the list of reference responses for the Entry
      listResponseNew - the list of new responses for the Entry
      Returns:
      true if the response has changed, false otherwise