Class LinkSettingTranslationPlugin

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
io.meeds.social.translation.plugin.TranslationPlugin
io.meeds.social.link.plugin.LinkSettingTranslationPlugin
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class LinkSettingTranslationPlugin extends io.meeds.social.translation.plugin.TranslationPlugin
  • Field Details

  • Constructor Details

    • LinkSettingTranslationPlugin

      public LinkSettingTranslationPlugin(io.meeds.social.link.service.LinkService linkService, org.exoplatform.services.security.IdentityRegistry identityRegistry, org.exoplatform.services.organization.OrganizationService organizationService)
  • Method Details

    • getObjectType

      public String getObjectType()
      Specified by:
      getObjectType in class io.meeds.social.translation.plugin.TranslationPlugin
    • hasAccessPermission

      public boolean hasAccessPermission(long linkSettingId, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      hasAccessPermission in class io.meeds.social.translation.plugin.TranslationPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
    • hasEditPermission

      public boolean hasEditPermission(long linkSettingId, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      hasEditPermission in class io.meeds.social.translation.plugin.TranslationPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
    • getAudienceId

      public long getAudienceId(long objectId) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      getAudienceId in class io.meeds.social.translation.plugin.TranslationPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
    • getSpaceId

      public long getSpaceId(long objectId) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      getSpaceId in class io.meeds.social.translation.plugin.TranslationPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException