Class TaskAttachmentACLPlugin

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.attachments.plugin.AttachmentACLPlugin
org.exoplatform.services.attachments.plugin.task.TaskAttachmentACLPlugin
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class TaskAttachmentACLPlugin extends org.exoplatform.services.attachments.plugin.AttachmentACLPlugin
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    TaskAttachmentACLPlugin(org.exoplatform.task.service.TaskService taskService, org.exoplatform.social.core.manager.IdentityManager identityManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canDetach(long userIdentityId, String entityType, String entityId)
     
    boolean
    canEdit(long userIdentityId, String entityType, String entityId)
     
    boolean
    canView(long userIdentityId, String entityType, String entityId)
     
     

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TaskAttachmentACLPlugin

      public TaskAttachmentACLPlugin(org.exoplatform.task.service.TaskService taskService, org.exoplatform.social.core.manager.IdentityManager identityManager)
  • Method Details

    • getEntityType

      public String getEntityType()
      Specified by:
      getEntityType in class org.exoplatform.services.attachments.plugin.AttachmentACLPlugin
    • canView

      public boolean canView(long userIdentityId, String entityType, String entityId)
      Specified by:
      canView in class org.exoplatform.services.attachments.plugin.AttachmentACLPlugin
    • canEdit

      public boolean canEdit(long userIdentityId, String entityType, String entityId)
      Specified by:
      canEdit in class org.exoplatform.services.attachments.plugin.AttachmentACLPlugin
    • canDetach

      public boolean canDetach(long userIdentityId, String entityType, String entityId)
      Specified by:
      canDetach in class org.exoplatform.services.attachments.plugin.AttachmentACLPlugin