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 Summary
FieldsFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionProfilePropertySettingOptionTranslation(org.exoplatform.portal.config.UserACL userACL) -
Method Summary
Modifier and TypeMethodDescriptionlonggetAudienceId(String objectId) longgetSpaceId(String objectId) booleanhasAccessPermission(String objectId, String username) booleanhasEditPermission(String objectId, String username) Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Field Details
-
PROFILE_PROPERTY_SETTING_OPTION_OBJECT_TYPE
- See Also:
-
-
Constructor Details
-
ProfilePropertySettingOptionTranslation
public ProfilePropertySettingOptionTranslation(org.exoplatform.portal.config.UserACL userACL)
-
-
Method Details
-
getObjectType
- Specified by:
getObjectTypein classio.meeds.social.translation.plugin.TranslationPlugin
-
hasAccessPermission
public boolean hasAccessPermission(String objectId, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException - Specified by:
hasAccessPermissionin classio.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:
hasEditPermissionin classio.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:
getAudienceIdin classio.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:
getSpaceIdin classio.meeds.social.translation.plugin.TranslationPlugin- Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-