public class BlogIntegrationServiceImpl extends java.lang.Object implements BlogIntegrationService, BlogIntegrationModel
| Modifier and Type | Field and Description |
|---|---|
static java.util.List |
supportedMimetypes
Supported mimetypes
|
ASPECT_BLOG_DETAILS, ASPECT_BLOG_POST, ASSOC_BLOG_DETAILS, MODEL_PREFIX, MODEL_URL, PROP_BLOG_IMPLEMENTATION, PROP_DESCRIPTION, PROP_ID, PROP_LAST_UPDATE, PROP_LINK, PROP_NAME, PROP_PASSWORD, PROP_POST_ID, PROP_POSTED, PROP_PUBLISHED, PROP_URL, PROP_USER_NAME| Constructor and Description |
|---|
BlogIntegrationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
deletePost(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
java.util.List |
getBlogDetails(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Given a node reference, gets a list of 'in scope' BlogDetails.
|
BlogIntegrationImplementation |
getBlogIntegrationImplementation(java.lang.String implementationName)
Get the named blog integration implementation, null if name not recognised
|
java.util.List |
getBlogIntegrationImplementations()
Get a list of the registered integration implementations.
|
void |
newPost(BlogDetails blogDetails,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName contentProperty,
boolean publish)
Posts the content of a node to the blog specified
|
void |
register(BlogIntegrationImplementation implementation)
Register a new blog integration implementation with the service
|
void |
setContentService(ContentService contentService)
Set the content service
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set the node service
|
void |
updatePost(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName contentProperty,
boolean publish) |
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - the node servicepublic void setContentService(ContentService contentService)
contentService - the content servicepublic void register(BlogIntegrationImplementation implementation)
BlogIntegrationServiceregister in interface BlogIntegrationServiceimplementation - the implementationorg.alfresco.module.blogIntegration.BlogIntegrationService#register(org.alfresco.module.blogIntegration.BlogIntegrationImplementation)public BlogIntegrationImplementation getBlogIntegrationImplementation(java.lang.String implementationName)
BlogIntegrationServicegetBlogIntegrationImplementation in interface BlogIntegrationServiceimplementationName - the implementation nameorg.alfresco.module.blogIntegration.BlogIntegrationService#getBlogIntegrationImplementation(java.lang.String)public java.util.List getBlogIntegrationImplementations()
BlogIntegrationServicegetBlogIntegrationImplementations in interface BlogIntegrationServiceorg.alfresco.module.blogIntegration.BlogIntegrationService#getBlogIntegrationImplementations()public java.util.List getBlogDetails(org.alfresco.service.cmr.repository.NodeRef nodeRef)
BlogIntegrationServicegetBlogDetails in interface BlogIntegrationServicenodeRef - the node referenceorg.alfresco.module.blogIntegration.BlogIntegrationService#getBlogDetails(org.alfresco.service.cmr.repository.NodeRef)public void newPost(BlogDetails blogDetails, org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName contentProperty, boolean publish)
BlogIntegrationServicenewPost in interface BlogIntegrationServiceorg.alfresco.module.blogIntegration.BlogIntegrationService#newPost(org.alfresco.module.blogIntegration.BlogDetails, org.alfresco.service.cmr.repository.NodeRef, org.alfresco.service.namespace.QName, boolean)public void updatePost(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName contentProperty,
boolean publish)
updatePost in interface BlogIntegrationServiceorg.alfresco.module.blogIntegration.BlogIntegrationService#updatePost(org.alfresco.service.cmr.repository.NodeRef, org.alfresco.service.namespace.QName, boolean)public void deletePost(org.alfresco.service.cmr.repository.NodeRef nodeRef)
deletePost in interface BlogIntegrationServiceorg.alfresco.module.blogIntegration.BlogIntegrationService#deletePost(org.alfresco.service.cmr.repository.NodeRef)Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.