Package org.exoplatform.cs.service
Class TicketAttachmentServiceImpl
java.lang.Object
org.exoplatform.cs.service.TicketAttachmentServiceImpl
- All Implemented Interfaces:
TicketAttachmentService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTicketAttachmentServiceImpl(org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviderService, org.exoplatform.services.jcr.RepositoryService repositoryService, org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator, org.exoplatform.services.jcr.ext.distribution.DataDistributionManager dataDistributionManager, org.exoplatform.social.core.space.spi.SpaceService spaceService, org.exoplatform.upload.UploadService uploadService, org.exoplatform.services.cms.documents.DocumentService documentService) -
Method Summary
Modifier and TypeMethodDescriptionaddAttachmentFromExistingResource(String attachmentId) addAttachmentFromUploadedResource(String cSpaceGroupId, String uploadId)
-
Field Details
-
CS_TICKET_ATTACHMENTS_NODES_FOLDER
- See Also:
-
DOCUMENTS_FOLDER
- See Also:
-
-
Constructor Details
-
TicketAttachmentServiceImpl
public TicketAttachmentServiceImpl(org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviderService, org.exoplatform.services.jcr.RepositoryService repositoryService, org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator nodeHierarchyCreator, org.exoplatform.services.jcr.ext.distribution.DataDistributionManager dataDistributionManager, org.exoplatform.social.core.space.spi.SpaceService spaceService, org.exoplatform.upload.UploadService uploadService, org.exoplatform.services.cms.documents.DocumentService documentService)
-
-
Method Details
-
addAttachmentFromUploadedResource
public String addAttachmentFromUploadedResource(String cSpaceGroupId, String uploadId) throws Exception - Specified by:
addAttachmentFromUploadedResourcein interfaceTicketAttachmentService- Parameters:
cSpaceGroupId- space group iduploadId- attachment upload id- Returns:
- The saved attachment id
- Throws:
Exception
-
addAttachmentFromExistingResource
- Specified by:
addAttachmentFromExistingResourcein interfaceTicketAttachmentService- Parameters:
attachmentId- saved attachment id- Returns:
- The saved attachment id
- Throws:
Exception
-