mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-08 20:28:25 -05:00
EWS: Improve javadoc and make ItemId serializable
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2268 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
254abf1b9f
commit
386d3dfee6
@ -19,12 +19,13 @@
|
||||
package davmail.exchange.ews;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.Serializable;
|
||||
import java.io.Writer;
|
||||
|
||||
/**
|
||||
* Item id.
|
||||
*/
|
||||
public class ItemId {
|
||||
public class ItemId implements Serializable {
|
||||
protected final String name;
|
||||
protected final String id;
|
||||
protected final String changeKey;
|
||||
@ -50,6 +51,7 @@ public class ItemId {
|
||||
/**
|
||||
* Build Item id from response item.
|
||||
*
|
||||
* @param name item name
|
||||
* @param item response item
|
||||
*/
|
||||
public ItemId(String name, EWSMethod.Item item) {
|
||||
@ -61,6 +63,7 @@ public class ItemId {
|
||||
/**
|
||||
* Build Item id object from item id.
|
||||
*
|
||||
* @param name item name
|
||||
* @param itemId item id
|
||||
*/
|
||||
public ItemId(String name, String itemId) {
|
||||
@ -72,7 +75,9 @@ public class ItemId {
|
||||
/**
|
||||
* Build Item id object from item id and change key.
|
||||
*
|
||||
* @param name item name
|
||||
* @param itemId item id
|
||||
* @param changeKey change key
|
||||
*/
|
||||
public ItemId(String name, String itemId, String changeKey) {
|
||||
this.name = name;
|
||||
|
Loading…
Reference in New Issue
Block a user