|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.blog.BlogIntegrationServiceImpl
public class BlogIntegrationServiceImpl
Blog integration service implementation
| Field Summary | |
|---|---|
static java.util.List |
supportedMimetypes
Supported mimetypes |
| Fields inherited from interface org.alfresco.model.BlogIntegrationModel |
|---|
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 Summary | |
|---|---|
BlogIntegrationServiceImpl()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.util.List supportedMimetypes
| Constructor Detail |
|---|
public BlogIntegrationServiceImpl()
| Method Detail |
|---|
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)
BlogIntegrationService
register in interface BlogIntegrationServiceimplementation - the implementationorg.alfresco.module.blogIntegration.BlogIntegrationService#register(org.alfresco.module.blogIntegration.BlogIntegrationImplementation)public BlogIntegrationImplementation getBlogIntegrationImplementation(java.lang.String implementationName)
BlogIntegrationService
getBlogIntegrationImplementation in interface BlogIntegrationServiceimplementationName - the implementation name
org.alfresco.module.blogIntegration.BlogIntegrationService#getBlogIntegrationImplementation(java.lang.String)public java.util.List getBlogIntegrationImplementations()
BlogIntegrationService
getBlogIntegrationImplementations in interface BlogIntegrationServiceorg.alfresco.module.blogIntegration.BlogIntegrationService#getBlogIntegrationImplementations()public java.util.List getBlogDetails(org.alfresco.service.cmr.repository.NodeRef nodeRef)
BlogIntegrationService
getBlogDetails in interface BlogIntegrationServicenodeRef - the node reference
org.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)
BlogIntegrationService
newPost 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||