public class AttachmentsProcessor extends Object
Media channel driver interface is used by Digital Messaging Server to communicate with media channel driver to connect/disconnect with media channel, to send messages, etc.
Copyright (C) 2017-2018 Genesys Telecommunications Laboratories Inc.
All rights reserved.
Modifier and Type | Field and Description |
---|---|
static String |
AP_ErrorCode |
static String |
AP_ErrorMsg |
Constructor and Description |
---|
AttachmentsProcessor(Object driverData,
boolean bulkMode) |
Modifier and Type | Method and Description |
---|---|
void |
addDocument(com.genesyslab.platform.commons.collections.KeyValueCollection document) |
void |
addErrorDocument(Integer errorCode,
String errorMsg) |
Integer |
getAttachmentsNumber() |
Integer |
getAttachmentsProcessed() |
com.genesyslab.platform.commons.collections.KeyValueCollection |
getDocumentAt(int documentNo) |
Object |
getDriverData() |
Object |
getDriverStore() |
com.genesyslab.platform.commons.collections.KeyValueCollection |
getLastDocument() |
boolean |
hasMoreAttachments() |
void |
init(int documentsNumber) |
boolean |
isBulkMode() |
void |
setDriverStore(Object driverStore) |
public static final String AP_ErrorCode
public static final String AP_ErrorMsg
public final boolean isBulkMode()
public final void init(int documentsNumber)
documentsNumber
- public final Integer getAttachmentsNumber()
public final Integer getAttachmentsProcessed()
public final boolean hasMoreAttachments() throws Exception
Exception
public final void addDocument(com.genesyslab.platform.commons.collections.KeyValueCollection document) throws Exception
document
- Exception
public final void addErrorDocument(Integer errorCode, String errorMsg)
errorCode
- errorMsg
- public final com.genesyslab.platform.commons.collections.KeyValueCollection getDocumentAt(int documentNo) throws Exception
documentNo
- Exception
public final com.genesyslab.platform.commons.collections.KeyValueCollection getLastDocument() throws Exception
Exception
public final Object getDriverData()
public final void setDriverStore(Object driverStore)
driverStore
- the driverStore to setpublic final Object getDriverStore()
Copyright © 2018 Genesys Telecommunications Laboratories Inc.. All rights reserved.