Package org.exoplatform.task.integration
Class TaskCommentAttachmentPlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.attachment.AttachmentPlugin
org.exoplatform.task.integration.TaskCommentAttachmentPlugin
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class TaskCommentAttachmentPlugin
extends org.exoplatform.social.attachment.AttachmentPlugin
-
Field Summary
FieldsFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionTaskCommentAttachmentPlugin(TaskService taskService, CommentService commentService, ProjectService projectService, org.exoplatform.social.core.space.spi.SpaceService spaceService) -
Method Summary
Modifier and TypeMethodDescriptionlonggetAudienceId(String entityId) longgetSpaceId(String entityId) 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
-
Field Details
-
TASK_COMMENT_OBJECT_TYPE
- See Also:
-
TASK_COMMENT_NOT_FOUND_EXCEPTION_MESSAGE
- See Also:
-
-
Constructor Details
-
TaskCommentAttachmentPlugin
public TaskCommentAttachmentPlugin(TaskService taskService, CommentService commentService, ProjectService projectService, org.exoplatform.social.core.space.spi.SpaceService spaceService)
-
-
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 entityId) 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 entityId) throws org.exoplatform.commons.exception.ObjectNotFoundException - Specified by:
getSpaceIdin classorg.exoplatform.social.attachment.AttachmentPlugin- Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-