Class ProcessesAttachmentServiceImpl

  • All Implemented Interfaces:
    org.exoplatform.processes.service.ProcessesAttachmentService

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

      • 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 Detail

      • 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