Interface ContributionOperationContextPropertyHandler

  • All Known Implementing Classes:
    ContributionModificationContextHandler, UserSubscriptionNotificationSendingHandler

    public interface ContributionOperationContextPropertyHandler
    Handler of a property of the context of an operation implying a contribution.

    The contributions are the core of the information handled by the users. As such, they are implied in a lot of operations like a document saving or a user notification. Each operation in Silverpeas can carry a context that can give the operator some data on how to perform this operation. Properties can be defined within the scope of such a context in order to direct the operation processing in different ways: it is the goal of the ContributionOperationContextPropertyHandler to set such properties and to give access to them to the operator that performs some of the operations implying the contributions.

    Author:
    mmoquillon
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void parseForProperty​(javax.servlet.http.HttpServletRequest request)
      Parses the specified incoming HTTP request for a given property of the context of the operation triggered or asked by the specified request.
      static void parseRequest​(javax.servlet.http.HttpServletRequest request)
      Parses the specified HTTP request for properties additional to the context of the operation triggered or asked by the specified request.
    • Method Detail

      • parseForProperty

        void parseForProperty​(javax.servlet.http.HttpServletRequest request)
        Parses the specified incoming HTTP request for a given property of the context of the operation triggered or asked by the specified request.
        Parameters:
        request - an HTTP request.
      • parseRequest

        static void parseRequest​(javax.servlet.http.HttpServletRequest request)
        Parses the specified HTTP request for properties additional to the context of the operation triggered or asked by the specified request. It delegates the parsing to all the handlers, each of them about a given and different context property.
        Parameters:
        request - an HTTP request from which an operation implied a contribution is going to be triggered.