package org.exoplatform.cs.service;

public interface TicketAttachmentService {

    /**
     *
     * @param spaceGroupId space group id
     * @param uploadId attachment upload id
     * @return The saved attachment id
     * @throws Exception
     */
    String addAttachmentFromUploadedResource(String spaceGroupId, String uploadId) throws Exception;

    /**
     *
     * @param attachmentId saved attachment id
     * @return The saved attachment id
     * @throws Exception
     */
    String addAttachmentFromExistingResource(String attachmentId) throws Exception;

}
