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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyAttachmentsToEntity(Long userId, Long sourceEntityId, String sourceEntityType, Long destEntityId, String destEntityType, Long projectId)org.exoplatform.services.attachments.model.AttachmentcreateNewFormDocument(Long userIdentityId, String title, String path, String pathDrive, String templateName, String entityType, Long entityId)voidlinkAttachmentsToEntity(org.exoplatform.services.attachments.model.Attachment[] attachments, Long userId, Long entityId, String entityType, Long projectId)voidmoveAttachmentsToEntity(Long userId, Long sourceEntityId, String sourceEntityType, Long destEntityId, String destEntityType, Long projectId)
-
-
-
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:
linkAttachmentsToEntityin interfaceorg.exoplatform.processes.service.ProcessesAttachmentService
-
moveAttachmentsToEntity
public void moveAttachmentsToEntity(Long userId, Long sourceEntityId, String sourceEntityType, Long destEntityId, String destEntityType, Long projectId)
- Specified by:
moveAttachmentsToEntityin interfaceorg.exoplatform.processes.service.ProcessesAttachmentService
-
copyAttachmentsToEntity
public void copyAttachmentsToEntity(Long userId, Long sourceEntityId, String sourceEntityType, Long destEntityId, String destEntityType, Long projectId)
- Specified by:
copyAttachmentsToEntityin interfaceorg.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:
createNewFormDocumentin interfaceorg.exoplatform.processes.service.ProcessesAttachmentService- Throws:
Exception
-
-