MessageStore Klassenreferenz

#import <MessageStore.h>

Abgeleitet von SafeObserver.

Basisklasse für LibraryStore und NSDataMessageStore.

Aufstellung aller Elemente


Öffentliche Methoden

(void) - queueSaveChangesInvocation
(id) - willBeReleased
(id) - initWithMailboxUid:readOnly:
(id) - copyWithZone:
(void) - dealloc
(void) - openAsynchronously
(void) - openSynchronously
(void) - didOpen
(void) - cancelOpen
(void) - writeUpdatedMessageDataToDisk
(void) - invalidateSavingChanges:
(id) - account
(id) - mailboxUid
(BOOL) - isOpened
(id) - storePathRelativeToAccount
(id) - displayName
(const char *) - displayNameForLogging
(BOOL) - isReadOnly
(id) - description
(BOOL) - isTrash
(BOOL) - isDrafts
(void) - messageFlagsDidChange:flags:
(void) - structureDidChange
(void) - messagesWereAdded:
(void) - messagesWereCompacted:
(void) - updateUserInfoToLatestValues
(unsigned int) - totalMessageSize
(void) - deletedCount:andSize:
(unsigned int) - totalCount
(unsigned int) - nonDeletedCount
(BOOL) - hasMoreMessages:
(void) - purgeMessagesBeyond:
(unsigned int) - unreadCount
(BOOL) - hasMessageForAccount:
(unsigned int) - indexOfMessage:
(id) - copyOfAllMessages
(id) - copyOfMessagesInRange:
(id) - mutableCopyOfAllMessages
(id) - copyOfAllMessagesWithOptions:
(id) - copyOfAllMessagesWithoutSummaries
(id) - _defaultRouterDestination
(id) - finishRoutingMessages:routed:
(BOOL) - canRebuild
(void) - rebuildTableOfContentsAsynchronously
(BOOL) - canCompact
(void) - doCompact
(void) - deleteMessagesOlderThanNumberOfDays:compact:
(void) - deleteMessages:moveToTrash:
(void) - undeleteMessages:
(void) - messagesWereDeleted:
(BOOL) - allowsAppend
(int) - appendMessages:unsuccessfulOnes:newMessageIDs:newMessages:flagsToSet:
(int) - appendMessages:unsuccessfulOnes:newMessageIDs:newMessages:
(int) - appendMessages:unsuccessfulOnes:newMessageIDs:
(int) - appendMessages:unsuccessfulOnes:
(id) - messageWithValue:forHeader:options:
(id) - messageForMessageID:
(id) - messageForRemoteID:
(id) - headerDataForMessage:downloadIfNecessary:
(id) - headerDataForMessage:
(id) - bodyDataForMessage:isComplete:downloadIfNecessary:
(id) - bodyDataForMessage:
(id) - fullBodyDataForMessage:andHeaderDataIfReadilyAvailable:isComplete:downloadIfNecessary:
(id) - fullBodyDataForMessage:andHeaderDataIfReadilyAvailable:
(id) - fullBodyDataForMessage:
(id) - bodyForMessage:fetchIfNotAvailable:
(id) - bodyForMessage:fetchIfNotAvailable:updateFlags:
(id) - headersForMessage:
(id) - headersForMessage:fetchIfNotAvailable:
(id) - dataForMimePart:
(id) - dataForMimePart:inRange:isComplete:downloadIfNecessary:didDownload:
(id) - dataForMimePart:inRange:isComplete:
(BOOL) - hasCachedDataForMimePart:
(id) - uniquedString:
(id) - setFlagsFromDictionary:forMessages:
(id) - setFlagsFromDictionary:forMessage:
(void) - setFlag:state:forMessages:
(id) - willSetFlagsFromDictionary:forMessages:
(void) - setFlagsCancelled:forMessages:
(void) - startSynchronization
(void) - setNumberOfAttachments:isSigned:isEncrypted:forMessage:
(id) - status
(int) - fetchSynchronously
(int) - fetchNewMessagesAndSynchronizeOldMessages:
(int) - fetchMessagesReceivedBetween:and:synchronize:
(int) - fetchNumMessages:preservingUID:beforeUID:synchronize:
(int) - fetchNumMessages:beforeUID:synchronize:
(int) - fetchMobileSynchronously:preservingUID:
(int) - fetchMobileSynchronously:
(void) - syncOlderMessages
(BOOL) - setPreferredEncoding:forMessage:
(void) - setData:forMimePart:isComplete:
(void) - close
(void) - _flushAllMessageData
(void) - setLibrary:

