Class ActivityAttachmentPlugin

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.attachment.AttachmentPlugin
org.exoplatform.social.core.plugin.ActivityAttachmentPlugin
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class ActivityAttachmentPlugin extends org.exoplatform.social.attachment.AttachmentPlugin
  • Field Details

  • Constructor Details

    • ActivityAttachmentPlugin

      public ActivityAttachmentPlugin(org.exoplatform.social.core.manager.ActivityManager activityManager)
  • 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 activityId) 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 activityId) 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 activityId) 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 activityId) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      getSpaceId in class org.exoplatform.social.attachment.AttachmentPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException