Class ImageAttachmentPlugin

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

public class ImageAttachmentPlugin extends org.exoplatform.social.attachment.AttachmentPlugin
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    ImageAttachmentPlugin(io.meeds.social.cms.service.CMSService cmsService, org.exoplatform.social.core.space.spi.SpaceService spaceService, org.exoplatform.social.core.manager.IdentityManager identityManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    getAudienceId(String settingName)
     
     
    long
    getSpaceId(String settingName)
     
    boolean
    hasAccessPermission(org.exoplatform.services.security.Identity userIdentity, String settingName)
     
    boolean
    hasEditPermission(org.exoplatform.services.security.Identity userIdentity, String settingName)
     

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ImageAttachmentPlugin

      public ImageAttachmentPlugin(io.meeds.social.cms.service.CMSService cmsService, org.exoplatform.social.core.space.spi.SpaceService spaceService, org.exoplatform.social.core.manager.IdentityManager identityManager)
  • Method Details

    • getObjectType

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

      public boolean hasAccessPermission(org.exoplatform.services.security.Identity userIdentity, String settingName) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      hasAccessPermission in class org.exoplatform.social.attachment.AttachmentPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
    • hasEditPermission

      public boolean hasEditPermission(org.exoplatform.services.security.Identity userIdentity, String settingName) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      hasEditPermission in class org.exoplatform.social.attachment.AttachmentPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
    • getAudienceId

      public long getAudienceId(String settingName) 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 settingName) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      getSpaceId in class org.exoplatform.social.attachment.AttachmentPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException