| 
    Leosac
    0.7.0
    
   OpenSourceAccessControl 
   | 
 
Request the creation of a persistent update based on the uuid of a transient update::UpdateDescriptor object. More...
#include <CreateUpdate.hpp>
 Inheritance diagram for Leosac::Module::WebSockAPI::CreateUpdate:
 Collaboration diagram for Leosac::Module::WebSockAPI::CreateUpdate:Public Member Functions | |
| CreateUpdate (RequestContext ctx) | |
  Public Member Functions inherited from Leosac::Module::WebSockAPI::MethodHandler | |
| MethodHandler (RequestContext ctx) | |
| virtual | ~MethodHandler ()=default | 
| json | process (const ClientMessage &msg) | 
The public process() method.  More... | |
| UserSecurityContext & | security_context () | 
| ExecutionContext | exec_context () | 
| Returns a representation of the execution context of this request.  More... | |
Static Public Member Functions | |
| static MethodHandlerUPtr | create (RequestContext) | 
  Static Public Member Functions inherited from Leosac::Module::WebSockAPI::MethodHandler | |
| static MethodHandlerUPtr | create (RequestContext) | 
| An example method that should be implemented in all subclasses.  More... | |
Protected Member Functions | |
| std::vector< ActionActionParam > | required_permission (const json &req) const override | 
| Return a list of "Action" / "ActionParam" that must pass before the request is processed.  More... | |
Private Member Functions | |
| virtual json | process_impl (const json &req) override | 
| The API method implementation.  More... | |
Additional Inherited Members | |
  Public Types inherited from Leosac::Module::WebSockAPI::MethodHandler | |
| using | Factory = MethodHandlerUPtr(*)(RequestContext) | 
  Protected Attributes inherited from Leosac::Module::WebSockAPI::MethodHandler | |
| RequestContext | ctx_ | 
Request the creation of a persistent update based on the uuid of a transient update::UpdateDescriptor object.
Request: { descriptor_uuid: xxxx-yyy-.... }
Definition at line 42 of file CreateUpdate.hpp.
| Leosac::Module::WebSockAPI::CreateUpdate::CreateUpdate | ( | RequestContext | ctx | ) | 
Definition at line 31 of file CreateUpdate.cpp.
      
  | 
  static | 
Definition at line 36 of file CreateUpdate.cpp.
      
  | 
  overrideprivatevirtual | 
The API method implementation.
content key in the JSON message sent to the client. Implements Leosac::Module::WebSockAPI::MethodHandler.
Definition at line 50 of file CreateUpdate.cpp.
      
  | 
  overrideprotectedvirtual | 
Return a list of "Action" / "ActionParam" that must pass before the request is processed.
Implements Leosac::Module::WebSockAPI::MethodHandler.
Definition at line 41 of file CreateUpdate.cpp.