Öffentliche, statische Methoden

(BOOL) + createEmptyStoreIfNeededForPath:
(BOOL) + createEmptyStoreForPath:
(BOOL) + storeAtPathIsWritable:
(BOOL) + cheapStoreAtPathIsEmpty:
(int) + copyMessages:toMailboxUid:shouldDelete:

Geschützte Attribute

struct {
   unsigned int   isReadOnly:1
   unsigned int   hasUnsavedChangesToMessageData:1
   unsigned int   haveOpenLockFile:1
   unsigned int   rebuildingTOC:1
   unsigned int   compacting:1
   unsigned int   cancelInvalidation:1
   unsigned int   forceInvalidation:1
   unsigned int   isWritingChangesToDisk:1
   unsigned int   isTryingToClose:1
   unsigned int   compactOnClose:1
   unsigned int   reserved:22
_flags
MailboxUid_mailboxUid
MailAccount_account
NSMutableArray_allMessages
unsigned int _allMessagesSize
unsigned int _deletedMessagesSize
unsigned int _deletedMessageCount
unsigned int _unreadMessageCount
unsigned int _lastFetchCount
int _state
union {
   struct {
      ObjectCache *   _headerDataCache
      ObjectCache *   _headerCache
      ObjectCache *   _bodyDataCache
      ObjectCache *   _bodyCache
   }   objectCaches
   struct {
      struct __CFDictionary *   _headerDataCache
      struct __CFDictionary *   _headerCache
      struct __CFDictionary *   _bodyDataCache
      struct __CFDictionary *   _bodyCache
   }   intKeyCaches
_caches
NSTimer_timer
NSMutableSet_uniqueStrings
double timeOfLastAutosaveOperation
ActivityMonitor_openMonitor

Ausführliche Beschreibung

Definiert in Zeile 11 der Datei MessageStore.h.


Dokumentation der Elementfunktionen

+ (BOOL) createEmptyStoreIfNeededForPath: (id)  fp8  

+ (BOOL) createEmptyStoreForPath: (id)  fp8  

Implementiert in LibraryStore.

+ (BOOL) storeAtPathIsWritable: (id)  fp8  

Implementiert in LibraryStore.

+ (BOOL) cheapStoreAtPathIsEmpty: (id)  fp8  

+ (int) copyMessages: (id)  fp8
toMailboxUid: (id)  fp12
shouldDelete: (BOOL)  fp16 

- (void) queueSaveChangesInvocation  

- (id) willBeReleased  

Implementiert SafeObserver.

Implementiert in LibraryIMAPStore.

- (id) initWithMailboxUid: (id)  fp8
readOnly: (BOOL)  fp12 

- (id) copyWithZone: (struct _NSZone *)  fp8  

Implementiert SafeObserver.

- (void) dealloc  

- (void) openAsynchronously  

- (void) openSynchronously  

Implementiert in LibraryStore.

- (void) didOpen  

- (void) cancelOpen  

- (void) writeUpdatedMessageDataToDisk  

Implementiert in LibraryStore und NSDataMessageStore.

- (void) invalidateSavingChanges: (BOOL)  fp8  

- (id) account  

- (id) mailboxUid  

- (BOOL) isOpened  

- (id) storePathRelativeToAccount  

- (id) displayName  

- (const char *) displayNameForLogging  

- (BOOL) isReadOnly  

- (id) description  

- (BOOL) isTrash  

- (BOOL) isDrafts  

- (void) messageFlagsDidChange: (id)  fp8
flags: (id)  fp12 

- (void) structureDidChange  

- (void) messagesWereAdded: (id)  fp8  

- (void) messagesWereCompacted: (id)  fp8  

- (void) updateUserInfoToLatestValues  

Implementiert in LibraryStore.

- (unsigned int) totalMessageSize  

- (void) deletedCount: (unsigned int *)  fp8
andSize: (unsigned int *)  fp12 

- (unsigned int) totalCount  

Implementiert in LibraryStore.

- (unsigned int) nonDeletedCount  

Implementiert in LibraryStore.

- (BOOL) hasMoreMessages: (unsigned int)  fp8  

Implementiert in LibraryIMAPStore und LibraryPOPStore.

- (void) purgeMessagesBeyond: (unsigned int)  fp8  

Implementiert in LibraryStore.

- (unsigned int) unreadCount  

Implementiert in LibraryStore.

- (BOOL) hasMessageForAccount: (id)  fp8  

Implementiert in LibraryStore.

- (unsigned int) indexOfMessage: (id)  fp8  

Implementiert in LibraryStore.

- (id) copyOfAllMessages  

Implementiert in LibraryStore.

- (id) copyOfMessagesInRange: (struct _NSRange fp8  

- (id) mutableCopyOfAllMessages  

Implementiert in LibraryStore.

- (id) copyOfAllMessagesWithOptions: (unsigned int)  fp8  

Implementiert in LibraryStore.

- (id) copyOfAllMessagesWithoutSummaries  

Implementiert in LibraryStore.

- (id) _defaultRouterDestination  

- (id) finishRoutingMessages: (id)  fp8
routed: (id)  fp12 

- (BOOL) canRebuild  

Implementiert in LibraryIMAPStore.

- (void) rebuildTableOfContentsAsynchronously  

Implementiert in LibraryStore.

- (BOOL) canCompact  

Implementiert in LibraryIMAPStore und LibraryStore.

- (void) doCompact  

Implementiert in LibraryIMAPStore und LibraryStore.

- (void) deleteMessagesOlderThanNumberOfDays: (int)  fp8
compact: (BOOL)  fp12 

Implementiert in LibraryIMAPStore und LibraryStore.

- (void) deleteMessages: (id)  fp8
moveToTrash: (BOOL)  fp12 

Implementiert in LibraryStore.

- (void) undeleteMessages: (id)  fp8  

- (void) messagesWereDeleted: (id)  fp8  

Implementiert in LibraryPOPStore.

- (BOOL) allowsAppend  

Implementiert in LibraryIMAPStore und LibraryStore.

- (int) appendMessages: (id)  fp8
unsuccessfulOnes: (id)  fp12
newMessageIDs: (id)  fp16
newMessages: (id)  fp20
flagsToSet: (id)  fp24 

Implementiert in LibraryIMAPStore und LibraryStore.

- (int) appendMessages: (id)  fp8
unsuccessfulOnes: (id)  fp12
newMessageIDs: (id)  fp16
newMessages: (id)  fp20 

- (int) appendMessages: (id)  fp8
unsuccessfulOnes: (id)  fp12
newMessageIDs: (id)  fp16 

- (int) appendMessages: (id)  fp8
unsuccessfulOnes: (id)  fp12 

- (id) messageWithValue: (id)  fp8
forHeader: (id)  fp12
options: (unsigned int)  fp16 

- (id) messageForMessageID: (id)  fp8  

Implementiert in LibraryStore.

- (id) messageForRemoteID: (id)  fp8  

Implementiert in LibraryIMAPStore und LibraryPOPStore.

- (id) headerDataForMessage: (id)  fp8
downloadIfNecessary: (BOOL)  fp12 

Implementiert in NSDataMessageStore.

- (id) headerDataForMessage: (id)  fp8  

- (id) bodyDataForMessage: (id)  fp8
isComplete: (char *)  fp12
downloadIfNecessary: (BOOL)  fp16 

- (id) bodyDataForMessage: (id)  fp8  

- (id) fullBodyDataForMessage: (id)  fp8
andHeaderDataIfReadilyAvailable: (id *)  fp12
isComplete: (char *)  fp16
downloadIfNecessary: (BOOL)  fp20 

- (id) fullBodyDataForMessage: (id)  fp8
andHeaderDataIfReadilyAvailable: (id *)  fp12 

- (id) fullBodyDataForMessage: (id)  fp8  

- (id) bodyForMessage: (id)  fp8
fetchIfNotAvailable: (BOOL)  fp12 

- (id) bodyForMessage: (id)  fp8
fetchIfNotAvailable: (BOOL)  fp12
updateFlags: (BOOL)  fp16 

- (id) headersForMessage: (id)  fp8  

- (id) headersForMessage: (id)  fp8
fetchIfNotAvailable: (BOOL)  fp12 

- (id) dataForMimePart: (id)  fp8  

Implementiert in LibraryIMAPStore.

- (id) dataForMimePart: (id)  fp8
inRange: (struct _NSRange fp12
isComplete: (char *)  fp20
downloadIfNecessary: (BOOL)  fp24
didDownload: (char *)  fp28 

Implementiert in LibraryIMAPStore und LibraryPOPStore.

- (id) dataForMimePart: (id)  fp8
inRange: (struct _NSRange fp12
isComplete: (char *)  fp20 

Implementiert in LibraryPOPStore und LibraryStore.

- (BOOL) hasCachedDataForMimePart: (id)  fp8  

- (id) uniquedString: (id)  fp8  

- (id) setFlagsFromDictionary: (id)  fp8
forMessages: (id)  fp12 

Implementiert in LibraryIMAPStore und LibraryStore.

- (id) setFlagsFromDictionary: (id)  fp8
forMessage: (id)  fp12 

- (void) setFlag: (id)  fp8
state: (BOOL)  fp12
forMessages: (id)  fp16 

- (id) willSetFlagsFromDictionary: (id)  fp8
forMessages: (id)  fp12 

Implementiert in LibraryIMAPStore.

- (void) setFlagsCancelled: (id)  fp8
forMessages: (id)  fp12 

Implementiert in LibraryIMAPStore.

- (void) startSynchronization  

Implementiert in LibraryIMAPStore.

- (void) setNumberOfAttachments: (unsigned int)  fp8
isSigned: (BOOL)  fp12
isEncrypted: (BOOL)  fp16
forMessage: (id)  fp20 

Implementiert in LibraryStore.

- (id) status  

- (int) fetchSynchronously  

Implementiert in LibraryIMAPStore und LibraryPOPStore.

- (int) fetchNewMessagesAndSynchronizeOldMessages: (BOOL)  fp8  

Implementiert in LibraryIMAPStore.

- (int) fetchMessagesReceivedBetween: (id)  fp8
and: (id)  fp12
synchronize: (BOOL)  fp16 

- (int) fetchNumMessages: (unsigned int)  fp8
preservingUID: (id)  fp12
beforeUID: (unsigned int)  fp16
synchronize: (BOOL)  fp20 

Implementiert in LibraryIMAPStore und LibraryPOPStore.

- (int) fetchNumMessages: (unsigned int)  fp8
beforeUID: (unsigned int)  fp12
synchronize: (BOOL)  fp16 

- (int) fetchMobileSynchronously: (unsigned int)  fp8
preservingUID: (id)  fp12 

- (int) fetchMobileSynchronously: (unsigned int)  fp8  

- (void) syncOlderMessages  

Implementiert in LibraryIMAPStore.

- (BOOL) setPreferredEncoding: (unsigned long)  fp8
forMessage: (id)  fp12 

Implementiert in LibraryIMAPStore und LibraryStore.

- (void) setData: (id)  fp8
forMimePart: (id)  fp12
isComplete: (BOOL)  fp16 

Implementiert in LibraryIMAPStore.

- (void) close  

Implementiert in LibraryIMAPStore.

- (void) _flushAllMessageData  

Implementiert in LibraryStore.

- (void) setLibrary: (id)  fp8  

Implementiert in LibraryStore.


Dokumentation der Datenelemente

- (unsigned int) isReadOnly

Definiert in Zeile 14 der Datei MessageStore.h.

Definiert in Zeile 15 der Datei MessageStore.h.

- (unsigned int) haveOpenLockFile

Definiert in Zeile 16 der Datei MessageStore.h.

- (unsigned int) rebuildingTOC

Definiert in Zeile 17 der Datei MessageStore.h.

- (unsigned int) compacting

Definiert in Zeile 18 der Datei MessageStore.h.

- (unsigned int) cancelInvalidation

Definiert in Zeile 19 der Datei MessageStore.h.

- (unsigned int) forceInvalidation

Definiert in Zeile 20 der Datei MessageStore.h.

- (unsigned int) isWritingChangesToDisk

Definiert in Zeile 21 der Datei MessageStore.h.

- (unsigned int) isTryingToClose

Definiert in Zeile 22 der Datei MessageStore.h.

- (unsigned int) compactOnClose

Definiert in Zeile 23 der Datei MessageStore.h.

- (unsigned int) reserved

Definiert in Zeile 24 der Datei MessageStore.h.

struct { ... } MessageStore::_flags [protected]

- (MailboxUid*) _mailboxUid [protected]

Definiert in Zeile 26 der Datei MessageStore.h.

- (MailAccount*) _account [protected]

Definiert in Zeile 27 der Datei MessageStore.h.

- (NSMutableArray*) _allMessages [protected]

Definiert in Zeile 28 der Datei MessageStore.h.

- (unsigned int) _allMessagesSize [protected]

Definiert in Zeile 29 der Datei MessageStore.h.

- (unsigned int) _deletedMessagesSize [protected]

Definiert in Zeile 30 der Datei MessageStore.h.

- (unsigned int) _deletedMessageCount [protected]

Definiert in Zeile 31 der Datei MessageStore.h.

- (unsigned int) _unreadMessageCount [protected]

Definiert in Zeile 32 der Datei MessageStore.h.

- (unsigned int) _lastFetchCount [protected]

Definiert in Zeile 33 der Datei MessageStore.h.

- (int) _state [protected]

Definiert in Zeile 34 der Datei MessageStore.h.

Definiert in Zeile 37 der Datei MessageStore.h.

Definiert in Zeile 38 der Datei MessageStore.h.

Definiert in Zeile 39 der Datei MessageStore.h.

Definiert in Zeile 40 der Datei MessageStore.h.

struct { ... } MessageStore::objectCaches [protected]

- (struct __CFDictionary*) _headerDataCache [read, protected]

Definiert in Zeile 43 der Datei MessageStore.h.

- (struct __CFDictionary*) _headerCache [read, protected]

Definiert in Zeile 44 der Datei MessageStore.h.

- (struct __CFDictionary*) _bodyDataCache [read, protected]

Definiert in Zeile 45 der Datei MessageStore.h.

- (struct __CFDictionary*) _bodyCache [read, protected]

Definiert in Zeile 46 der Datei MessageStore.h.

struct { ... } MessageStore::intKeyCaches [protected]

union { ... } MessageStore::_caches [protected]

- (NSTimer*) _timer [protected]

Definiert in Zeile 49 der Datei MessageStore.h.

- (NSMutableSet*) _uniqueStrings [protected]

Definiert in Zeile 50 der Datei MessageStore.h.

- (double) timeOfLastAutosaveOperation [protected]

Definiert in Zeile 51 der Datei MessageStore.h.

- (ActivityMonitor*) _openMonitor [protected]

Definiert in Zeile 52 der Datei MessageStore.h.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: