Class NotePageContentBlockPlugin

java.lang.Object
io.meeds.notes.plugin.NotePageContentBlockPlugin
All Implemented Interfaces:
io.meeds.social.cms.plugin.PageContentBlockPlugin

@Component public class NotePageContentBlockPlugin extends Object implements io.meeds.social.cms.plugin.PageContentBlockPlugin
Extracts the content of a Notes "Single Note View" content block so that Social's generic PageContentIndexingConnector can index it, without Social depending on Notes.
  • Constructor Details

    • NotePageContentBlockPlugin

      public NotePageContentBlockPlugin()
  • Method Details

    • init

      @PostConstruct public void init()
    • getContentType

      public String getContentType()
      Specified by:
      getContentType in interface io.meeds.social.cms.plugin.PageContentBlockPlugin
    • getContent

      public io.meeds.social.cms.model.PageContentBlock getContent(io.meeds.social.cms.model.CMSSetting setting)
      Specified by:
      getContent in interface io.meeds.social.cms.plugin.PageContentBlockPlugin