Interface IWebMemWebCallsAdapter


  • public interface IWebMemWebCallsAdapter
    Interface for webAppOS server-side web calls adapters implementing the "webmemcall" calling conventions. Each adapter must be implemented as Java class with the full name org.webappos.adapters.webcalls.[adapter_name].WebCallsAdapter. The same adapter can implement IJsonWebCallsAdapter as well.
    Author:
    Sergejs Kozlovics
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void webmemcall​(java.lang.String resolvedLocation, java.lang.String pwd, long rObject, IWebMemory webmem, java.lang.String project_id, java.lang.String appFullName, java.lang.String login)
      Performs a web call according to the "webmemcall" calling conventions.
    • Method Detail

      • webmemcall

        void webmemcall​(java.lang.String resolvedLocation,
                        java.lang.String pwd,
                        long rObject,
                        IWebMemory webmem,
                        java.lang.String project_id,
                        java.lang.String appFullName,
                        java.lang.String login)
        Performs a web call according to the "webmemcall" calling conventions.
        Parameters:
        resolvedLocation - adapter-specific location of code to execute
        pwd - the directory, where the .webcalls file was located
        rObject - a repository object (usually, a command or an event)
        webmem - a pointer to web memory
        project_id - the current project_id
        appFullName - the name of the current app
        login - the current user login