mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05:00
Caldav: prepare xmoz custom property support over DAV
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1649 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
16617d8141
commit
b85cf09e04
@ -317,8 +317,11 @@ public class Field {
|
||||
createField("attachmentContactPhoto", 0x7FFF, PropertyType.Boolean); // PR_ATTACHMENT_CONTACTPHOTO
|
||||
createField("renderingPosition", 0x370B, PropertyType.Integer);// PR_RENDERING_POSITION
|
||||
//createField("attachFilename", 0x3704, PropertyType.String); // PR_ATTACH_FILENAME
|
||||
createField("attachExtension", 0x3703, PropertyType.String); // PR_ATTACH_FILENAME
|
||||
createField("attachExtension", 0x3703, PropertyType.String); // PR_ATTACH_EXTENSION
|
||||
|
||||
createField("xmozlastack", DistinguishedPropertySetType.PublicStrings);
|
||||
createField("xmozsnoozetime", DistinguishedPropertySetType.PublicStrings);
|
||||
createField("xmozsendinvitations", DistinguishedPropertySetType.PublicStrings);
|
||||
}
|
||||
|
||||
protected static String toHexString(int propertyTag) {
|
||||
@ -340,6 +343,12 @@ public class Field {
|
||||
fieldMap.put(field.alias, field);
|
||||
}
|
||||
|
||||
protected static void createField(String alias, DistinguishedPropertySetType propertySetType) {
|
||||
Field field = new Field(Namespace.getNamespace(SCHEMAS_MAPI_STRING.getURI() +
|
||||
'{' + distinguishedPropertySetMap.get(propertySetType) + "}/"), alias);
|
||||
fieldMap.put(field.alias, field);
|
||||
}
|
||||
|
||||
protected static void createField(String alias, DistinguishedPropertySetType propertySetType, int propertyTag, String responseAlias) {
|
||||
createField(alias, propertySetType, propertyTag, responseAlias, null);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user