Package org.alfresco.repo.blog.typepad
Class TypepadIntegration
- java.lang.Object
-
- org.alfresco.repo.blog.BaseBlogIntegrationImplementation
-
- org.alfresco.repo.blog.DefaultBlogIntegrationImplementation
-
- org.alfresco.repo.blog.typepad.TypepadIntegration
-
- All Implemented Interfaces:
BlogIntegrationImplementation
public class TypepadIntegration extends DefaultBlogIntegrationImplementation
Typepad integration implementation- Author:
- Roy Wetherall
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.blog.DefaultBlogIntegrationImplementation
ACTION_DELETE_POST, ACTION_EDIT_POST, ACTION_GET_POST, ACTION_NEW_POST
-
-
Constructor Summary
Constructors Constructor Description TypepadIntegration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandeletePost(BlogDetails blogDetails, String postId)For some reason typepad returns a hash table rather than the expected boolean result.protected StringgetEndpointURL(BlogDetails blogDetails)Gets the XML RPC end point URL for the given blog details.-
Methods inherited from class org.alfresco.repo.blog.DefaultBlogIntegrationImplementation
checkForProtocol, checkForTrainlingSlash, execute, getPost, newPost, updatePost
-
Methods inherited from class org.alfresco.repo.blog.BaseBlogIntegrationImplementation
getDisplayName, getName, register, setBlogIntegrationService, setDisplayName, setName
-
-
-
-
Method Detail
-
getEndpointURL
protected String getEndpointURL(BlogDetails blogDetails)
Description copied from class:DefaultBlogIntegrationImplementationGets the XML RPC end point URL for the given blog details.- Specified by:
getEndpointURLin classDefaultBlogIntegrationImplementation- Parameters:
blogDetails- blog details- Returns:
- String the end point URL
- See Also:
DefaultBlogIntegrationImplementation.getEndpointURL(org.alfresco.repo.blog.BlogDetails)
-
deletePost
public boolean deletePost(BlogDetails blogDetails, String postId)
For some reason typepad returns a hash table rather than the expected boolean result.- Specified by:
deletePostin interfaceBlogIntegrationImplementation- Overrides:
deletePostin classDefaultBlogIntegrationImplementation- Parameters:
blogDetails- BlogDetailspostId- String- Returns:
- boolean
- See Also:
BlogIntegrationImplementation.deletePost(org.alfresco.repo.blog.BlogDetails, java.lang.String)
-
-