Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends

nsDBFolderInfo Class Reference

#include <nsDBFolderInfo.h>

Inheritance diagram for nsDBFolderInfo:
Collaboration diagram for nsDBFolderInfo:

List of all members.

Public Member Functions

 nsDBFolderInfo (nsMsgDatabase *mdb)
virtual ~nsDBFolderInfo ()
NS_DECL_ISUPPORTS
NS_DECL_NSIDBFOLDERINFO
nsresult 
AddToNewMDB ()
PRBool TestFlag (PRInt32 flags)
PRInt16 GetIMAPHierarchySeparator ()
void SetIMAPHierarchySeparator (PRInt16 hierarchyDelimiter)
void ChangeImapTotalPendingMessages (PRInt32 delta)
void ChangeImapUnreadPendingMessages (PRInt32 delta)
nsresult InitFromExistingDB ()
nsresult SetPropertyWithToken (mdb_token aProperty, const nsAString &propertyStr)
nsresult SetUint32PropertyWithToken (mdb_token aProperty, PRUint32 propertyValue)
nsresult SetInt32PropertyWithToken (mdb_token aProperty, PRInt32 propertyValue)
nsresult GetPropertyWithToken (mdb_token aProperty, nsAString &resultProperty)
nsresult GetUint32PropertyWithToken (mdb_token aProperty, PRUint32 &propertyValue, PRUint32 defaultValue=0)
nsresult GetInt32PropertyWithToken (mdb_token aProperty, PRInt32 &propertyValue, PRInt32 defaultValue=0)

Public Attributes

nsTArray< nsMsgKeym_lateredKeys

Protected Member Functions

nsresult InitMDBInfo ()
nsresult LoadMemberVariables ()
nsresult AdjustHighWater (nsMsgKey highWater, PRBool force)
void ReleaseExternalReferences ()

Protected Attributes

PRInt32 m_folderSize
PRInt32 m_expungedBytes
PRUint32 m_folderDate
nsMsgKey m_highWaterMessageKey
PRInt32 m_numUnreadMessages
PRInt32 m_numMessages
PRInt32 m_flags
PRUint16 m_version
PRInt16 m_IMAPHierarchySeparator
PRInt32 m_ImapUidValidity
PRInt32 m_totalPendingMessages
PRInt32 m_unreadPendingMessages
nsMsgKey m_expiredMark
nsMsgDatabasem_mdb
nsIMdbTablem_mdbTable
nsIMdbRowm_mdbRow
nsCString_external m_charSet
PRBool m_charSetOverride
PRBool m_mdbTokensInitialized
mdb_token m_rowScopeToken
mdb_token m_tableKindToken
mdb_token m_mailboxNameColumnToken
mdb_token m_numMessagesColumnToken
mdb_token m_numUnreadMessagesColumnToken
mdb_token m_flagsColumnToken
mdb_token m_folderSizeColumnToken
mdb_token m_expungedBytesColumnToken
mdb_token m_folderDateColumnToken
mdb_token m_highWaterMessageKeyColumnToken
mdb_token m_imapUidValidityColumnToken
mdb_token m_totalPendingMessagesColumnToken
mdb_token m_unreadPendingMessagesColumnToken
mdb_token m_expiredMarkColumnToken
mdb_token m_versionColumnToken

Friends

class nsMsgDatabase

Constructor & Destructor Documentation

nsDBFolderInfo::nsDBFolderInfo ( nsMsgDatabase mdb  ) 
virtual nsDBFolderInfo::~nsDBFolderInfo (  )  [virtual]

Member Function Documentation

NS_DECL_ISUPPORTS NS_DECL_NSIDBFOLDERINFO nsresult nsDBFolderInfo::AddToNewMDB (  ) 
nsresult nsDBFolderInfo::AdjustHighWater ( nsMsgKey  highWater,
PRBool  force 
) [protected]
void nsDBFolderInfo::ChangeImapTotalPendingMessages ( PRInt32  delta  ) 
void nsDBFolderInfo::ChangeImapUnreadPendingMessages ( PRInt32  delta  ) 
PRInt16 nsDBFolderInfo::GetIMAPHierarchySeparator (  ) 
nsresult nsDBFolderInfo::GetInt32PropertyWithToken ( mdb_token  aProperty,
PRInt32 &  propertyValue,
PRInt32  defaultValue = 0 
)
nsresult nsDBFolderInfo::GetPropertyWithToken ( mdb_token  aProperty,
nsAString resultProperty 
)
nsresult nsDBFolderInfo::GetUint32PropertyWithToken ( mdb_token  aProperty,
PRUint32 &  propertyValue,
PRUint32  defaultValue = 0 
)
nsresult nsDBFolderInfo::InitFromExistingDB (  ) 
nsresult nsDBFolderInfo::InitMDBInfo (  )  [protected]
nsresult nsDBFolderInfo::LoadMemberVariables (  )  [protected]
void nsDBFolderInfo::ReleaseExternalReferences (  )  [protected]
void nsDBFolderInfo::SetIMAPHierarchySeparator ( PRInt16  hierarchyDelimiter  ) 
nsresult nsDBFolderInfo::SetInt32PropertyWithToken ( mdb_token  aProperty,
PRInt32  propertyValue 
)
nsresult nsDBFolderInfo::SetPropertyWithToken ( mdb_token  aProperty,
const nsAString propertyStr 
)
nsresult nsDBFolderInfo::SetUint32PropertyWithToken ( mdb_token  aProperty,
PRUint32  propertyValue 
)
PRBool nsDBFolderInfo::TestFlag ( PRInt32  flags  ) 

Friends And Related Function Documentation

friend class nsMsgDatabase [friend]

Member Data Documentation

PRInt32 nsDBFolderInfo::m_expungedBytes [protected]
PRInt32 nsDBFolderInfo::m_flags [protected]
PRUint32 nsDBFolderInfo::m_folderDate [protected]
PRInt32 nsDBFolderInfo::m_folderSize [protected]
PRInt32 nsDBFolderInfo::m_ImapUidValidity [protected]
PRInt32 nsDBFolderInfo::m_numMessages [protected]
PRUint16 nsDBFolderInfo::m_version [protected]

The documentation for this class was generated from the following file: