org.alfresco.repo.blog
Interface BlogIntegrationImplementation

All Known Implementing Classes:
BaseBlogIntegrationImplementation, DefaultBlogIntegrationImplementation, TypepadIntegration, WordPressIntegration

public interface BlogIntegrationImplementation

Blog integration implementation interface


Method Summary
 boolean deletePost(BlogDetails blogDetails, java.lang.String postId)
          Delete an existing blog post
 java.lang.String getDisplayName()
          Gets the display name of the blog integration
 java.lang.String getName()
          Gets the name of the blog integration
 java.util.Map getPost(BlogDetails blogDetails, java.lang.String postId)
          Get the details of an existing blog post
 java.lang.String newPost(BlogDetails blogDetails, java.lang.String title, java.lang.String body, boolean publish)
          Create a new post on the blog.
 boolean updatePost(BlogDetails blogDetails, java.lang.String postId, java.lang.String title, java.lang.String body, boolean publish)
          Update an exisiting blog post
 

Method Detail

getName

java.lang.String getName()
Gets the name of the blog integration

Returns:
String the name of the blog integration

getDisplayName

java.lang.String getDisplayName()
Gets the display name of the blog integration

Returns:
String the display name of the blog integration

newPost

java.lang.String newPost(BlogDetails blogDetails,
                         java.lang.String title,
                         java.lang.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,
                   java.lang.String postId,
                   java.lang.String title,
                   java.lang.String body,
                   boolean publish)
Update an exisiting blog post

Parameters:
blogDetails -
postId -
title -
body -
publish -
Returns:

getPost

java.util.Map getPost(BlogDetails blogDetails,
                      java.lang.String postId)
Get the details of an existing blog post

Parameters:
blogDetails -
postId -
Returns:

deletePost

boolean deletePost(BlogDetails blogDetails,
                   java.lang.String postId)
Delete an existing blog post

Parameters:
blogDetails -
postId -
Returns:


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.