Package io.meeds.social.image.plugin
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
FieldsFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionImageAttachmentPlugin(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 TypeMethodDescriptionlonggetAudienceId(String settingName) longgetSpaceId(String settingName) booleanhasAccessPermission(org.exoplatform.services.security.Identity userIdentity, String settingName) booleanhasEditPermission(org.exoplatform.services.security.Identity userIdentity, String settingName) Methods inherited from class org.exoplatform.social.attachment.AttachmentPlugin
canUpdateAttachmentListMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Field Details
-
OBJECT_TYPE
- See Also:
-
-
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
- Specified by:
getObjectTypein classorg.exoplatform.social.attachment.AttachmentPlugin
-
hasAccessPermission
public boolean hasAccessPermission(org.exoplatform.services.security.Identity userIdentity, String settingName) throws org.exoplatform.commons.exception.ObjectNotFoundException - Specified by:
hasAccessPermissionin classorg.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:
hasEditPermissionin classorg.exoplatform.social.attachment.AttachmentPlugin- Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-
getAudienceId
public long getAudienceId(String settingName) throws org.exoplatform.commons.exception.ObjectNotFoundException - Specified by:
getAudienceIdin classorg.exoplatform.social.attachment.AttachmentPlugin- Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-
getSpaceId
public long getSpaceId(String settingName) throws org.exoplatform.commons.exception.ObjectNotFoundException - Specified by:
getSpaceIdin classorg.exoplatform.social.attachment.AttachmentPlugin- Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-