Class TaskAttachmentEntityTypePlugin

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.attachments.service.AttachmentEntityTypePlugin
org.exoplatform.services.attachments.plugins.TaskAttachmentEntityTypePlugin
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class TaskAttachmentEntityTypePlugin extends org.exoplatform.services.attachments.service.AttachmentEntityTypePlugin
Plugin to define how and where files attached to tasks are stored
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

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

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    TaskAttachmentEntityTypePlugin(org.exoplatform.task.service.TaskService taskService, org.exoplatform.task.service.ProjectService projectService, org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator, org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviderService, org.exoplatform.services.jcr.RepositoryService repositoryService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    getlinkedAttachments(String entityType, long entityId, String attachmentId)
     

    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
  • Field Details

  • Constructor Details

    • TaskAttachmentEntityTypePlugin

      public TaskAttachmentEntityTypePlugin(org.exoplatform.task.service.TaskService taskService, org.exoplatform.task.service.ProjectService projectService, org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator, org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviderService, org.exoplatform.services.jcr.RepositoryService repositoryService)
  • Method Details

    • getlinkedAttachments

      public List<String> getlinkedAttachments(String entityType, long entityId, String attachmentId)
      Overrides:
      getlinkedAttachments in class org.exoplatform.services.attachments.service.AttachmentEntityTypePlugin
    • getEntityType

      public String getEntityType()
      Overrides:
      getEntityType in class org.exoplatform.services.attachments.service.AttachmentEntityTypePlugin