Interface IRatingListener


  • public interface IRatingListener
    Interface of listeners of rating
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void cancelRating​(java.lang.String strIdExtendableResource, java.lang.String strExtendableResourceType, fr.paris.lutece.portal.service.security.LuteceUser user)
      Notify the removal of a rating
      void rating​(java.lang.String strIdExtendableResource, java.lang.String strExtendableResourceType, fr.paris.lutece.portal.service.security.LuteceUser user)
      Notify if there was a rate
    • Method Detail

      • rating

        void rating​(java.lang.String strIdExtendableResource,
                    java.lang.String strExtendableResourceType,
                    fr.paris.lutece.portal.service.security.LuteceUser user)
        Notify if there was a rate
        Parameters:
        strIdExtendableResource - The id of the extendable resource
        strExtendableResourceType - The type of the extendable resource
        user - the LuteceUser who rated
      • cancelRating

        void cancelRating​(java.lang.String strIdExtendableResource,
                          java.lang.String strExtendableResourceType,
                          fr.paris.lutece.portal.service.security.LuteceUser user)
        Notify the removal of a rating
        Parameters:
        strIdExtendableResource - The id of the extendable resource
        strExtendableResourceType - The type of the extendable resource
        user - the LuteceUser who cancel rated