mirror of
https://github.com/moparisthebest/k-9
synced 2024-08-13 17:03:48 -04:00
c0e4220b82
Fixes Issue 1278 Fixes Issue 119 Fixes Issue 1077 Fixes Issue 1238 Worked performed by danapple0 and cketti in https://k9mail.googlecode.com/svn/k9mail/branches/issue1116 Add support for most batch ops (except move and copy) in search results. Add support for batch move and copy on real folders. Increase efficiency of bulk IMAP moves and copies by doing as multiple UID operations. Eliminated serialization of Account objects. Provide up-references in useful places to make all future code cleaner and more efficient. Fixed a bunch of draft handling Merged from issue1116 branch, except for Account.java, which was copied wholesale. Account.java was manually merged in issue1116 branch at r1489 svn merge -r 1459:1489 https://k9mail.googlecode.com/svn/k9mail/branches/issue1116 . cp ../issue1116/src/com/fsck/k9/Account.java src/com/fsck/k9/Account.java
69 lines
1.4 KiB
Java
69 lines
1.4 KiB
Java
package com.fsck.k9;
|
|
|
|
import java.io.Serializable;
|
|
|
|
public class Identity implements Serializable
|
|
{
|
|
private String mDescription;
|
|
private String mName;
|
|
private String mEmail;
|
|
private String mSignature;
|
|
private boolean mSignatureUse;
|
|
|
|
public synchronized String getName()
|
|
{
|
|
return mName;
|
|
}
|
|
|
|
public synchronized void setName(String name)
|
|
{
|
|
mName = name;
|
|
}
|
|
|
|
public synchronized String getEmail()
|
|
{
|
|
return mEmail;
|
|
}
|
|
|
|
public synchronized void setEmail(String email)
|
|
{
|
|
mEmail = email;
|
|
}
|
|
|
|
public synchronized boolean getSignatureUse()
|
|
{
|
|
return mSignatureUse;
|
|
}
|
|
|
|
public synchronized void setSignatureUse(boolean signatureUse)
|
|
{
|
|
mSignatureUse = signatureUse;
|
|
}
|
|
|
|
public synchronized String getSignature()
|
|
{
|
|
return mSignature;
|
|
}
|
|
|
|
public synchronized void setSignature(String signature)
|
|
{
|
|
mSignature = signature;
|
|
}
|
|
|
|
public synchronized String getDescription()
|
|
{
|
|
return mDescription;
|
|
}
|
|
|
|
public synchronized void setDescription(String description)
|
|
{
|
|
mDescription = description;
|
|
}
|
|
|
|
@Override
|
|
public synchronized String toString()
|
|
{
|
|
return "Account.Identity(description=" + mDescription + ", name=" + mName + ", email=" + mEmail + ", signature=" + mSignature;
|
|
}
|
|
}
|