nsIAbCard

IID:182071F5-63E2-4456-A095-DEBC0380BC86
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

PRUnichar* aimScreenName

PRUnichar* anniversaryDay

PRUnichar* anniversaryMonth

PRUnichar* anniversaryYear

PRUnichar* birthDay

PRUnichar* birthMonth

PRUnichar* birthYear

PRUnichar* cardType

PRUnichar* category

PRUnichar* cellularNumber

PRUnichar* cellularNumberType

PRUnichar* company

PRUnichar* custom1

PRUnichar* custom2

PRUnichar* custom3

PRUnichar* custom4

PRUnichar* defaultAddress

PRUnichar* defaultEmail

PRUnichar* department

PRUnichar* displayName

PRUnichar* familyName

PRUnichar* faxNumber

PRUnichar* faxNumberType

PRUnichar* firstName

PRUnichar* homeAddress

PRUnichar* homeAddress2

PRUnichar* homeCity

PRUnichar* homeCountry

PRUnichar* homePhone

PRUnichar* homePhoneType

PRUnichar* homeState

PRUnichar* homeZipCode

readonly PRBool isAnEmailAddress

readonly PRBool isANormalCard

Card type helper attributes

readonly PRBool isASpecialGroup

PRBool isMailList

PRUnichar* jobTitle

PRUint32 lastModifiedDate

PRUnichar* lastName

char* mailListURI

If isMailList is true then mailListURI will contain the URI of the associated mail list

PRUnichar* nickName

PRUnichar* notes

PRUnichar* pagerNumber

PRUnichar* pagerNumberType

PRUnichar* phoneticFirstName

PRUnichar* phoneticLastName

PRUint32 popularityIndex

PRUint32 preferMailFormat

PRUnichar* primaryEmail

PRUnichar* secondEmail

PRUnichar* spouseName

PRUnichar* webPage1

WebPage1 is work web page

PRUnichar* webPage2

WebPage2 is home web page

PRUnichar* workAddress

PRUnichar* workAddress2

PRUnichar* workCity

PRUnichar* workCountry

PRUnichar* workPhone

PRUnichar* workPhoneType

PRUnichar* workState

PRUnichar* workZipCode


Methods

char* convertToBase64EncodedXML ( ) char* convertToEscapedVCard ( ) PRUnichar* convertToXMLPrintData ( ) void copy ( nsIAbCard srcCard ) void editCardToDatabase ( char* uri ) PRBool equals ( nsIAbCard card ) PRUnichar* getCardValue ( char* name ) void setCardValue ( char* attrname , PRUnichar* value )

char* convertToBase64EncodedXML ( )


char* convertToEscapedVCard ( )


PRUnichar* convertToXMLPrintData ( )


void copy ( nsIAbCard srcCard )

Arguments:
srcCard

void editCardToDatabase ( char* uri )

Arguments:
uri

PRBool equals ( nsIAbCard card )

Arguments:
card

PRUnichar* getCardValue ( char* name )

Arguments:
name

void setCardValue ( char* attrname , PRUnichar* value )

Arguments:
attrname
value

References

This interface is passed as an argument to the following methods:

nsIAbCard.copy, nsIAbCard.equals, nsIAbDirectory.addCard, nsIAbDirectory.dropCard, nsIAbDirectory.editMailListToDatabase, nsIAbDirectory.getValueForCard, nsIAbDirectory.hasCard, nsIAbDirectory.setValueForCard, nsIAbLDAPAttributeMap.setCardPropertiesFromLDAPMessage, nsIAbMDBDirectory.addAddressToList, nsIAddrBookSession.generateNameFromCard, nsIAddrBookSession.generatePhoneticNameFromCard, nsIAddrDBAnnouncer.notifyCardEntryChange, nsIAddrDBListener.onCardEntryChange, nsIAddrDatabase.AddListCardColumnsToRow, nsIAddrDatabase.FindRowByCard, nsIAddrDatabase.InitCardFromRow, nsIAddrDatabase.containsCard, nsIAddrDatabase.createNewCardAndAddToDB, nsIAddrDatabase.createNewCardAndAddToDBWithKey, nsIAddrDatabase.createNewListCardAndAddToDB, nsIAddrDatabase.deleteCard, nsIAddrDatabase.deleteCardFromMailList, nsIAddrDatabase.editCard, nsIAddrDatabase.editMailList, nsIAddrDatabase.getCardValue, nsIAddrDatabase.setCardValue, nsIAddressBook.abCardToEscapedVCard, nsIImportFieldMap.GetFieldValue, nsIImportFieldMap.GetFieldValueByDescription

This interface is returned from the following methods:

nsIAbAddressCollecter.getCardFromAttribute, nsIAbDirectory.addCard, nsIAbView.getCardFromRow, nsIAddrDatabase.getCardFromAttribute, nsIAddressBook.escapedVCardToAbCard

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com