Interface BlogIntegrationService

  • All Known Implementing Classes:
    BlogIntegrationServiceImpl

    public interface BlogIntegrationService
    Blog integration service.
    Author:
    Roy Wetherall
    • Method Detail

      • register

        void register​(BlogIntegrationImplementation implementation)
        Register a new blog integration implementation with the service
        Parameters:
        implementation - the implementation
      • getBlogIntegrationImplementation

        BlogIntegrationImplementation getBlogIntegrationImplementation​(String implementationName)
        Get the named blog integration implementation, null if name not recognised
        Parameters:
        implementationName - the implementation name
        Returns:
        BlogIntegrationImplementation the blog integration implementation
      • getBlogIntegrationImplementations

        List<BlogIntegrationImplementation> getBlogIntegrationImplementations()
        Get a list of the registered integration implementations.
        Returns:
        list of registered blog integration implementations
      • getBlogDetails

        List<BlogDetails> getBlogDetails​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
        Given a node reference, gets a list of 'in scope' BlogDetails. The node itself and then the primary parent hierarchy is searched and any blog details found returned in a list, with the 'nearest' first.
        Parameters:
        nodeRef - the node reference
        Returns:
        list of the blog details found 'in scope' for the node, empty if none found
      • newPost

        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
        Parameters:
        blogDetails - BlogDetails
        nodeRef - NodeRef
        contentProperty - QName
        publish - boolean
      • updatePost

        void updatePost​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                        org.alfresco.service.namespace.QName contentProperty,
                        boolean publish)
        Parameters:
        nodeRef - NodeRef
        contentProperty - QName
        publish - boolean
      • deletePost

        void deletePost​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
        Parameters:
        nodeRef - NodeRef