Interface BlogIntegrationImplementation

    • Method Detail

      • getName

        String getName()
        Gets the name of the blog integration
        Returns:
        String the name of the blog integration
      • getDisplayName

        String getDisplayName()
        Gets the display name of the blog integration
        Returns:
        String the display name of the blog integration
      • newPost

        String newPost​(BlogDetails blogDetails,
                       String title,
                       String body,
                       boolean publish)
        Create a new post on the blog.
        Parameters:
        blogDetails - the blog details
        title - the title of the post
        body - the body of the post
        publish - indicates whether the post is published or not
        Returns:
        String the newly created post id
      • updatePost

        boolean updatePost​(BlogDetails blogDetails,
                           String postId,
                           String title,
                           String body,
                           boolean publish)
        Update an exisiting blog post
        Parameters:
        blogDetails - BlogDetails
        postId - String
        title - String
        body - String
        publish - boolean
        Returns:
        boolean
      • getPost

        Map<String,​Object> getPost​(BlogDetails blogDetails,
                                         String postId)
        Get the details of an existing blog post
        Parameters:
        blogDetails - BlogDetails
        postId - String
        Returns:
        Map
      • deletePost

        boolean deletePost​(BlogDetails blogDetails,
                           String postId)
        Delete an existing blog post
        Parameters:
        blogDetails - BlogDetails
        postId - String
        Returns:
        boolean