Interface AgentEditorController
-
public interface AgentEditorController
This interface is used to provide specific functions to be called on the currently active agent's editor for the selected message.- Since:
- 10.0.116
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addAttachment(Attachment attachment)
The function can be used to add an existing attachment to the currently selected ticket within the agent folder.Attachment
addAttachment(AttachmentDataSource dataSource)
The function can be used to upload an attachment to the iAGENT server and add the attachment to the currently selected ticket within the agent folder.
-
-
-
Method Detail
-
addAttachment
Attachment addAttachment(AttachmentDataSource dataSource) throws OperationFailedException
The function can be used to upload an attachment to the iAGENT server and add the attachment to the currently selected ticket within the agent folder. Please note, that this operation only will succeed if the agent is logged on and currently editing a ticket or quick case ticket.- Parameters:
dataSource
- the attachment data source to be attached to the currently edited mail in the agent's editor- Returns:
- an Attachment instance of the attachment data source that has been applied to the currently edited mail of the agent
- Throws:
OperationFailedException
- if any error has occurred e.g. the agent is not logged on or has no ticket selected- Since:
- 10.0.116
-
addAttachment
void addAttachment(Attachment attachment) throws OperationFailedException
The function can be used to add an existing attachment to the currently selected ticket within the agent folder. If an attachment is added by this method it is obligatory to provide also anAttachmentDataSourceProvider
for the attachment's scheme to ensure that the binary content of the attachment can always be accessed, also by other processes like the novomind iAGENT Routing process, the novomind iAGENT Desk process and the novomind iAGENT Core process. Please note, that this operation only will succeed if the agent is logged on and currently editing a ticket or quick case ticket.- Parameters:
attachment
- the attachment to be attached to the currently edited mail in the agent's editor- Throws:
OperationFailedException
- if any error has occurred e.g. the agent is not logged on or has no ticket selected- Since:
- 12.39
-
-