/** * Copies this folder into the specified folder. Calling this method results * in a call to EWS. * * @param destinationFolderName The name of the folder in which to copy this folder. * @return A Folder representing the copy of this folder. * @throws Exception the exception */ public Folder copy(WellKnownFolderName destinationFolderName) throws Exception { return this.copy(new FolderId(destinationFolderName)); }
/** * Copies this folder into the specified folder. Calling this method results * in a call to EWS. * * @param destinationFolderName The name of the folder in which to copy this folder. * @return A Folder representing the copy of this folder. * @throws Exception the exception */ public Folder copy(WellKnownFolderName destinationFolderName) throws Exception { return this.copy(new FolderId(destinationFolderName)); }