|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.compoze.exchange.AbstractServerProtocol
Provides a shell implementation of IServerProtocol
that
provides parameter checking on open server, server retry when the session
is lost and tracing.
Field Summary | |
protected java.util.Properties |
m_props
|
protected java.lang.String |
m_sSessionID
|
Constructor Summary | |
AbstractServerProtocol()
|
Method Summary | |
int |
addAttachment(java.lang.String sMessageID,
java.lang.String sFolderID,
int iType,
java.lang.String sName,
java.lang.String sSource,
int iPosition,
javax.activation.DataHandler dh)
Adds an attachment. |
void |
closeSession()
Closes a session. |
void |
copyFolders(java.lang.String[] srcFolderIDs,
java.lang.String sFolderID,
java.lang.String sNewName,
boolean bRecursive)
Copies folders to another folder. |
void |
copyMessages(java.lang.String[] messageIDs,
java.lang.String sFolderID,
java.lang.String sTargetFolderID)
Copies messages. |
java.lang.String[] |
createFolder(java.lang.String sFolderID,
java.lang.String sName,
java.lang.String[] values,
java.lang.String[] keys)
Adds a folder. |
java.lang.String |
createMessage(java.lang.String sFolderID,
java.lang.String[] messageProps,
java.lang.String[] recipients,
java.lang.String sRecurrencePattern,
boolean bSend,
boolean bSaveInSent)
Creates a message |
void |
createNotification(java.lang.String sSessionID,
java.lang.String sFolderID,
boolean bSubFolders,
int iTypes)
Creates a notification for a session. |
java.lang.String |
createTaskRequest(java.lang.String sFolderID,
java.lang.String sTaskID,
java.lang.String[] messageProps,
java.lang.String[] recipients,
boolean bSend,
boolean bSaveInSent)
Creates a task request. |
void |
deleteAttachment(java.lang.String sMessageID,
java.lang.String sFolderID,
int iIndex)
Deletes an attachment. |
void |
deleteFolders(java.lang.String[] folderIDs,
boolean bDeletedItems)
Deletes folders. |
void |
deleteMessages(java.lang.String[] messageIDs,
java.lang.String sFolderID,
boolean bDeletedItems,
boolean bDeleteSeries)
Deletes messages. |
java.lang.String |
endTrace()
Ends tracing calls to the server and returns a string showing all calls that were made since tracing was started. |
java.lang.String[] |
forwardMessage(java.lang.String sMessageID,
java.lang.String sFolderID,
java.lang.String[] propVals,
java.lang.String[] propIDs,
boolean bCopyRichText,
boolean bSeries)
Forwards a message. |
java.lang.String[] |
getAddressEntries(java.lang.String[] entryIDs,
int iStartIndex,
int iEndIndex,
java.lang.String[] sortProps,
java.lang.String[] filterProps,
java.lang.String[] keys,
boolean bOr,
boolean bNot,
java.util.TimeZone tz,
java.util.Date freeBusyStart,
java.util.Date freeBusyEnd,
int iFreeBusyInterval)
Gets address entries. |
int |
getAddressEntriesCount(java.lang.String[] filterProps,
boolean bOr,
boolean bNot)
Gets address entries count. |
java.lang.String[] |
getAppointments(java.lang.String sFolderID,
java.lang.String[] apptIDs,
java.util.TimeZone tz,
java.util.Date startTime,
java.util.Date endTime,
boolean bRecurringInstances,
java.lang.String[] apptProps,
boolean bHidden)
Gets appointments. |
javax.activation.DataHandler |
getAttachment(java.lang.String sMessageID,
java.lang.String sFolderID,
int iEmbeddedIndex,
int iAttachmentIndex)
Gets an attachment. |
java.lang.String[] |
getAttachments(java.lang.String sMessageID,
java.lang.String sFolderID,
java.lang.String[] attachmentProps)
Gets attachment info. |
java.lang.String[] |
getEmbeddedMessage(java.lang.String sMessageID,
java.lang.String sFolderID,
java.lang.String[] messageProps,
int iIndex)
Gets messages. |
java.lang.String |
getExchangeServer()
Gets the Exchange server for the session. |
java.lang.String[] |
getFolderProperties(java.lang.String[] folderIDs,
java.lang.String[] props)
Gets the properties of a number of folders. |
java.lang.String[] |
getFolders(java.lang.String[] folderIDs,
int iDepth,
java.lang.String[] props,
java.lang.String[] expandedFolderIds,
java.lang.String[] folderTypes)
Gets folders. |
java.lang.String |
getID()
Gets a unique ID for the session. |
java.lang.String |
getMailbox()
Gets the Exchange mailbox for the session. |
int |
getMessageCount(java.lang.String sFolderID,
int iDepth,
java.lang.String[] filterProps,
boolean bOr,
boolean bNot,
boolean bHidden)
Gets messages. |
java.lang.String[] |
getMessages(java.lang.String sFolderID,
java.lang.String[] messageIDs,
int iStartIndex,
int iEndIndex,
int iDepth,
java.lang.String[] messageProps,
java.lang.String[] sortProps,
java.lang.String[] filterProps,
boolean bOr,
boolean bNot,
boolean bHidden)
Gets messages. |
java.lang.String[] |
getServerProperties(java.lang.String sSessionID,
java.lang.String[] sProperties)
Gets server properties. |
java.lang.String[] |
getSessionOptions(java.lang.String[] optionTypes)
Gets session options. |
java.lang.String |
getUserDomain()
Gets the user domain for the session. |
java.lang.String |
getUserUsername()
Gets the user username for the session. |
void |
moveFolders(java.lang.String[] srcFolderIDs,
java.lang.String sFolderID)
Moves folders to another folder. |
void |
moveMessages(java.lang.String[] messageIDs,
java.lang.String sFolderID,
java.lang.String sTargetFolderID)
Moves messages. |
java.lang.String |
openSession(java.util.Properties connectionProps)
Opens a session. |
protected abstract int |
protocolAddAttachment(java.lang.String sSID,
java.lang.String sMessageID,
java.lang.String sFolderID,
int iType,
java.lang.String sName,
java.lang.String sSource,
int iPosition,
javax.activation.DataHandler dh)
Adds an attachment to a message. |
protected abstract void |
protocolCloseSession(java.lang.String sSID)
Closes a session. |
protected abstract void |
protocolCopyFolders(java.lang.String sSID,
java.lang.String[] srcFolderIDs,
java.lang.String sFolderID,
java.lang.String sNewName,
boolean bRecursive)
Copies folders. |
protected abstract void |
protocolCopyMessages(java.lang.String sSID,
java.lang.String[] messageIDs,
java.lang.String sFolderID,
java.lang.String sTargetFolderID)
Copies a message. |
protected abstract java.lang.String[] |
protocolCreateFolder(java.lang.String sSID,
java.lang.String sFolderID,
java.lang.String sName,
java.lang.String[] values,
java.lang.String[] keys)
Adds a folder. |
protected abstract java.lang.String |
protocolCreateMessage(java.lang.String sSID,
java.lang.String sFolderID,
java.lang.String[] messageProps,
java.lang.String[] recipients,
java.lang.String sRecurrencePattern,
boolean bSend,
boolean bSaveInSent)
Creates a message. |
protected abstract void |
protocolCreateNotification(java.lang.String sSessionID,
java.lang.String sFolderID,
boolean bSubFolders,
int iTypes)
Creates a notification for a session. |
protected abstract java.lang.String |
protocolCreateTaskRequest(java.lang.String sSID,
java.lang.String sFolderID,
java.lang.String sTaskID,
java.lang.String[] messageProps,
java.lang.String[] recipients,
boolean bSend,
boolean bSaveInSent)
Creates a task request. |
protected abstract void |
protocolDeleteAttachment(java.lang.String sSID,
java.lang.String sMessageID,
java.lang.String sFolderID,
int iIndex)
Deletes an attachment. |
protected abstract void |
protocolDeleteFolders(java.lang.String sSID,
boolean bDeletedItems,
java.lang.String[] folderIDs)
Deletes folders. |
protected abstract void |
protocolDeleteMessages(java.lang.String sSID,
java.lang.String[] messageIDs,
java.lang.String sFolderID,
boolean bDeletedItems,
boolean bDeleteSeries)
Deletes messages. |
protected abstract java.lang.String[] |
protocolForwardMessage(java.lang.String sSID,
java.lang.String sMessageID,
java.lang.String sFolderID,
java.lang.String[] propVals,
java.lang.String[] propIDs,
boolean bCopyRichText,
boolean bSeries)
Forwards a message. |
protected abstract java.lang.String[] |
protocolGetAddressEntries(java.lang.String sSID,
java.lang.String[] entryIDs,
int iStartIndex,
int iEndIndex,
java.lang.String[] sortProps,
java.lang.String[] filterProps,
java.lang.String[] keys,
boolean bOr,
boolean bNot,
java.util.TimeZone tz,
java.util.Date freeBusyStart,
java.util.Date freeBusyEnd,
int iFreeBusyInterval)
Gets address entries. |
protected abstract int |
protocolGetAddressEntriesCount(java.lang.String sSID,
java.lang.String[] filterProps,
boolean bOr,
boolean bNot)
Gets address entries count. |
protected abstract java.lang.String[] |
protocolGetAppointments(java.lang.String sSID,
java.lang.String sFolderID,
java.lang.String[] apptIDs,
java.util.TimeZone tz,
java.util.Date startTime,
java.util.Date endTime,
boolean bRecurringInstances,
java.lang.String[] apptProps,
boolean bHidden)
Gets appointments. |
protected abstract javax.activation.DataHandler |
protocolGetAttachment(java.lang.String sSID,
java.lang.String sMessageID,
java.lang.String sFolderID,
int iEmbeddedIndex,
int iAttachmentIndex)
Gets an attachment. |
protected abstract java.lang.String[] |
protocolGetAttachments(java.lang.String sSessionID,
java.lang.String sMessageID,
java.lang.String sFolderID,
java.lang.String[] attachmentKeys)
Get attachment info. |
protected abstract java.lang.String[] |
protocolGetEmbeddedMessage(java.lang.String sSID,
java.lang.String sMessageID,
java.lang.String sFolderID,
java.lang.String[] messageProps,
int iIndex)
Gets messages. |
protected abstract java.lang.String[] |
protocolGetFolderProperties(java.lang.String sSID,
java.lang.String[] folderIDs,
java.lang.String[] props)
Gets the properties of a number of folders. |
protected abstract java.lang.String[] |
protocolGetFolders(java.lang.String sSID,
java.lang.String[] folderIDs,
int iDepth,
java.lang.String[] props,
java.lang.String[] expandedFolderIds,
java.lang.String[] folderTypes)
Gets folders. |
protected abstract int |
protocolGetMessageCount(java.lang.String sSID,
java.lang.String sFolderID,
int iDepth,
java.lang.String[] filterProps,
boolean bOr,
boolean bNot,
boolean bHidden)
|
protected abstract java.lang.String[] |
protocolGetMessages(java.lang.String sSID,
java.lang.String sFolderID,
java.lang.String[] messageIDs,
int iStartIndex,
int iEndIndex,
int iDepth,
java.lang.String[] messageProps,
java.lang.String[] sortProps,
java.lang.String[] filterProps,
boolean bOr,
boolean bNot,
boolean bHidden)
Gets messages. |
protected abstract java.lang.String[] |
protocolGetServerProperties(java.lang.String sSessionID,
java.lang.String[] sProperties)
Gets server properties with the specified session id. |
protected abstract java.lang.String[] |
protocolGetSessionOptions(java.lang.String sSID,
java.lang.String[] optionTypes)
Gets session options. |
protected abstract void |
protocolMoveFolders(java.lang.String sSID,
java.lang.String[] srcFolderIDs,
java.lang.String sFolderID)
Moves folders. |
protected abstract void |
protocolMoveMessages(java.lang.String sSID,
java.lang.String[] messageIDs,
java.lang.String sFolderID,
java.lang.String sTargetFolderID)
Moves messages. |
protected abstract java.lang.String |
protocolOpenSession(java.util.Properties connectionProps)
Opens a session. |
protected abstract void |
protocolRemoveNotification(java.lang.String sSessionID,
java.lang.String sFolderID)
Creates a notification for a given session id. |
protected abstract java.lang.String[] |
protocolReplyToMessage(java.lang.String sSID,
java.lang.String sMessageID,
java.lang.String sFolderID,
java.lang.String[] propVals,
java.lang.String[] propIDs,
boolean bReplyAll)
Replies to a message. |
protected abstract java.lang.String[] |
protocolResolveRecipients(java.lang.String sSessionID,
java.lang.String sMessageID,
boolean bRemove,
boolean bSeries)
Resolves recipients on a message. |
protected abstract boolean |
protocolSetLicense(java.lang.String sCompanyName,
java.lang.String sDigest)
Sets the license. |
protected abstract void |
protocolSetSessionOptions(java.lang.String sSID,
java.lang.String[] optionTypes)
Sets session options. |
protected abstract void |
protocolUpdateFolders(java.lang.String sSID,
java.lang.String[] folderIDs,
java.lang.String[] values)
Updates properties in folders. |
protected abstract void |
protocolUpdateMessages(java.lang.String sSID,
java.lang.String[] messageIDs,
java.lang.String sFolderID,
java.lang.String[] propVals,
java.lang.String[] recipients,
int[] deleteRecipients,
java.lang.String sRecurrencePattern,
int iResponseType,
boolean bSeries,
boolean bSend,
boolean bSaveInSent,
boolean bDelete)
Updates messages. |
protected abstract boolean |
protocolUpdateTaskFromRequest(java.lang.String sSID,
java.lang.String sFolderID,
java.lang.String sTaskRequestID)
Updates a linked task from a task request. |
void |
removeNotification(java.lang.String sSessionID,
java.lang.String sFolderID)
Removes a notification for a session. |
java.lang.String[] |
replyToMessage(java.lang.String sMessageID,
java.lang.String sFolderID,
java.lang.String[] propVals,
java.lang.String[] propIDs,
boolean bReplyAll)
Replies to a message. |
java.lang.String[] |
resolveRecipients(java.lang.String sMessageID,
boolean bRemove,
boolean bSeries)
Resolves Recipients on a message. |
boolean |
setLicense(java.lang.String sCompanyName,
java.lang.String sDigest)
Sets the service license. |
void |
setSessionOptions(java.lang.String[] optionValues)
Sets session options. |
void |
startTrace(boolean bVerbose)
Starts tracing calls to the server. |
void |
updateFolders(java.lang.String[] folderIDs,
java.lang.String[] values)
Updates properties in folders. |
void |
updateMessages(java.lang.String[] messageIDs,
java.lang.String sFolderID,
java.lang.String[] propVals,
java.lang.String[] recipients,
int[] deleteRecipients,
java.lang.String sRecurrencePattern,
int iResponseType,
boolean bSeries,
boolean bSend,
boolean bSaveInSent,
boolean bDelete)
Updates messages. |
boolean |
updateTaskFromRequest(java.lang.String sFolderID,
java.lang.String sTaskRequestID)
Updates a linked task from a task request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Properties m_props
protected java.lang.String m_sSessionID
Constructor Detail |
public AbstractServerProtocol()
Method Detail |
public java.lang.String openSession(java.util.Properties connectionProps) throws ExchangeException
openSession
in interface IServerProtocol
com.compoze.exchange.IServerProtocol
connectionProps
- the connection propertiesExchangeException
- if a problem occurred while opening the sessionpublic boolean setLicense(java.lang.String sCompanyName, java.lang.String sDigest) throws ExchangeException
setLicense
in interface IServerProtocol
com.compoze.exchange.IServerProtocol
sCompanyName
- the company name (licensee)sDigest
- the five fives license digesttrue
if the license has been set successfully,
false
if it is not valid (any existing license
on the service would not be updated in this case)ExchangeException
- if a problem occurred while opening the sessionprotected abstract boolean protocolSetLicense(java.lang.String sCompanyName, java.lang.String sDigest) throws ExchangeException
public void startTrace(boolean bVerbose)
startTrace
in interface IServerProtocol
com.compoze.exchange.IServerProtocol
bVerbose
- if true
, trace data sent and
received, otherwise just trace elapsed time and number of requestspublic java.lang.String endTrace()
endTrace
in interface IServerProtocol
com.compoze.exchange.IServerProtocol
public java.lang.String getID()
getID
in interface IServerProtocol
com.compoze.exchange.IServerProtocol
public java.lang.String getMailbox()
getMailbox
in interface IServerProtocol
public java.lang.String getExchangeServer()
getExchangeServer
in interface IServerProtocol
public java.lang.String getUserDomain()
getUserDomain
in interface IServerProtocol
public java.lang.String getUserUsername()
getUserUsername
in interface IServerProtocol
protected abstract java.lang.String protocolOpenSession(java.util.Properties connectionProps) throws ExchangeException
public void closeSession() throws ExchangeException
closeSession
in interface IServerProtocol
com.compoze.exchange.IServerProtocol
ExchangeException
- if a problem occurred while closing the sessionprotected abstract void protocolCloseSession(java.lang.String sSID) throws ExchangeException
public java.lang.String[] getFolders(java.lang.String[] folderIDs, int iDepth, java.lang.String[] props, java.lang.String[] expandedFolderIds, java.lang.String[] folderTypes) throws ExchangeException
getFolders
in interface IServerProtocol
com.compoze.exchange.IServerProtocol
ExchangeException
- if a problem occurred while connecting to
or interacting with the Compoze Microsoft Exchange Serviceprotected abstract java.lang.String[] protocolGetFolders(java.lang.String sSID, java.lang.String[] folderIDs, int iDepth, java.lang.String[] props, java.lang.String[] expandedFolderIds, java.lang.String[] folderTypes) throws ExchangeException
public java.lang.String[] createFolder(java.lang.String sFolderID, java.lang.String sName, java.lang.String[] values, java.lang.String[] keys) throws ExchangeException
createFolder
in interface IServerProtocol
com.compoze.exchange.IServerProtocol
ExchangeException
- if a problem occurred while connecting to
or interacting with the Compoze Microsoft Exchange Serviceprotected abstract java.lang.String[] protocolCreateFolder(java.lang.String sSID, java.lang.String sFolderID, java.lang.String sName, java.lang.String[] values, java.lang.String[] keys) throws ExchangeException
public void deleteFolders(java.lang.String[] folderIDs, boolean bDeletedItems) throws ExchangeException
deleteFolders
in interface IServerProtocol
com.compoze.exchange.IServerProtocol
ExchangeException
- if a problem occurred while connecting to
or interacting with the Compoze Microsoft Exchange Serviceprotected abstract void protocolDeleteFolders(java.lang.String sSID, boolean bDeletedItems, java.lang.String[] folderIDs) throws ExchangeException
public void copyFolders(java.lang.String[] srcFolderIDs, java.lang.String sFolderID, java.lang.String sNewName, boolean bRecursive) throws ExchangeException
copyFolders
in interface IServerProtocol
com.compoze.exchange.IServerProtocol
ExchangeException
- if a problem occurred while connecting to
or interacting with the Compoze Microsoft Exchange Serviceprotected abstract void protocolCopyFolders(java.lang.String sSID, java.lang.String[] srcFolderIDs, java.lang.String sFolderID, java.lang.String sNewName, boolean bRecursive) throws ExchangeException
public void moveFolders(java.lang.String[] srcFolderIDs, java.lang.String sFolderID) throws ExchangeException
moveFolders
in interface IServerProtocol
com.compoze.exchange.IServerProtocol
ExchangeException
- if a problem occurred while connecting to
or interacting with the Compoze Microsoft Exchange Serviceprotected abstract void protocolMoveFolders(java.lang.String sSID, java.lang.String[] srcFolderIDs, java.lang.String sFolderID) throws ExchangeException
public void updateFolders(java.lang.String[] folderIDs, java.lang.String[] values) throws ExchangeException
updateFolders
in interface IServerProtocol
com.compoze.exchange.IServerProtocol
ExchangeException
- if a problem occurred while connecting to
or interacting with the Compoze Microsoft Exchange Serviceprotected abstract void protocolUpdateFolders(java.lang.String sSID, java.lang.String[] folderIDs, java.lang.String[] values) throws ExchangeException
public java.lang.String[] getFolderProperties(java.lang.String[] folderIDs, java.lang.String[] props) throws ExchangeException
getFolderProperties
in interface IServerProtocol
com.compoze.exchange.IServerProtocol
ExchangeException
- if a problem occurred while connecting to
or interacting with the Compoze Microsoft Exchange Serviceprotected abstract java.lang.String[] protocolGetFolderProperties(java.lang.String sSID, java.lang.String[] folderIDs, java.lang.String[] props) throws ExchangeException
public java.lang.String[] getAddressEntries(java.lang.String[] entryIDs, int iStartIndex, int iEndIndex, java.lang.String[] sortProps, java.lang.String[] filterProps, java.lang.String[] keys, boolean bOr, boolean bNot, java.util.TimeZone tz, java.util.Date freeBusyStart, java.util.Date freeBusyEnd, int iFreeBusyInterval) throws ExchangeException
getAddressEntries
in interface IServerProtocol
protected abstract java.lang.String[] protocolGetAddressEntries(java.lang.String sSID, java.lang.String[] entryIDs, int iStartIndex, int iEndIndex, java.lang.String[] sortProps, java.lang.String[] filterProps, java.lang.String[] keys, boolean bOr, boolean bNot, java.util.TimeZone tz, java.util.Date freeBusyStart, java.util.Date freeBusyEnd, int iFreeBusyInterval) throws ExchangeException
public int getAddressEntriesCount(java.lang.String[] filterProps, boolean bOr, boolean bNot) throws ExchangeException
getAddressEntriesCount
in interface IServerProtocol
protected abstract int protocolGetAddressEntriesCount(java.lang.String sSID, java.lang.String[] filterProps, boolean bOr, boolean bNot) throws ExchangeException
public java.lang.String[] getMessages(java.lang.String sFolderID, java.lang.String[] messageIDs, int iStartIndex, int iEndIndex, int iDepth, java.lang.String[] messageProps, java.lang.String[] sortProps, java.lang.String[] filterProps, boolean bOr, boolean bNot, boolean bHidden) throws ExchangeException
getMessages
in interface IServerProtocol
public java.lang.String[] getAppointments(java.lang.String sFolderID, java.lang.String[] apptIDs, java.util.TimeZone tz, java.util.Date startTime, java.util.Date endTime, boolean bRecurringInstances, java.lang.String[] apptProps, boolean bHidden) throws ExchangeException
getAppointments
in interface IServerProtocol
protected abstract java.lang.String[] protocolGetAppointments(java.lang.String sSID, java.lang.String sFolderID, java.lang.String[] apptIDs, java.util.TimeZone tz, java.util.Date startTime, java.util.Date endTime, boolean bRecurringInstances, java.lang.String[] apptProps, boolean bHidden) throws ExchangeException
protected abstract java.lang.String[] protocolGetMessages(java.lang.String sSID, java.lang.String sFolderID, java.lang.String[] messageIDs, int iStartIndex, int iEndIndex, int iDepth, java.lang.String[] messageProps, java.lang.String[] sortProps, java.lang.String[] filterProps, boolean bOr, boolean bNot, boolean bHidden) throws ExchangeException
public int getMessageCount(java.lang.String sFolderID, int iDepth, java.lang.String[] filterProps, boolean bOr, boolean bNot, boolean bHidden) throws ExchangeException
getMessageCount
in interface IServerProtocol
protected abstract int protocolGetMessageCount(java.lang.String sSID, java.lang.String sFolderID, int iDepth, java.lang.String[] filterProps, boolean bOr, boolean bNot, boolean bHidden) throws ExchangeException
public java.lang.String createMessage(java.lang.String sFolderID, java.lang.String[] messageProps, java.lang.String[] recipients, java.lang.String sRecurrencePattern, boolean bSend, boolean bSaveInSent) throws ExchangeException
createMessage
in interface IServerProtocol
public java.lang.String createTaskRequest(java.lang.String sFolderID, java.lang.String sTaskID, java.lang.String[] messageProps, java.lang.String[] recipients, boolean bSend, boolean bSaveInSent) throws ExchangeException
createTaskRequest
in interface IServerProtocol
public boolean updateTaskFromRequest(java.lang.String sFolderID, java.lang.String sTaskRequestID) throws ExchangeException
updateTaskFromRequest
in interface IServerProtocol
protected abstract java.lang.String protocolCreateMessage(java.lang.String sSID, java.lang.String sFolderID, java.lang.String[] messageProps, java.lang.String[] recipients, java.lang.String sRecurrencePattern, boolean bSend, boolean bSaveInSent) throws ExchangeException
protected abstract java.lang.String protocolCreateTaskRequest(java.lang.String sSID, java.lang.String sFolderID, java.lang.String sTaskID, java.lang.String[] messageProps, java.lang.String[] recipients, boolean bSend, boolean bSaveInSent) throws ExchangeException
protected abstract boolean protocolUpdateTaskFromRequest(java.lang.String sSID, java.lang.String sFolderID, java.lang.String sTaskRequestID) throws ExchangeException
public void updateMessages(java.lang.String[] messageIDs, java.lang.String sFolderID, java.lang.String[] propVals, java.lang.String[] recipients, int[] deleteRecipients, java.lang.String sRecurrencePattern, int iResponseType, boolean bSeries, boolean bSend, boolean bSaveInSent, boolean bDelete) throws ExchangeException
updateMessages
in interface IServerProtocol
protected abstract void protocolUpdateMessages(java.lang.String sSID, java.lang.String[] messageIDs, java.lang.String sFolderID, java.lang.String[] propVals, java.lang.String[] recipients, int[] deleteRecipients, java.lang.String sRecurrencePattern, int iResponseType, boolean bSeries, boolean bSend, boolean bSaveInSent, boolean bDelete) throws ExchangeException
public void deleteMessages(java.lang.String[] messageIDs, java.lang.String sFolderID, boolean bDeletedItems, boolean bDeleteSeries) throws ExchangeException
deleteMessages
in interface IServerProtocol
protected abstract void protocolDeleteMessages(java.lang.String sSID, java.lang.String[] messageIDs, java.lang.String sFolderID, boolean bDeletedItems, boolean bDeleteSeries) throws ExchangeException
public java.lang.String[] forwardMessage(java.lang.String sMessageID, java.lang.String sFolderID, java.lang.String[] propVals, java.lang.String[] propIDs, boolean bCopyRichText, boolean bSeries) throws ExchangeException
forwardMessage
in interface IServerProtocol
protected abstract java.lang.String[] protocolForwardMessage(java.lang.String sSID, java.lang.String sMessageID, java.lang.String sFolderID, java.lang.String[] propVals, java.lang.String[] propIDs, boolean bCopyRichText, boolean bSeries) throws ExchangeException
public java.lang.String[] replyToMessage(java.lang.String sMessageID, java.lang.String sFolderID, java.lang.String[] propVals, java.lang.String[] propIDs, boolean bReplyAll) throws ExchangeException
replyToMessage
in interface IServerProtocol
protected abstract java.lang.String[] protocolReplyToMessage(java.lang.String sSID, java.lang.String sMessageID, java.lang.String sFolderID, java.lang.String[] propVals, java.lang.String[] propIDs, boolean bReplyAll) throws ExchangeException
public void copyMessages(java.lang.String[] messageIDs, java.lang.String sFolderID, java.lang.String sTargetFolderID) throws ExchangeException
copyMessages
in interface IServerProtocol
protected abstract void protocolCopyMessages(java.lang.String sSID, java.lang.String[] messageIDs, java.lang.String sFolderID, java.lang.String sTargetFolderID) throws ExchangeException
public void moveMessages(java.lang.String[] messageIDs, java.lang.String sFolderID, java.lang.String sTargetFolderID) throws ExchangeException
moveMessages
in interface IServerProtocol
protected abstract void protocolMoveMessages(java.lang.String sSID, java.lang.String[] messageIDs, java.lang.String sFolderID, java.lang.String sTargetFolderID) throws ExchangeException
public java.lang.String[] getEmbeddedMessage(java.lang.String sMessageID, java.lang.String sFolderID, java.lang.String[] messageProps, int iIndex) throws ExchangeException
getEmbeddedMessage
in interface IServerProtocol
protected abstract java.lang.String[] protocolGetEmbeddedMessage(java.lang.String sSID, java.lang.String sMessageID, java.lang.String sFolderID, java.lang.String[] messageProps, int iIndex) throws ExchangeException
public java.lang.String[] getAttachments(java.lang.String sMessageID, java.lang.String sFolderID, java.lang.String[] attachmentProps) throws ExchangeException
getAttachments
in interface IServerProtocol
protected abstract java.lang.String[] protocolGetAttachments(java.lang.String sSessionID, java.lang.String sMessageID, java.lang.String sFolderID, java.lang.String[] attachmentKeys) throws ExchangeException
public javax.activation.DataHandler getAttachment(java.lang.String sMessageID, java.lang.String sFolderID, int iEmbeddedIndex, int iAttachmentIndex) throws ExchangeException
getAttachment
in interface IServerProtocol
protected abstract javax.activation.DataHandler protocolGetAttachment(java.lang.String sSID, java.lang.String sMessageID, java.lang.String sFolderID, int iEmbeddedIndex, int iAttachmentIndex) throws ExchangeException
public void deleteAttachment(java.lang.String sMessageID, java.lang.String sFolderID, int iIndex) throws ExchangeException
deleteAttachment
in interface IServerProtocol
public java.lang.String[] getSessionOptions(java.lang.String[] optionTypes) throws ExchangeException
getSessionOptions
in interface IServerProtocol
protected abstract java.lang.String[] protocolGetSessionOptions(java.lang.String sSID, java.lang.String[] optionTypes) throws ExchangeException
public void setSessionOptions(java.lang.String[] optionValues) throws ExchangeException
setSessionOptions
in interface IServerProtocol
protected abstract void protocolSetSessionOptions(java.lang.String sSID, java.lang.String[] optionTypes) throws ExchangeException
protected abstract void protocolDeleteAttachment(java.lang.String sSID, java.lang.String sMessageID, java.lang.String sFolderID, int iIndex) throws ExchangeException
public int addAttachment(java.lang.String sMessageID, java.lang.String sFolderID, int iType, java.lang.String sName, java.lang.String sSource, int iPosition, javax.activation.DataHandler dh) throws ExchangeException
addAttachment
in interface IServerProtocol
protected abstract int protocolAddAttachment(java.lang.String sSID, java.lang.String sMessageID, java.lang.String sFolderID, int iType, java.lang.String sName, java.lang.String sSource, int iPosition, javax.activation.DataHandler dh) throws ExchangeException
public void createNotification(java.lang.String sSessionID, java.lang.String sFolderID, boolean bSubFolders, int iTypes) throws ExchangeException
createNotification
in interface IServerProtocol
com.compoze.exchange.IServerProtocol
sSessionID
- the session idprotected abstract void protocolCreateNotification(java.lang.String sSessionID, java.lang.String sFolderID, boolean bSubFolders, int iTypes) throws ExchangeException
public void removeNotification(java.lang.String sSessionID, java.lang.String sFolderID) throws ExchangeException
removeNotification
in interface IServerProtocol
com.compoze.exchange.IServerProtocol
sSessionID
- the session idpublic java.lang.String[] getServerProperties(java.lang.String sSessionID, java.lang.String[] sProperties) throws ExchangeException
getServerProperties
in interface IServerProtocol
public java.lang.String[] resolveRecipients(java.lang.String sMessageID, boolean bRemove, boolean bSeries) throws ExchangeException
resolveRecipients
in interface IServerProtocol
protected abstract void protocolRemoveNotification(java.lang.String sSessionID, java.lang.String sFolderID) throws ExchangeException
protected abstract java.lang.String[] protocolGetServerProperties(java.lang.String sSessionID, java.lang.String[] sProperties) throws ExchangeException
protected abstract java.lang.String[] protocolResolveRecipients(java.lang.String sSessionID, java.lang.String sMessageID, boolean bRemove, boolean bSeries) throws ExchangeException
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |