Interface IExtendFeedbackService

All Known Implementing Classes:
ExtendFeedbackService

public interface IExtendFeedbackService
IExtendFeedbackService
  • Method Details

    • create

      void create(ExtendFeedback extendFeedback)
      Create a new extendFeedback
      Parameters:
      extendFeedback - the extendFeedback
    • update

      void update(ExtendFeedback extendFeedback)
      Update a ExtendFeedback
      Parameters:
      extendFeedback - the extendFeedback
    • delete

      void delete(int nId)
      Delete extendFeedback by id
      Parameters:
      nId - the id extendFeedback
    • findById

      Optional<ExtendFeedback> findById(int nId)
      Find extendFeedback by id
      Parameters:
      nId - the id extendFeedback
    • findAllByIdAndTypeResource

      List<ExtendFeedback> findAllByIdAndTypeResource(int nIdResource, String strResourceType)
      Find all extendFeedback by id resource and resource type
      Parameters:
      nIdResource - the id resource
      strResourceType - the resource type
    • findByIdHistory

      Optional<ExtendFeedback> findByIdHistory(int nIdHistory)
      Find extendFeedback by id history
      Parameters:
      nIdHistory - the id history
    • findAll

      List<ExtendFeedback> findAll()
      Find all the extendFeedback
      Returns:
      a list of ExtendFeedback
    • doSubmitFeedback

      boolean doSubmitFeedback(javax.servlet.http.HttpServletRequest request)
      Process feedback
      Parameters:
      request - the request
    • findAllExtendFeedback

      List<ExtendFeedback> findAllExtendFeedback(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.extend.business.extender.ResourceExtenderDTO resourceExtenderDTO)
      Gets list of extendFeedback filtred
      Parameters:
      strStatus -
      strSorting -
      extendableResourceTypeFilter -
      resourceExtenderDTO -
      Returns:
      list of extendFeedback filtred
    • doProcessWorkflow

      boolean doProcessWorkflow(ExtendFeedback extendFeedback, FeedbackExtenderConfig config)
      Process Workflow
      Parameters:
      extendFeedback -
      config -
      Returns:
      true if workflow is processed
    • isAuthorized

      boolean isAuthorized(javax.servlet.http.HttpServletRequest request, FeedbackExtenderConfig config)
      Returns true if user is authorized for send feedback
      Parameters:
      request -
      config -
      Returns: