Class SiteTemplateAttachmentPlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.attachment.AttachmentPlugin
io.meeds.layout.plugin.attachment.SiteTemplateAttachmentPlugin
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
@Component
@Order(-2147483648)
public class SiteTemplateAttachmentPlugin
extends org.exoplatform.social.attachment.AttachmentPlugin
-
Field Summary
FieldsFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetAudienceId(String objectId) longgetSpaceId(String objectId) booleanhasAccessPermission(org.exoplatform.services.security.Identity userIdentity, String entityId) booleanhasEditPermission(org.exoplatform.services.security.Identity userIdentity, String entityId) voidinit()Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Field Details
-
OBJECT_TYPE
- See Also:
-
-
Constructor Details
-
SiteTemplateAttachmentPlugin
public SiteTemplateAttachmentPlugin()
-
-
Method Details
-
init
@PostConstruct public void init() -
getObjectType
- Specified by:
getObjectTypein classorg.exoplatform.social.attachment.AttachmentPlugin
-
hasEditPermission
public boolean hasEditPermission(org.exoplatform.services.security.Identity userIdentity, String entityId) - Specified by:
hasEditPermissionin classorg.exoplatform.social.attachment.AttachmentPlugin
-
hasAccessPermission
public boolean hasAccessPermission(org.exoplatform.services.security.Identity userIdentity, String entityId) - Specified by:
hasAccessPermissionin classorg.exoplatform.social.attachment.AttachmentPlugin
-
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
-