public class OnlineMailList extends MoneydanceSyncableItem
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SYNCABLE_TYPE_VALUE |
book, info| Constructor and Description |
|---|
OnlineMailList(AccountBook book) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNewMail(OnlineMail mail)
Adds the specified mail to the mail list.
|
void |
clearAllMails()
Remove all mails from the list (so that they can be resynchronized from the server.
|
java.util.List<OnlineMail> |
getAllMessages()
Get a list of all OnlineMail message objects.
|
OnlineMail |
getMailByID(java.lang.String id) |
int |
getMailCount()
Get the number of online services that the user has access to.
|
java.lang.String |
getSyncItemType()
Subclasses should override this to return a static string identifying their type of object
|
protected void |
itemWasUpdated()
This is called after an item is updated by calling itemWasUpdated(SyncRecord).
|
protected void |
itemWillSync()
This is called just before an item will be stored and/or synced when itemWillSync(SyncRecord)
is called.
|
OnlineMail |
newMail()
This creates a new mail that is associated with this list and
the specified payee.
|
boolean |
removeMessage(OnlineMail message)
Remove the given mail object from the list.
|
addParameters, addTags, autoSyncsChanges, decodeKeywordList, deleteItem, doesParameterExist, duplicate, encodeKeywordList, equals, getAccountParameter, getAddress, getAddressParameter, getBook, getBooleanParameter, getCurrencyParameter, getDoubleParameter, getIntParameter, getKeywords, getLongParameter, getParameter, getParameter, getParameterCount, getParameterKeys, getPreference, getPreferenceBoolean, getPreferenceDouble, getPreferenceInt, getPreferenceIntArray, getPreferenceLong, getPreferenceStringList, getPreferenceSublist, getPreferenceSubset, getSyncInfo, getSyncTimestamp, getUUID, hashCode, hasKeywordSubstring, initialize, isInEditingMode, isSyncable, itemWasUpdated, itemWillSync, makeSyncableItem, removeParameter, setAccountParameter, setAddress, setAddressParameter, setCurrencyParameter, setDirty, setEditingMode, setKeywords, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameterNoNotify, setPreference, setPreference, setPreference, syncItempublic static final java.lang.String SYNCABLE_TYPE_VALUE
public OnlineMailList(AccountBook book)
public final java.lang.String getSyncItemType()
MoneydanceSyncableItemgetSyncItemType in interface com.infinitekind.tiksync.SyncableItemgetSyncItemType in class MoneydanceSyncableItemprotected void itemWasUpdated()
MoneydanceSyncableItemitemWasUpdated in class MoneydanceSyncableItemprotected void itemWillSync()
MoneydanceSyncableItemitemWillSync in class MoneydanceSyncableItempublic void clearAllMails()
public int getMailCount()
public OnlineMail getMailByID(java.lang.String id)
public java.util.List<OnlineMail> getAllMessages()
public boolean removeMessage(OnlineMail message)
public OnlineMail newMail()
public void addNewMail(OnlineMail mail)