nsIMsgCopyService

IID:c9255b88-5e0f-4614-8fdc-ebb97a0f333e
Inherits From:nsISupports

This interface is intended to be used as a service.

This interface is implemented by the following components:


Methods

void CopyFileMessage ( nsIFileSpec fileSpec , nsIMsgFolder dstFolder , nsIMsgDBHdr msgToReplace , PRBool isDraftOrTemplate , PRUint32 msgFlags , nsIMsgCopyServiceListener listener , nsIMsgWindow msgWindow ) void CopyFolders ( nsISupportsArray folders , nsIMsgFolder dstFolder , PRBool isMove , nsIMsgCopyServiceListener listener , nsIMsgWindow msgWindow ) void CopyMessages ( nsIMsgFolder srcFolder , nsISupportsArray messages , nsIMsgFolder dstFolder , PRBool isMove , nsIMsgCopyServiceListener listener , nsIMsgWindow msgWindow , PRBool allowUndo ) void NotifyCompletion ( nsISupports support , nsIMsgFolder dstFolder , nsresult result )

void CopyFileMessage ( nsIFileSpec fileSpec , nsIMsgFolder dstFolder , nsIMsgDBHdr msgToReplace , PRBool isDraftOrTemplate , PRUint32 msgFlags , nsIMsgCopyServiceListener listener , nsIMsgWindow msgWindow )

Arguments:
fileSpec
dstFolder
msgToReplace
isDraftOrTemplate
msgFlags
listener
msgWindow

void CopyFolders ( nsISupportsArray folders , nsIMsgFolder dstFolder , PRBool isMove , nsIMsgCopyServiceListener listener , nsIMsgWindow msgWindow )

Arguments:
folders
dstFolder
isMove
listener
msgWindow

void CopyMessages ( nsIMsgFolder srcFolder , nsISupportsArray messages , nsIMsgFolder dstFolder , PRBool isMove , nsIMsgCopyServiceListener listener , nsIMsgWindow msgWindow , PRBool allowUndo )

Arguments:
srcFolder
messages
dstFolder
isMove
listener
msgWindow
allowUndo

void NotifyCompletion ( nsISupports support , nsIMsgFolder dstFolder , nsresult result )

Notify the message copy service that the destination folder has finished it's messages copying operation so that the copy service can continue copying the rest of the messages if there are more to copy with. support and dstFolder uniquely identify a copy service request.

ASupport -- the originator of CopyMessages or CopyFileMessage; it can be either a nsIMsgFolder or a nsIFileSpec dstFolder -- the destination folder which performs the copy operation result -- the result of the copy operation

Arguments:
support
dstFolder
result

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com