Class ProcessesAttachmentServiceImpl

java.lang.Object
org.exoplatform.processes.service.ProcessesAttachmentServiceImpl
All Implemented Interfaces:
org.exoplatform.processes.service.ProcessesAttachmentService

public class ProcessesAttachmentServiceImpl extends Object implements org.exoplatform.processes.service.ProcessesAttachmentService
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProcessesAttachmentServiceImpl(org.exoplatform.services.attachments.service.AttachmentService attachmentService, org.exoplatform.services.jcr.RepositoryService repositoryService, org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviderService, org.exoplatform.services.cms.drives.ManageDriveService manageDriveService, org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator, org.exoplatform.services.cms.link.NodeFinder nodeFinder, org.exoplatform.task.service.ProjectService projectService, org.exoplatform.social.core.manager.IdentityManager identityManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    copyAttachmentsToEntity(Long userId, Long sourceEntityId, String sourceEntityType, Long destEntityId, String destEntityType, Long projectId)
     
    org.exoplatform.services.attachments.model.Attachment
    createNewFormDocument(Long userIdentityId, String title, String path, String pathDrive, String templateName, String entityType, Long entityId)
     
    void
    linkAttachmentsToEntity(org.exoplatform.services.attachments.model.Attachment[] attachments, Long userId, Long entityId, String entityType, Long projectId)
     
    void
    moveAttachmentsToEntity(Long userId, Long sourceEntityId, String sourceEntityType, Long destEntityId, String destEntityType, Long projectId)
     

    Methods inherited from class java.lang.Object

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

    • ProcessesAttachmentServiceImpl

      public ProcessesAttachmentServiceImpl(org.exoplatform.services.attachments.service.AttachmentService attachmentService, org.exoplatform.services.jcr.RepositoryService repositoryService, org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviderService, org.exoplatform.services.cms.drives.ManageDriveService manageDriveService, org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator, org.exoplatform.services.cms.link.NodeFinder nodeFinder, org.exoplatform.task.service.ProjectService projectService, org.exoplatform.social.core.manager.IdentityManager identityManager)
  • Method Details

    • linkAttachmentsToEntity

      public void linkAttachmentsToEntity(org.exoplatform.services.attachments.model.Attachment[] attachments, Long userId, Long entityId, String entityType, Long projectId)
      Specified by:
      linkAttachmentsToEntity in interface org.exoplatform.processes.service.ProcessesAttachmentService
    • moveAttachmentsToEntity

      public void moveAttachmentsToEntity(Long userId, Long sourceEntityId, String sourceEntityType, Long destEntityId, String destEntityType, Long projectId)
      Specified by:
      moveAttachmentsToEntity in interface org.exoplatform.processes.service.ProcessesAttachmentService
    • copyAttachmentsToEntity

      public void copyAttachmentsToEntity(Long userId, Long sourceEntityId, String sourceEntityType, Long destEntityId, String destEntityType, Long projectId)
      Specified by:
      copyAttachmentsToEntity in interface org.exoplatform.processes.service.ProcessesAttachmentService
    • createNewFormDocument

      public org.exoplatform.services.attachments.model.Attachment createNewFormDocument(Long userIdentityId, String title, String path, String pathDrive, String templateName, String entityType, Long entityId) throws Exception
      Specified by:
      createNewFormDocument in interface org.exoplatform.processes.service.ProcessesAttachmentService
      Throws:
      Exception