Package io.meeds.social.image.plugin
Class PublicImageAttachmentPlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.attachment.AttachmentPlugin
io.meeds.social.image.plugin.PublicImageAttachmentPlugin
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class PublicImageAttachmentPlugin
extends org.exoplatform.social.attachment.AttachmentPlugin
-
Field Summary
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonggetAudienceId(String objectId) longgetSpaceId(String objectId) booleanhasAccessPermission(org.exoplatform.services.security.Identity userIdentity, String entityId) booleanhasEditPermission(org.exoplatform.services.security.Identity userIdentity, String entityId) Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Constructor Details
-
PublicImageAttachmentPlugin
public PublicImageAttachmentPlugin(org.exoplatform.portal.config.UserACL userACL)
-
-
Method Details
-
getObjectType
- Specified by:
getObjectTypein classorg.exoplatform.social.attachment.AttachmentPlugin
-
hasAccessPermission
public boolean hasAccessPermission(org.exoplatform.services.security.Identity userIdentity, String entityId) 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 entityId) 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 objectId) 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 objectId) throws org.exoplatform.commons.exception.ObjectNotFoundException - Specified by:
getSpaceIdin classorg.exoplatform.social.attachment.AttachmentPlugin- Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-
canUpdateAttachmentList
public boolean canUpdateAttachmentList()- Overrides:
canUpdateAttachmentListin classorg.exoplatform.social.attachment.AttachmentPlugin
-