Class ProfilePropertySettingOptionTranslation

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

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

    • PROFILE_PROPERTY_SETTING_OPTION_OBJECT_TYPE

      public static final String PROFILE_PROPERTY_SETTING_OPTION_OBJECT_TYPE
      See Also:
  • Constructor Details

    • ProfilePropertySettingOptionTranslation

      public ProfilePropertySettingOptionTranslation(org.exoplatform.portal.config.UserACL userACL)
  • Method Details

    • getObjectType

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

      public boolean hasAccessPermission(String objectId, 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(String objectId, 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(String 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(String objectId) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      getSpaceId in class io.meeds.social.translation.plugin.TranslationPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException