Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MessageListView: add tagging support
CreateTag, GetTag: request/response messages AccountHandler: tagMessage
- Loading branch information
Showing
7 changed files
with
127 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/java/com/zimbra/app/soap/messages/CreateTagRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.zimbra.app.soap.messages; | ||
|
||
import com.zimbra.app.soap.Element; | ||
import com.zimbra.app.soap.Type; | ||
|
||
@Element(ns="urn:zimbraMail") | ||
public class CreateTagRequest { | ||
@Element(name="tag") | ||
public Tag tag = new Tag(); | ||
|
||
@Element(name="tag") | ||
public static class Tag { | ||
@Element(type=Type.ATTRIBUTE) | ||
public String name; | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
src/java/com/zimbra/app/soap/messages/CreateTagResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.zimbra.app.soap.messages; | ||
|
||
import com.zimbra.app.soap.Element; | ||
|
||
@Element(ns="urn:zimbraMail") | ||
public class CreateTagResponse { | ||
|
||
@Element(name="tag", optional=false) | ||
public GetTagResponse.Tag tag; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.zimbra.app.soap.messages; | ||
|
||
import com.zimbra.app.soap.Element; | ||
|
||
@Element(ns="urn:zimbraMail") | ||
public class GetTagRequest { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.zimbra.app.soap.messages; | ||
|
||
import com.zimbra.app.soap.Element; | ||
import com.zimbra.app.soap.Type; | ||
|
||
import java.util.ArrayList; | ||
|
||
@Element(ns="urn:zimbraMail") | ||
public class GetTagResponse { | ||
|
||
@Element(name="tag") | ||
public ArrayList<Tag> tags = new ArrayList<Tag>(); | ||
|
||
@Element(name="tag") | ||
public static class Tag { | ||
@Element(type=Type.ATTRIBUTE, optional=false) | ||
public String name; | ||
|
||
@Element(type=Type.ATTRIBUTE, optional=false) | ||
public int id; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters