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.AttachmentEntityTypePluginPlugin to define how and where files attached to tasks are stored
-
-
Field Summary
Fields Modifier and Type Field Description static StringDOCUMENTS_NODEstatic StringGROUPS_PATH_ALIAS
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEntityType()List<String>getlinkedAttachments(String entityType, long entityId, String attachmentId)
-
-
-
Field Detail
-
DOCUMENTS_NODE
public static final String DOCUMENTS_NODE
- See Also:
- Constant Field Values
-
GROUPS_PATH_ALIAS
public static final String GROUPS_PATH_ALIAS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
getlinkedAttachments
public List<String> getlinkedAttachments(String entityType, long entityId, String attachmentId)
- Overrides:
getlinkedAttachmentsin classorg.exoplatform.services.attachments.service.AttachmentEntityTypePlugin
-
getEntityType
public String getEntityType()
- Overrides:
getEntityTypein classorg.exoplatform.services.attachments.service.AttachmentEntityTypePlugin
-
-