public interface TicketAttachmentsService
MediaModel attachments with restrictions| Modifier and Type | Method and Description |
|---|---|
MediaModel |
createAttachment(java.lang.String name,
java.lang.String contentType,
byte[] data,
UserModel customer)
Create
MediaModel attachment based on provided parameters. |
MediaModel createAttachment(java.lang.String name, java.lang.String contentType, byte[] data, UserModel customer)
MediaModel attachment based on provided parameters.
Created file will be stored in DB inside secure media folder, configured via Spring. Read permission will be granted only for customer and common agent group also configured via Spring.
name - filenamecontentType - content typedata - binary datacustomer - customerMediaModelCopyright © 2018 SAP SE. All Rights Reserved.