public interface BlogIntegrationImplementation
Modifier and Type | Method and Description |
---|---|
boolean |
deletePost(BlogDetails blogDetails,
String postId)
Delete an existing blog post
|
String |
getDisplayName()
Gets the display name of the blog integration
|
String |
getName()
Gets the name of the blog integration
|
Map<String,Object> |
getPost(BlogDetails blogDetails,
String postId)
Get the details of an existing blog post
|
String |
newPost(BlogDetails blogDetails,
String title,
String body,
boolean publish)
Create a new post on the blog.
|
boolean |
updatePost(BlogDetails blogDetails,
String postId,
String title,
String body,
boolean publish)
Update an exisiting blog post
|
String getName()
String getDisplayName()
String newPost(BlogDetails blogDetails, String title, String body, boolean publish)
blogDetails
- the blog detailstitle
- the title of the postbody
- the body of the postpublish
- indicates whether the post is published or notboolean updatePost(BlogDetails blogDetails, String postId, String title, String body, boolean publish)
blogDetails
- BlogDetailspostId
- Stringtitle
- Stringbody
- Stringpublish
- booleanMap<String,Object> getPost(BlogDetails blogDetails, String postId)
blogDetails
- BlogDetailspostId
- Stringboolean deletePost(BlogDetails blogDetails, String postId)
blogDetails
- BlogDetailspostId
- StringCopyright © 2005–2017 Alfresco Software. All rights reserved.