Class SectionTemplateAttachmentPlugin

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.attachment.AttachmentPlugin
io.meeds.layout.plugin.attachment.SectionTemplateAttachmentPlugin
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

@Component @Order(-2147483648) public class SectionTemplateAttachmentPlugin extends org.exoplatform.social.attachment.AttachmentPlugin
  • Field Details

  • Constructor Details

    • SectionTemplateAttachmentPlugin

      public SectionTemplateAttachmentPlugin()
  • Method Details

    • init

      @PostConstruct public void init()
    • getObjectType

      public String getObjectType()
      Specified by:
      getObjectType in class org.exoplatform.social.attachment.AttachmentPlugin
    • hasEditPermission

      public boolean hasEditPermission(org.exoplatform.services.security.Identity userIdentity, String entityId)
      Specified by:
      hasEditPermission in class org.exoplatform.social.attachment.AttachmentPlugin
    • hasAccessPermission

      public boolean hasAccessPermission(org.exoplatform.services.security.Identity userIdentity, String entityId)
      Specified by:
      hasAccessPermission in class org.exoplatform.social.attachment.AttachmentPlugin
    • getAudienceId

      public long getAudienceId(String objectId) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      getAudienceId in class org.exoplatform.social.attachment.AttachmentPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
    • getSpaceId

      public long getSpaceId(String objectId) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      getSpaceId in class org.exoplatform.social.attachment.AttachmentPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException