Interface PageManagementService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String askAiAssistant​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> prompt)
      This method does copy template to specific route.
      void copyPage​(CopyPageRequest copyRequest)
      This method does copy template to another
      void copyPage​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> copyRequest)
      This method does copy template to another
      java.lang.String createPage​(CreatePageRequest pageRequest)
      This method create a new page
      java.lang.String createPage​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> pageRequest)
      This method create a new page
      void deletePage​(java.lang.String pageId)
      This method delete a page
      void deletePages​(java.util.ArrayList<java.lang.String> pageIds)
      This method delete many pages
      void duplicatePage​(CopyPageRequest copyRequest)
      This method does copy template to another
      void duplicatePage​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> copyRequest)
      This method does copy template to another
      void publishToUrl​(CreateRouteRequest routeRequest)
      This method does copy template to specific route
      void publishToUrl​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> routeRequest)
      This method does copy template to specific route
      void updatePage​(CreatePageRequest pageRequest)
      This method does update an existing page
      void updatePage​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> pageRequest)
      This method does update an existing page
    • Method Detail

      • createPage

        java.lang.String createPage​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> pageRequest)
        This method create a new page
        Parameters:
        pageRequest - this request object as map
        Returns:
        identifier from created page
      • createPage

        java.lang.String createPage​(CreatePageRequest pageRequest)
        This method create a new page
        Parameters:
        pageRequest - this request object as entity
        Returns:
        identifier from created page
      • deletePage

        void deletePage​(java.lang.String pageId)
        This method delete a page
        Parameters:
        pageId - identifier for page
      • deletePages

        void deletePages​(java.util.ArrayList<java.lang.String> pageIds)
        This method delete many pages
        Parameters:
        pageIds - identifiers for pages
      • updatePage

        void updatePage​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> pageRequest)
        This method does update an existing page
        Parameters:
        pageRequest - this request object as map
      • updatePage

        void updatePage​(CreatePageRequest pageRequest)
        This method does update an existing page
        Parameters:
        pageRequest - this request object as entity
      • copyPage

        void copyPage​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> copyRequest)
        This method does copy template to another
        Parameters:
        copyRequest - this request object as map
      • duplicatePage

        void duplicatePage​(CopyPageRequest copyRequest)
        This method does copy template to another
        Parameters:
        copyRequest - this request object as entity
      • duplicatePage

        void duplicatePage​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> copyRequest)
        This method does copy template to another
        Parameters:
        copyRequest - this request object as map
      • copyPage

        void copyPage​(CopyPageRequest copyRequest)
        This method does copy template to another
        Parameters:
        copyRequest - this request object as entity
      • publishToUrl

        void publishToUrl​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> routeRequest)
        This method does copy template to specific route
        Parameters:
        routeRequest - this request object as map
      • publishToUrl

        void publishToUrl​(CreateRouteRequest routeRequest)
        This method does copy template to specific route
        Parameters:
        routeRequest - this request object as entity
      • askAiAssistant

        java.lang.String askAiAssistant​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> prompt)
        This method does copy template to specific route. Only interact with web-socket calls.
        Parameters:
        prompt - this prompt to Ai-assistant
        Returns:
        the answer from ChatGPT